fix 2.30 review comments, hamburger button display, some overridden icons, and checkb...
[themes.git] / EarlyBlue / global / global.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/* ===== global.css =====================================================
6 == Styles that apply everywhere.
7 ======================================================================= */
8
9/* all localizable skin settings shall live here */
10@import url("chrome://global/locale/intl.css");
11
12@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13
14/* ::::: XBL bindings ::::: */
15
16checkbox {
17 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
18}
19
20radio {
21 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
22}
23
24menulist > menupopup {
25 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
26}
27
28/* ::::: root elements ::::: */
29
30window,
31page,
32dialog,
33wizard,
34prefwindow {
35 background-color: #CCD0DD;
36 color: #000000;
37 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
38}
39
40window.dialog {
41 padding-top: 8px;
42 padding-bottom: 10px;
43 -moz-padding-start: 8px;
44 -moz-padding-end: 10px;
45}
46
47/* ::::: alert icons :::::*/
48
49.message-icon,
50.alert-icon,
51.error-icon,
52.question-icon,
53.authentication-icon {
54 width: 32px;
55 height: 32px;
56}
57
58.message-icon {
59 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
60}
61
62.alert-icon {
63 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
64}
65
66.error-icon {
67 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
68}
69
70.question-icon,
71.authentication-icon {
72 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
73}
74
75/* ::::: iframe ::::: */
76
77iframe {
78 border: none;
79 width: 100px;
80 height: 100px;
81 min-width: 10px;
82 min-height: 10px;
83}
84
85/* ::::: statusbar ::::: */
86
87statusbar {
88 border-top: 1px solid #9999CC;
89 background-color: #666699;
90 color: #CCD0DD;
91 min-height: 16px;
92}
93
94statusbarpanel {
95 -moz-box-align: center;
96 -moz-box-pack: center;
97 padding: 0px 1px;
98}
99
100statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
101 -moz-appearance: none;
102 border-top-style: none;
103 border-bottom-style: none;
104 -moz-border-start-style: none;
105}
106
107.statusbar-resizerpanel {
108 -moz-box-align: end;
109 -moz-box-pack: end;
110 padding: 0px;
111}
112
113.statusbarpanel-iconic,
114.statusbarpanel-iconic-text,
115.statusbarpanel-menu-iconic {
116 padding: 0px 1px;
117}
118
119.toolbar-focustarget {
120 -moz-user-focus: ignore !important;
121}
122
123toolbar[mode="text"] .toolbarbutton-text {
124 /* padding: 0 !important;
125 margin: 3px 5px !important; */
126}
127
128/* ::::: miscellaneous formatting ::::: */
129
130:root:-moz-lwtheme,
131[lwthemefooter="true"] {
132 -moz-appearance: none;
133}
134
135:root:-moz-lwtheme-darktext {
136 text-shadow: 0 -0.5px 1.5px #FFFFFF;
137}
138
139:root:-moz-lwtheme-brighttext {
140 text-shadow: 1px 1px 2px #000000;
141}
142
143statusbar:-moz-lwtheme,
144sidebarheader:-moz-lwtheme {
145 -moz-appearance: none;
146 background: none;
147 border-style: none;
148}
149
150.inset {
151 border: 1px inset #CCD0DD;
152 /* margin: 0px 5px 5px; */
153}
154
155.outset {
156 border: 1px outset #CCD0DD;
157}
158
159/* separators */
160separator:not([orient="vertical"]) {
161 height: 1.5em;
162}
163
164separator[orient="vertical"] {
165 width: 1.5em;
166}
167
168separator.thin:not([orient="vertical"]) {
169 height: 0.5em;
170}
171
172separator.thin[orient="vertical"] {
173 width: 0.5em;
174}
175
176separator.groove:not([orient="vertical"]) {
177 border-top: 2px groove #CCD0DD;
178 height: 0px;
179 margin-top: 0.4em;
180 margin-bottom: 0.4em;
181}
182
183separator.groove[orient="vertical"] {
184 border-left: 2px groove #CCD0DD;
185 -moz-margin-start: 0.4em;
186 -moz-margin-end: 0.4em;
187}
188
189/* groove separators (0 padding, for dividing effects) */
190separator.groove-thin {
191 border-top: 2px groove #CCD0DD;
192 height: 0px;
193}
194
195separator[orient="vertical"].groove-thin {
196 border-left: 2px groove #CCD0DD;
197}
198
199.small-margin {
200 margin: 0px 1px;
201}
202
203.plain {
204 -moz-appearance: none;
205 margin: 0px !important;
206 border: none;
207 padding: 0px;
208}
209
210description, label {
211 cursor: default;
212 margin: 1px 3px;
213}
214
215label[disabled="true"] {
216 color: #808080;
217}
218
219description {
220/* margin-bottom: 4px; */
221}
222
223.tooltip-label {
224 margin: 0px;
225}
226
227.header {
228 font-weight: bold;
229}
230
231.monospace {
232 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
233}
234
235.indent {
236/* -moz-margin-start: 23px; */
237 -moz-margin-start: 15px;
238}
239
240.box-padded {
241 padding: 5px;
242}
243
244.spaced {
245 margin: 1px 3px;
246}
247
248.wizard-box {
249 padding: 15px 35px 10px;
250}
251
252.text-link {
253 color: blue;
254 cursor: pointer;
255}
256
257.text-link:hover {
258 text-decoration: underline;
259}
260
261.text-link:-moz-focusring {
262 /* Don't specify the outline-color, we should always use initial value. */
263 outline: 1px dotted;
264}
265
266/* :::::: autoscroll popup ::::: */
267
268.autoscroller {
269 height: 28px;
270 width: 28px;
271 border: 0px;
272 margin: -14px;
273 padding: 0px;
274 background-image: url("chrome://global/skin/icons/autoscroll.png");
275 background-color: transparent;
276 -moz-appearance: none;
277}
278
279.autoscroller[scrolldir="NS"] {
280 background-position: left center;
281}
282
283.autoscroller[scrolldir="EW"] {
284 background-position: left bottom;
285}
286
287.autoscroller[transparent="true"] {
288 background-position: center top;
289}
290
291.autoscroller[transparent="true"][scrolldir="NS"] {
292 background-position: center center;
293}
294
295.autoscroller[transparent="true"][scrolldir="EW"] {
296 background-position: center bottom;
297}
298
299.autoscroller[translucent="true"] {
300 background-position: right top;
301}
302
303.autoscroller[translucent="true"][scrolldir="NS"] {
304 background-position: right center;
305}
306
307.autoscroller[translucent="true"][scrolldir="EW"] {
308 background-position: right bottom;
309}