|
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 } |
|
20 |
|
21 .colorpicker-button-colorbox { |
|
22 border: 1px solid #000000; |
|
23 } |
|
24 |
|
25 /* ::::: colorpicker tiles ::::: */ |
|
26 |
|
27 .colorpickertile { |
|
28 width: 20px; |
|
29 height: 20px; |
|
30 margin: 1px; |
|
31 border-left: 1px solid ThreeDShadow; |
|
32 border-top: 1px solid ThreeDShadow; |
|
33 border-right: 1px solid ThreeDHighlight; |
|
34 border-bottom: 1px solid ThreeDHighlight; |
|
35 } |
|
36 |
|
37 .colorpickertile[selected="true"] { |
|
38 border: 2px outset #C0C0C0; |
|
39 } |
|
40 |
|
41 .colorpickertile[hover="true"] { |
|
42 border: 2px dotted #FFFFFF; |
|
43 } |
|
44 |
|
45 .cp-light[hover="true"] { |
|
46 border: 2px dotted #909090; |
|
47 } |