 |
1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is mozilla.org code.
15 *
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Joe Hewitt <hewitt@netscape.com>
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either of the GNU General Public License Version 2 or later (the "GPL"),
26 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
39
40 /* ::::: colors ::::: */
41
42 /* ::::: inset areas ::::: */
43
44 .inset {
45 border: 1px inset #C7D0D9;
46 margin: 0px 5px 5px 5px;
47 }
48
49 .box-inset {
50 margin: 2px 4px;
51 border: 2px solid;
52 -moz-border-top-colors: #BEC3D3 #5D616E;
53 -moz-border-right-colors: #F8FAFE #5D616E;
54 -moz-border-bottom-colors: #F8FAFE #5D616E;
55 -moz-border-left-colors: #BEC3D3 #5D616E;
56 background-color: #FFFFFF;
57 color: #000000;
58 }
59
60 /* ::::: formatting ::::: */
61
62 .groove-top {
63 border-top: 2px groove #C7D0D9;
64 }
65
66 .groove-right {
67 border-right: 2px groove #C7D0D9;
68 }
69
70 .groove-left {
71 border-left: 2px groove #C7D0D9;
72 }
73
74 .groove-bottom {
75 border-bottom: 2px groove #C7D0D9;
76 }
77
78 .outset {
79 border: 1px outset #C7D0D9;
80 }
81
82 /* ::::: separator rules ::::: */
83
84 /* ..... standard separators ..... */
85
86 separator, separator[orient="horizontal"] {
87 height: 1.5em;
88 }
89
90 separator[orient="vertical"] {
91 width: 1.5em;
92 }
93
94 /* ..... thinner separators ..... */
95
96 separator.thin, separator.thin[orient="horizontal"] {
97 height: 0.5em;
98 }
99
100 separator.thin[orient="vertical"] {
101 width: 0.5em;
102 }
103
104 /* ..... groove separators ..... */
105
106 separator.groove,
107 separator.groove[orient="horizontal"] {
108 border-top: 1px solid #7A8490;
109 border-bottom: 1px solid #FEFEFE;
110 height: 0px;
111 margin-top: 0.4em;
112 margin-bottom: 0.4em;
113 }
114
115 separator.groove[orient="vertical"] {
116 border-left: 1px solid #7A8490;
117 border-right: 1px solid #FEFEFE;
118 margin-left: 0.4em;
119 margin-right: 0.4em;
120 }
121
122 /* ..... thin groove separators ..... */
123
124 separator.groove-thin {
125 border-top: 2px groove #D7D9E0;
126 height: 0px;
127 }
128
129 separator[orient="vertical"].groove-thin {
130 border-left: 2px groove #D7D9E0;
131 }
132
133 /* ::::: text formatting rules ::::: */
134
135 /* ..... label (with margins) ..... */
136
137 /* reduced margin for some UI */
138 .small-margin {
139 margin: 1px 2px 1px 2px;
140 }
141
142 .plain {
143 margin: 0px !important;
144 border: none;
145 padding: 0px;
146 }
147
148 description, label {
149 cursor: default;
150 }
151
152 description {
153 margin: 1px 5px 4px 5px;
154 }
155
156 label {
157 margin: 1px 5px 2px 5px;
158 }
159
160 description[disabled="true"],
161 label[disabled="true"] {
162 color: #8C99AB;
163 }
164
165 .header {
166 font-weight: bold;
167 }
168
169 .monospace {
170 font-family: monospace;
171 }
172
173 .indent {
174 margin-left: 20px;
175 }
176
177 .icon-dropmarker {
178 list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
179 }
180
181 .box-padded {
182 padding: 5px;
183 }
184
185 .spaced {
186 margin: 3px 5px 4px 5px;
187 }
188
189 .wizard-box {
190 padding: 20px 44px 10px 44px;
191 }
192
193 /* class for text with a 'link' appearance */
194 .text-link {
195 color: blue;
196 text-decoration: underline;
197 }
198
199 .text-link:focus {
200 color: red;
201 /* Don't specify the outline-color, we should always use initial value. */
202 outline: 1px dotted;
203 }
204
205 .text-link:hover {
206 cursor: pointer;
207 }
208
209 .text-link:hover:active {
210 color: red;
211 }
212
213 .text-link[visited="true"] {
214 color: purple;
215 }
216