/**
* DevExtreme (widgets/common/dropDownButton.less)
* Version: 19.2.7 (build 20134-0312)
* Build date: Wed May 13 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
@import (once) "./buttonGroup.less";
@import (once) "./popup.less";
@import (once) "./list.less";

.dx-dropdownbutton {
    display: inline-block;
}

.dx-dropdownbutton-content {
    &.dx-popup-content {
        padding: 0;
    }

    & .dx-list .dx-empty-message,
    & .dx-list .dx-list-item {
        border: none;
    }
}

.dx-dropdownbutton-toggle {
    &.dx-button .dx-button-content {
        padding-left: 0;
        padding-right: 0;
    }

    .dx-rtl & {
        border-right-width: 0;
    }
}

.dx-dropdownbutton-action {
    &.dx-button .dx-button-content {
        padding-right: 10px;
        padding-left: 10px;
    }
}

.dx-dropdownbutton-action:not(.dx-buttongroup-last-item) {
    &.dx-button .dx-button-content {
        padding-left: 10px;
        padding-right: 4px;

        .dx-rtl & {
            padding-left: 4px;
            padding-right: 10px;
        }
    }

    &.dx-button {
        border-right-width: 0;
        border-left-width: 1px;

        .dx-rtl & {
            border-right-width: 1px;
            border-left-width: 0;
        }
    }
}
