1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/windows/global/colorpicker.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,48 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/* ===== colorpicker.css ================================================ 1.9 + == Styles used by the XUL colorpicker element. 1.10 + ======================================================================= */ 1.11 + 1.12 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.13 + 1.14 +/* ::::: colorpicker button ::::: */ 1.15 + 1.16 +/* colorpicker button */ 1.17 + 1.18 +colorpicker[type="button"] { 1.19 + -moz-appearance: button; 1.20 + width: 38px; 1.21 + height: 24px; 1.22 + padding: 3px; 1.23 +} 1.24 + 1.25 +.colorpicker-button-colorbox { 1.26 + border: 1px solid #000000; 1.27 +} 1.28 + 1.29 +/* ::::: colorpicker tiles ::::: */ 1.30 + 1.31 +.colorpickertile { 1.32 + width: 20px; 1.33 + height: 20px; 1.34 + margin: 1px; 1.35 + border-left: 1px solid ThreeDShadow; 1.36 + border-top: 1px solid ThreeDShadow; 1.37 + border-right: 1px solid ThreeDHighlight; 1.38 + border-bottom: 1px solid ThreeDHighlight; 1.39 +} 1.40 + 1.41 +.colorpickertile[selected="true"] { 1.42 + border: 2px outset #C0C0C0; 1.43 +} 1.44 + 1.45 +.colorpickertile[hover="true"] { 1.46 + border: 2px dotted #FFFFFF; 1.47 +} 1.48 + 1.49 +.cp-light[hover="true"] { 1.50 + border: 2px dotted #909090; 1.51 +}