colorpicker.css (1185B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 /* ===== colorpicker.css ================================================ 6 == Styles used by the XUL colorpicker element. 7 ======================================================================= */ 8 9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 10 11 /* ::::: colorpicker button ::::: */ 12 13 /* colorpicker button */ 14 15 colorpicker[type="button"] { 16 -moz-appearance: button; 17 width: 38px; 18 height: 24px; 19 padding: 3px; 20 } 21 22 .colorpicker-button-colorbox { 23 border: 1px solid #000000; 24 } 25 26 /* ::::: colorpicker tiles ::::: */ 27 28 .colorpickertile { 29 width: 20px; 30 height: 20px; 31 margin: 1px; 32 border-left: 1px solid ThreeDShadow; 33 border-top: 1px solid ThreeDShadow; 34 border-right: 1px solid ThreeDHighlight; 35 border-bottom: 1px solid ThreeDHighlight; 36 } 37 38 .colorpickertile[selected="true"] { 39 border: 2px outset #C0C0C0; 40 } 41 42 .colorpickertile[hover="true"] { 43 border: 2px dotted #FFFFFF; 44 } 45 46 .cp-light[hover="true"] { 47 border: 2px dotted #909090; 48 }