Commit | Line | Data |
---|---|---|
9099c61d RK |
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/. */ | |
128000f4 | 4 | |
74d14f90 | 5 | /* ===== colorpicker.css ================================================ |
6 | == Styles used by the XUL colorpicker element. | |
7 | ======================================================================= */ | |
f6e0a33f | 8 | |
df8c26c4 RK |
9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
10 | ||
74d14f90 | 11 | /* ::::: colorpicker button ::::: */ |
f6e0a33f | 12 | |
13 | /* colorpicker button */ | |
14 | ||
15 | colorpicker[type="button"] { | |
74d14f90 | 16 | width: 34px; |
f6e0a33f | 17 | height: 20px; |
18 | border: 1px outset #CCD0DD; | |
74d14f90 | 19 | background-color: #CCD0DD; |
f6e0a33f | 20 | padding: 3px; |
21 | } | |
22 | ||
23 | .colorpicker-button-colorbox { | |
24 | border: 1px solid #000000; | |
25 | } | |
26 | ||
27 | colorpicker[type="button"]:focus { | |
74d14f90 | 28 | } |
df8c26c4 | 29 | |
74d14f90 | 30 | colorpicker[type="button"][open="true"] { |
31 | border: 1px inset #CCD0DD; | |
32 | } | |
f6e0a33f | 33 | |
74d14f90 | 34 | /* ::::: colorpicker tiles ::::: */ |
f6e0a33f | 35 | |
74d14f90 | 36 | .colorpickertile { |
f993773d RK |
37 | width: 20px; |
38 | height: 20px; | |
39 | margin: 1px; | |
40 | border: 1px inset #CCD0DD; | |
f6e0a33f | 41 | } |
42 | ||
74d14f90 | 43 | .colorpickertile[selected="true"] { |
f993773d | 44 | border: 1px solid #000000; |
f6e0a33f | 45 | } |
46 | ||
74d14f90 | 47 | .colorpickertile[hover="true"] { |
f993773d | 48 | border: 1px solid #FFFFFF; |
74d14f90 | 49 | } |
50 | ||
51 | .cp-light[hover="true"] { | |
f993773d | 52 | border: 2px dotted #9999CC; |
f6e0a33f | 53 | } |