2
* The contents of this file are subject to the Netscape Public
3
* License Version 1.1 (the "License"); you may not use this file
4
* except in compliance with the License. You may obtain a copy of
5
* the License at http://www.mozilla.org/NPL/
7
* Software distributed under the License is distributed on an "AS
8
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
* implied. See the License for the specific language governing
10
* rights and limitations under the License.
12
* The Original Code is Mozilla Communicator client code, released
15
* The Initial Developer of the Original Code is Netscape
16
* Communications Corporation. Portions created by Netscape are
17
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
24
/* ===== colorpicker.css ================================================
25
== Styles used by the XUL colorpicker element.
26
======================================================================= */
28
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
30
/* ::::: colorpicker button ::::: */
32
/* colorpicker button */
34
colorpicker[type="button"] {
38
-moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
39
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
40
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
41
-moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
42
background-color: ThreeDFace;
46
.colorpicker-button-colorbox {
47
border: 1px solid #000000;
50
colorpicker[type="button"]:focus {
51
-moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight;
52
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
53
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
54
-moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight;
57
colorpicker[type="button"][open="true"] {
58
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
59
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
60
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
61
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
64
/* ::::: colorpicker tiles ::::: */
70
border-left : 1px solid ThreeDShadow;
71
border-top : 1px solid ThreeDShadow;
72
border-right : 1px solid ThreeDHighlight;
73
border-bottom : 1px solid ThreeDHighlight;
76
.colorpickertile[selected="true"] {
77
border : 2px outset #C0C0C0;
81
.colorpickertile[hover="true"] {
82
border : 2px dotted #FFFFFF;
85
.cp-light[hover="true"] {
86
border : 2px dotted #909090;