Commit | Line | Data |
---|---|---|
128000f4 | 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 "Classic" theme of mozilla.org code. | |
15 | * | |
16 | * The Initial Developer of the Original Code is | |
17 | * the Mozilla Organization. | |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-2001 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Robert Kaiser <KaiRo@KaiRo.at> | |
23 | * | |
24 | * Alternatively, the contents of this file may be used under the terms of | |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
26 | * 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 | ||
f6e0a33f | 40 | /* inset areas */ |
df8c26c4 | 41 | |
d36c7ec4 | 42 | .inset { |
43 | border: 1px inset #CCD0DD; | |
44 | margin: 0px 5px 5px 5px; | |
45 | } | |
e1597424 | 46 | |
47 | .box-inset { | |
48 | margin: 2px 4px; | |
49 | border: 1px inset #CCD0DD; | |
50 | background-color: #FFFFFF; | |
51 | color: #000000; | |
52 | } | |
53 | ||
f6e0a33f | 54 | /* formatting */ |
d36c7ec4 | 55 | .groove-top { |
df8c26c4 | 56 | border-top: 2px groove #CCD0DD; |
d36c7ec4 | 57 | } |
df8c26c4 | 58 | |
d36c7ec4 | 59 | .groove-right { |
60 | border-right: 2px groove #CCD0DD; | |
61 | } | |
df8c26c4 | 62 | |
d36c7ec4 | 63 | .groove-left { |
64 | border-left: 2px groove #CCD0DD; | |
65 | } | |
df8c26c4 | 66 | |
d36c7ec4 | 67 | .groove-bottom { |
68 | border-bottom: 2px groove #CCD0DD; | |
69 | } | |
df8c26c4 | 70 | |
d36c7ec4 | 71 | .outset { |
72 | border: 1px outset #CCD0DD; | |
df8c26c4 RK |
73 | } |
74 | ||
75 | .outset-top-bottom { | |
76 | border-top: 1px outset #CCD0DD; | |
77 | border-bottom: 1px outset #CCD0DD; | |
78 | } | |
f6e0a33f | 79 | |
f6e0a33f | 80 | /** separator rules **/ |
81 | /* standard separators */ | |
d36c7ec4 | 82 | separator, separator[orient="horizontal"] { |
83 | height: 1.5em; | |
84 | } | |
df8c26c4 | 85 | |
d36c7ec4 | 86 | separator[orient="vertical"] { |
87 | width: 1.5em; | |
88 | } | |
f6e0a33f | 89 | |
90 | /* thinner separators (50% size) */ | |
d36c7ec4 | 91 | separator.thin, separator.thin[orient="horizontal"] { |
92 | height: 0.5em; | |
93 | } | |
df8c26c4 | 94 | |
d36c7ec4 | 95 | separator.thin[orient="vertical"] { |
96 | width: 0.5em; | |
97 | } | |
f6e0a33f | 98 | |
99 | /* groove separators (50% size) */ | |
d36c7ec4 | 100 | separator.groove, |
101 | separator.groove[orient="horizontal"] { | |
102 | border-top: 2px groove #CCD0DD; | |
103 | height: 0px; | |
104 | margin-top: 0.4em; | |
105 | margin-bottom: 0.4em; | |
106 | } | |
df8c26c4 | 107 | |
d36c7ec4 | 108 | separator.groove[orient="vertical"] { |
109 | border-left: 2px groove #CCD0DD; | |
110 | margin-left: 0.4em; | |
111 | margin-right: 0.4em; | |
112 | } | |
df8c26c4 RK |
113 | |
114 | /* groove separators (0 padding, for dividing effects) */ | |
d36c7ec4 | 115 | separator.groove-thin { |
116 | border-top: 2px groove #CCD0DD; | |
117 | height: 0px; | |
118 | } | |
df8c26c4 | 119 | |
d36c7ec4 | 120 | separator[orient="vertical"].groove-thin { |
121 | border-left: 2px groove #CCCCCC; | |
122 | } | |
f6e0a33f | 123 | |
124 | /** text formatting rules **/ | |
f6e0a33f | 125 | /** Reduced Margin for some UI **/ |
d36c7ec4 | 126 | .small-margin { |
127 | margin: 0px 1px; | |
128 | } | |
df8c26c4 RK |
129 | |
130 | .plain { | |
131 | margin: 0px !important; | |
132 | border: none; | |
133 | padding: 0px; | |
134 | } | |
135 | ||
d36c7ec4 | 136 | label[disabled="true"] { |
137 | color: #9999CC; | |
df8c26c4 | 138 | } |
d36c7ec4 | 139 | |
140 | description, label { | |
141 | cursor: default; | |
142 | margin: 1px 3px; | |
143 | } | |
df8c26c4 | 144 | |
d36c7ec4 | 145 | description { |
146 | /* margin: 1px 5px 4px 5px; */ | |
147 | } | |
f6e0a33f | 148 | |
d36c7ec4 | 149 | label { |
df8c26c4 RK |
150 | /* |
151 | margin-top: 1px; | |
152 | margin-bottom: 2px; | |
153 | -moz-margin-start: 6px; | |
154 | -moz-margin-end: 5px; | |
155 | */ | |
d36c7ec4 | 156 | } |
f6e0a33f | 157 | |
d36c7ec4 | 158 | .header { |
159 | font-weight: bold; | |
160 | } | |
f6e0a33f | 161 | |
d36c7ec4 | 162 | .larger-text { |
163 | font-size: larger; | |
164 | } | |
f6e0a33f | 165 | |
d36c7ec4 | 166 | .smaller-text { |
167 | font-size: smaller; | |
168 | } | |
df8c26c4 | 169 | |
d36c7ec4 | 170 | .monospace { |
171 | font-family: monospace; | |
172 | } | |
df8c26c4 | 173 | |
d36c7ec4 | 174 | .indent { |
175 | /* margin-left: 23px; */ | |
176 | margin-left: 15px; | |
177 | } | |
178 | ||
179 | .box-padded { | |
180 | padding: 5px; | |
df8c26c4 | 181 | } |
d36c7ec4 | 182 | |
183 | .spaced { | |
184 | margin: 1px 3px; | |
df8c26c4 | 185 | } |
d36c7ec4 | 186 | |
187 | .wizard-box { | |
188 | padding: 15px 35px 10px 35px; | |
df8c26c4 | 189 | } |
d36c7ec4 | 190 | |
191 | .caption-text { | |
192 | margin: 0px 2px 0px 1px !important; | |
193 | } | |
1d4ddf30 | 194 | |
195 | /* class for text with a 'link' appearance */ | |
196 | .text-link { | |
197 | color: blue; | |
198 | text-decoration: underline; | |
199 | } | |
200 | ||
201 | .text-link:focus { | |
202 | color: red; | |
6fa8522a RK |
203 | /* Don't specify the outline-color, we should always use initial value. */ |
204 | outline: 1px dotted; | |
1d4ddf30 | 205 | } |
206 | ||
207 | .text-link:hover { | |
208 | cursor: pointer; | |
209 | } | |
210 | ||
211 | .text-link:hover:active { | |
212 | color: red; | |
213 | } | |
214 | ||
215 | .text-link[visited="true"] { | |
216 | color: purple; | |
217 | } |