/**
* DevExtreme (widgets/ios7/colorBox.ios7.less)
* Version: 19.2.5 (build 19359-1956)
* Build date: Wed Dec 25 2019
*
* Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
@import (once) "./colorView.ios7.less";
@import (once) "./dropDownEditor.ios7.less";

.dx-colorbox {
    .dx-placeholder {
        left: 31px;
    }
}

.dx-colorbox-input-container {
    &.dx-colorbox-color-is-not-defined {
        .dx-colorbox-color-result-preview {
            background: @IOS7_COLORBOX_NOCOLOR_IMG no-repeat 0 0;
        }
    }
}

.dx-colorbox-color-result-preview {
    border-color: @IOS7_COLOR_VIEW_OVERLAY_BORDER_COLOR;
}

.dx-colorbox-overlay {
    border-radius: 0.5em;
    box-shadow: @IOS7_AUTOCOMPLETE_SHADOW;
    background-color: @IOS7_COLOR_VIEW_OVERLAY_BACKGROUND_COLOR;

    .dx-popup-content {
        margin: 0;
    }

    .dx-toolbar {
        background-color: transparent;

        .dx-toolbar-before,
        .dx-toolbar-after,
        .dx-toolbar-center {
            background-color: transparent;
        }
    }

    .dx-popup-bottom {
        margin: 0;
        padding-top: 20px;
        height: 48px;
        width: 100%;
        margin-bottom: 0;

        .dx-toolbar-item {
            padding: 0;
        }

        .dx-colorview-buttons-container {
            height: 28px;

            .dx-button {
                min-width: 90px;
            }
        }
    }
}

.dx-rtl {
    &.dx-colorbox,
    .dx-colorbox {
        .dx-placeholder {
            right: 31px;
        }
    }

    .dx-colorbox-overlay {
        .dx-toolbar-item:first-child {
            padding-left: 10px;
            padding-right: 0;
        }
    }
}
