michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* ===== colorpicker.css ================================================ michael@0: == Styles used by the XUL colorpicker element. michael@0: ======================================================================= */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: /* ::::: colorpicker button ::::: */ michael@0: michael@0: /* colorpicker button */ michael@0: michael@0: colorpicker[type="button"] { michael@0: -moz-appearance: button; michael@0: width: 38px; michael@0: height: 24px; michael@0: } michael@0: michael@0: .colorpicker-button-colorbox { michael@0: border: 1px solid #000000; michael@0: } michael@0: michael@0: /* ::::: colorpicker tiles ::::: */ michael@0: michael@0: .colorpickertile { michael@0: width: 20px; michael@0: height: 20px; michael@0: margin: 1px; michael@0: border-left: 1px solid ThreeDShadow; michael@0: border-top: 1px solid ThreeDShadow; michael@0: border-right: 1px solid ThreeDHighlight; michael@0: border-bottom: 1px solid ThreeDHighlight; michael@0: } michael@0: michael@0: .colorpickertile[selected="true"] { michael@0: border: 2px outset #C0C0C0; michael@0: } michael@0: michael@0: .colorpickertile[hover="true"] { michael@0: border: 2px dotted #FFFFFF; michael@0: } michael@0: michael@0: .cp-light[hover="true"] { michael@0: border: 2px dotted #909090; michael@0: }