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/. */ | |
351107c9 | 4 | |
b1eaa419 | 5 | /* ===== colorpicker.css ================================================ |
6 | == Styles used by the XUL colorpicker element. | |
7 | ======================================================================= */ | |
351107c9 | 8 | |
c79d2bbe RK |
9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
10 | ||
b1eaa419 | 11 | /* ::::: colorpicker button ::::: */ |
351107c9 | 12 | |
13 | colorpicker[type="button"] { | |
b1eaa419 | 14 | width: 34px; |
351107c9 | 15 | height: 20px; |
569543b3 | 16 | border-radius: 3px; |
351107c9 | 17 | border: 1px solid #9C9CFF; |
351107c9 | 18 | padding: 3px; |
19 | } | |
20 | ||
21 | .colorpicker-button-colorbox { | |
22 | border: 1px solid #FF9F00; | |
23 | } | |
24 | ||
25 | colorpicker[type="button"]:focus { | |
351107c9 | 26 | } |
27 | ||
28 | colorpicker[type="button"][open="true"] { | |
29 | border: 1px solid #FFCF00; | |
30 | } | |
31 | ||
32 | colorpicker[type="button"][open="true"] > .colorpicker-button-internal-box { | |
33 | } | |
b1eaa419 | 34 | |
35 | /* ::::: colorpicker tiles ::::: */ | |
36 | ||
37 | .colorpickertile { | |
38 | width: 20px; | |
39 | height: 20px; | |
40 | margin: 1px; | |
569543b3 | 41 | border-radius: 3px; |
b1eaa419 | 42 | border : 1px solid #9C9CFF; |
43 | } | |
44 | ||
45 | .colorpickertile[selected="true"] { | |
46 | border: 1px solid #008484; | |
47 | } | |
48 | ||
49 | .colorpickertile[hover="true"] { | |
50 | border: 1px solid #FFCF00; | |
51 | } | |
52 | ||
53 | .cp-light[hover="true"] { | |
54 | border: 2px dotted #FF9F00; | |
55 | } |