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