/**
* DevExtreme (widgets/generic/popover.generic.less)
* Version: 20.1.10
* Build date: Fri Jan 15 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
@import (once) "./popup.generic.less";

@GENERIC_POPOVER_TOOLBAR_PADDING: 15px;

.dx-popover-wrapper {
    &.dx-position-bottom .dx-popover-arrow:after {
        background: @popover-arrow-bg;
    }

    .dx-popup-title {
        margin: 0;

        &.dx-toolbar {
            padding-left: @GENERIC_POPOVER_TOOLBAR_PADDING;
        }
    }

    .dx-popover-arrow:after,
    &.dx-popover-without-title .dx-popover-arrow:after {
        background: @overlay-content-bg;
    }
}

.dx-popover-arrow:after {
    border: 1px solid @texteditor-border-color;
}

.dx-popover-wrapper { // stylelint-disable-line no-duplicate-selectors
    .dx-rtl.dx-popup-title {
        &.dx-toolbar {
            padding-right: @GENERIC_POPOVER_TOOLBAR_PADDING;
            padding-left: 0;
        }
    }
}
