// ColorButton .@{prefix}-colorbutton .@{prefix}-ico { position: relative; } .@{prefix}-colorbutton-grid { margin: 4px; } .@{prefix}-colorbutton button { padding-right: 4px; } .@{prefix}-colorbutton .@{prefix}-preview { padding-right: 3px; display: block; position: absolute; left: 50%; top: 50%; margin-left: -14px; margin-top: 7px; background: gray; width: 13px; height: 2px; overflow: hidden; } .@{prefix}-colorbutton.@{prefix}-btn-small .@{prefix}-preview { margin-left: -16px; padding-right: 0; width: 16px; } .@{prefix}-colorbutton .@{prefix}-open { padding-left: 4px; border-left: 1px solid transparent; border-right: 1px solid transparent; } .@{prefix}-colorbutton:hover .@{prefix}-open { border-left-color: @btn-split-border; border-right-color: @btn-split-border; } .@{prefix}-colorbutton.@{prefix}-btn-small .@{prefix}-open { padding: 0 3px 0 3px; } // RTL .@{prefix}-rtl .@{prefix}-colorbutton { direction: rtl; } .@{prefix}-rtl .@{prefix}-colorbutton .@{prefix}-preview { margin-left: 0; padding-right: 0; padding-left: 4px; margin-right: -14px; } .@{prefix}-rtl .@{prefix}-colorbutton.@{prefix}-btn-small .@{prefix}-preview { margin-left: 0; padding-right: 0; margin-right: -17px; padding-left: 0; } .@{prefix}-rtl .@{prefix}-colorbutton button { padding-right: 10px; padding-left: 10px; } .@{prefix}-rtl .@{prefix}-colorbutton .@{prefix}-open { padding-left: 4px; padding-right: 4px; }