relicense to MPL2
[themes.git] / LCARStrek / global / colorpicker.css
... / ...
CommitLineData
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
13colorpicker[type="button"] {
14 width: 34px;
15 height: 20px;
16 border-radius: 3px;
17 border: 1px solid #9C9CFF;
18 padding: 3px;
19}
20
21.colorpicker-button-colorbox {
22 border: 1px solid #FF9F00;
23}
24
25colorpicker[type="button"]:focus {
26}
27
28colorpicker[type="button"][open="true"] {
29 border: 1px solid #FFCF00;
30}
31
32colorpicker[type="button"][open="true"] > .colorpicker-button-internal-box {
33}
34
35/* ::::: colorpicker tiles ::::: */
36
37.colorpickertile {
38 width: 20px;
39 height: 20px;
40 margin: 1px;
41 border-radius: 3px;
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}