Commit | Line | Data |
---|---|---|
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/. */ | |
acb0e9b8 | 4 | |
5 | @import url("chrome://global/skin/"); | |
6 | ||
7 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
319c6529 RK |
8 | @namespace html url("http://www.w3.org/1999/xhtml"); |
9 | ||
10 | toolbar { | |
11 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); | |
12 | } | |
acb0e9b8 | 13 | |
41279e76 RK |
14 | toolbar[type="menubar"][autohide="true"] { |
15 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); | |
16 | } | |
17 | ||
acb0e9b8 | 18 | menubar { |
319c6529 | 19 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
acb0e9b8 | 20 | } |
21 | ||
319c6529 RK |
22 | #menubar-items { |
23 | -moz-box-orient: vertical; /* for flex hack */ | |
acb0e9b8 | 24 | } |
25 | ||
319c6529 RK |
26 | #main-menubar { |
27 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ | |
28 | } | |
29 | ||
63ada306 RK |
30 | /* ::::: primary toolbar ::::: */ |
31 | ||
32 | .toolbar-primary > .toolbar-box > .toolbar-holder { | |
270cbf0c | 33 | background-color: #A09090; |
63ada306 RK |
34 | } |
35 | ||
36 | .toolbar-primary > .toolbar-box > .toolbar-startcap, | |
37 | .toolbar-primary > .toolbar-box > .toolbar-endcap { | |
38 | background-color: #9C9CFF; | |
39 | } | |
40 | ||
41 | ||
319c6529 RK |
42 | #navigator-toolbox { |
43 | } | |
44 | ||
9abeb12c RK |
45 | #navigator-toolbox::after { |
46 | content: ""; | |
47 | display: -moz-box; | |
48 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ | |
49 | height: 1px; | |
50 | } | |
51 | #navigator-toolbox[tabsontop=false]::after, | |
52 | #main-window[disablechrome] #navigator-toolbox::after { | |
53 | visibility: collapse; | |
54 | } | |
55 | ||
319c6529 RK |
56 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
57 | } | |
58 | ||
d54f5b23 | 59 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) { |
319c6529 RK |
60 | /* like menubar */ |
61 | background-color: #6000CF; | |
62 | color: #FF9F00; | |
63 | } | |
d54f5b23 | 64 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { |
319c6529 RK |
65 | background-color: #8050B0; |
66 | color: #FF9F00; | |
67 | } | |
2caba1a9 RK |
68 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab { |
69 | padding-top: 3px; | |
70 | } | |
319c6529 RK |
71 | |
72 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { | |
73 | visibility: hidden; | |
74 | } | |
75 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { | |
76 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); | |
77 | visibility: visible; | |
78 | } | |
79 | ||
676f0091 RK |
80 | #nav-bar[tabsontop="true"], |
81 | #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar, | |
82 | #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar { | |
0142a07b | 83 | /* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ |
319c6529 RK |
84 | } |
85 | ||
319c6529 | 86 | #personal-bookmarks { |
38cfeb47 | 87 | /* min-height: 24px; */ |
319c6529 RK |
88 | } |
89 | ||
90 | #print-preview-toolbar:not(:-moz-lwtheme) { | |
91 | /* -moz-appearance: toolbox; */ | |
acb0e9b8 | 92 | } |
93 | ||
319c6529 RK |
94 | /* ::::: app menu button ::::: */ |
95 | ||
96 | #appmenu-button { | |
acb0e9b8 | 97 | background-color: #FF9F00; |
319c6529 RK |
98 | background-clip: padding-box; |
99 | border-radius: 0; | |
100 | border: none; | |
319c6529 RK |
101 | border-right: 3px solid #000000; |
102 | color: #000000; | |
103 | font-weight: bold; | |
5305ef8d RK |
104 | padding: 1px 1.5em; |
105 | margin: 0; | |
106 | } | |
107 | ||
108 | #appmenu-button:-moz-locale-dir(rtl) { | |
109 | border-left: 3px solid #000000; | |
110 | border-right: none; | |
acb0e9b8 | 111 | } |
112 | ||
319c6529 RK |
113 | #main-window[privatebrowsingmode=temporary] #appmenu-button { |
114 | background-color: #6000CF; | |
115 | color: #FFCF00; | |
116 | } | |
117 | ||
b36fc72e RK |
118 | #appmenu-button:hover:not(:active):not([open]) { |
119 | } | |
120 | ||
121 | #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) { | |
122 | } | |
123 | ||
319c6529 RK |
124 | #appmenu-button:hover, |
125 | #appmenu-button:hover:active, | |
126 | #appmenu-button[open] { | |
127 | background-color: #FFCF00; | |
128 | color: #000000; | |
129 | } | |
130 | ||
131 | #appmenu-button > .button-box > .button-menu-dropmarker { | |
db6435b4 | 132 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
319c6529 RK |
133 | width: auto; |
134 | height: auto; | |
135 | padding: 0; | |
136 | margin: 0; | |
5305ef8d RK |
137 | border: none; |
138 | background-color: transparent; | |
319c6529 RK |
139 | -moz-margin-start: .5em; |
140 | } | |
141 | ||
db6435b4 RK |
142 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker { |
143 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
144 | } | |
145 | ||
38cfeb47 RK |
146 | #appmenuPrimaryPane > menuitem, |
147 | #appmenuSecondaryPane > menuitem, | |
148 | #appmenuPrimaryPane > menu { | |
149 | padding: 2px; | |
150 | } | |
151 | ||
d54f5b23 | 152 | .splitmenu-menuitem { |
38cfeb47 RK |
153 | -moz-padding-start: 2px; |
154 | padding-top: 2px; | |
155 | padding-bottom: 2px; | |
d54f5b23 RK |
156 | -moz-margin-end: 1px; |
157 | } | |
158 | ||
ab799a7a | 159 | .splitmenu-menu { |
38cfeb47 RK |
160 | padding-top: 2px; |
161 | padding-bottom: 2px; | |
319c6529 RK |
162 | -moz-box-pack: end; |
163 | } | |
164 | ||
165 | .appmenu-edit-button { | |
166 | } | |
167 | ||
168 | .appmenu-edit-button[disabled="true"] { | |
169 | } | |
170 | ||
171 | #appmenuPrimaryPane { | |
172 | -moz-border-end: 1px solid #9C9CFF; | |
173 | } | |
174 | /* | |
175 | #appmenu-popup { | |
176 | } | |
177 | #appmenuPrimaryPane { | |
178 | } | |
179 | #appmenuSecondaryPane { | |
180 | } | |
181 | #appmenuSecondaryPane:-moz-locale-dir(rtl) { | |
182 | } | |
183 | ||
184 | #appmenuSecondaryPane menupopup { | |
185 | } | |
186 | ||
187 | .appmenu-menuseparator { | |
188 | } | |
189 | ||
190 | .appmenu-edit-button:not([disabled]):hover { | |
191 | } | |
192 | */ | |
193 | #appmenuSecondaryPane-spacer { | |
194 | min-height: 1em; | |
195 | } | |
196 | ||
9abeb12c RK |
197 | #appmenu-editmenu { |
198 | -moz-box-pack: end; | |
199 | } | |
200 | ||
319c6529 RK |
201 | #appmenu_print, |
202 | #appmenu_print_popup, | |
203 | .appmenu-edit-button, | |
9abeb12c RK |
204 | #appmenu-editmenu-cut, |
205 | #appmenu-editmenu-copy, | |
206 | #appmenu-editmenu-paste, | |
319c6529 RK |
207 | #appmenu-quit { |
208 | list-style-image: url("appmenu-icons.png"); | |
209 | } | |
210 | ||
9abeb12c RK |
211 | #appmenu-cut, |
212 | #appmenu-editmenu-cut { | |
319c6529 | 213 | -moz-image-region: rect(0 16px 16px 0); |
acb0e9b8 | 214 | } |
215 | ||
143c5409 RK |
216 | #appmenu-cut:hover:not([disabled="true"]), |
217 | #appmenu-editmenu-cut:hover:not([disabled="true"]) { | |
218 | -moz-image-region: rect(16px 16px 32px 0); | |
219 | } | |
220 | ||
221 | #appmenu-cut[disabled="true"], | |
222 | #appmenu-editmenu-cut[disabled="true"] { | |
223 | -moz-image-region: rect(32px 16px 48px 0); | |
224 | } | |
225 | ||
9abeb12c RK |
226 | #appmenu-copy, |
227 | #appmenu-editmenu-copy { | |
319c6529 RK |
228 | -moz-image-region: rect(0 32px 16px 16px); |
229 | } | |
230 | ||
143c5409 RK |
231 | #appmenu-copy:hover:not([disabled="true"]), |
232 | #appmenu-editmenu-copy:hover:not([disabled="true"]) { | |
233 | -moz-image-region: rect(16px 32px 32px 16px); | |
234 | } | |
235 | ||
236 | #appmenu-copy[disabled="true"], | |
237 | #appmenu-editmenu-copy[disabled="true"] { | |
238 | -moz-image-region: rect(32px 32px 48px 16px); | |
239 | } | |
240 | ||
9abeb12c RK |
241 | #appmenu-paste, |
242 | #appmenu-editmenu-paste { | |
319c6529 RK |
243 | -moz-image-region: rect(0 48px 16px 32px); |
244 | } | |
245 | ||
143c5409 RK |
246 | #appmenu-paste:hover:not([disabled="true"]), |
247 | #appmenu-editmenu-paste:hover:not([disabled="true"]) { | |
248 | -moz-image-region: rect(16px 48px 32px 32px); | |
249 | } | |
250 | ||
251 | #appmenu-paste[disabled="true"], | |
252 | #appmenu-editmenu-paste[disabled="true"] { | |
253 | -moz-image-region: rect(32px 48px 48px 32px); | |
254 | } | |
255 | ||
319c6529 RK |
256 | #appmenu_print, |
257 | #appmenu_print_popup { | |
258 | -moz-image-region: rect(0 64px 16px 48px); | |
259 | } | |
260 | ||
143c5409 RK |
261 | #appmenu_print:hover:not([disabled="true"]), |
262 | #appmenu_print[open="true"], | |
263 | #appmenu_print_popup:hover:not([disabled="true"]) { | |
264 | -moz-image-region: rect(16px 64px 32px 48px); | |
265 | } | |
266 | ||
267 | #appmenu-print[disabled="true"], | |
268 | #appmenu_print_popup[disabled="true"] { | |
269 | -moz-image-region: rect(32px 64px 48px 48px); | |
270 | } | |
271 | ||
319c6529 RK |
272 | #appmenu-quit { |
273 | -moz-image-region: rect(0 80px 16px 64px); | |
274 | } | |
275 | ||
143c5409 RK |
276 | #appmenu-quit:hover { |
277 | -moz-image-region: rect(16px 80px 32px 64px); | |
278 | } | |
279 | ||
319c6529 RK |
280 | #appmenu-edit-label { |
281 | -moz-appearance: none; | |
282 | background: transparent; | |
283 | font-style: italic; | |
284 | } | |
285 | ||
286 | #appmenu_bookmarks { | |
287 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
288 | -moz-image-region: rect(0px 48px 16px 32px); | |
289 | } | |
290 | ||
0142a07b RK |
291 | #appmenu_privateBrowsing, |
292 | #appmenu_newPrivateWindow { | |
319c6529 RK |
293 | list-style-image: url("chrome://browser/skin/Privacy-16.png"); |
294 | } | |
295 | ||
82b4252f RK |
296 | @media (min-resolution: 1.25dppx) { |
297 | #appmenu_privateBrowsing, | |
298 | #appmenu_newPrivateWindow { | |
299 | list-style-image: url("chrome://browser/skin/Privacy-32.png"); | |
300 | } | |
301 | } | |
302 | ||
319c6529 RK |
303 | #appmenu_addons { |
304 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
305 | } | |
306 | ||
82b4252f RK |
307 | @media (min-resolution: 1.25dppx) { |
308 | #appmenu_addons { | |
309 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); | |
310 | } | |
311 | } | |
312 | ||
319c6529 RK |
313 | #BMB_bookmarkThisPage, |
314 | #appmenu_bookmarkThisPage { | |
315 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
316 | -moz-image-region: rect(0 16px 16px 0); | |
317 | } | |
318 | ||
319 | /* ::::: titlebar ::::: */ | |
320 | ||
5305ef8d RK |
321 | #titlebar { |
322 | /* like menubar */ | |
323 | background-color: #6000CF; | |
324 | color: #FF9F00; | |
325 | } | |
326 | #titlebar:-moz-window-inactive { | |
327 | background-color: #8050B0; | |
328 | color: #FF9F00; | |
329 | } | |
330 | ||
319c6529 | 331 | #main-window[sizemode="normal"] > #titlebar { |
5305ef8d RK |
332 | margin-top: -3px; |
333 | margin-bottom: 3px; | |
319c6529 RK |
334 | } |
335 | ||
336 | #main-window[sizemode="maximized"] > #titlebar { | |
5305ef8d | 337 | margin-top: 4px; |
319c6529 RK |
338 | } |
339 | ||
340 | #titlebar-buttonbox { | |
5305ef8d RK |
341 | margin-top: 5px; |
342 | -moz-margin-end: 3px; | |
319c6529 RK |
343 | } |
344 | ||
345 | #main-window[sizemode="maximized"] #titlebar-buttonbox { | |
346 | } | |
347 | ||
348 | .titlebar-placeholder[type="appmenu-button"] { | |
349 | margin-left: 4px; | |
350 | } | |
351 | ||
352 | .titlebar-placeholder[type="caption-buttons"] { | |
353 | margin-left: 10px; | |
354 | } | |
355 | ||
356 | /* titlebar command buttons */ | |
357 | ||
358 | #titlebar-min { | |
5305ef8d RK |
359 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
360 | } | |
361 | ||
362 | #titlebar-min:hover { | |
363 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
319c6529 RK |
364 | } |
365 | ||
366 | #titlebar-max { | |
5305ef8d RK |
367 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
368 | } | |
369 | ||
370 | #titlebar-max:hover { | |
371 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); | |
319c6529 RK |
372 | } |
373 | ||
374 | #main-window[sizemode="maximized"] #titlebar-max { | |
5305ef8d RK |
375 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
376 | } | |
377 | ||
378 | #main-window[sizemode="maximized"] #titlebar-max:hover { | |
379 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
319c6529 RK |
380 | } |
381 | ||
382 | #titlebar-close { | |
5305ef8d RK |
383 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
384 | } | |
385 | ||
386 | #titlebar-close:hover { | |
387 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
acb0e9b8 | 388 | } |
389 | ||
390 | /* ::::: bookmark buttons ::::: */ | |
391 | ||
fb1aad97 RK |
392 | /*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */ |
393 | .bookmark-item > .toolbarbutton-icon { | |
acb0e9b8 | 394 | width: 16px; |
395 | height: 16px; | |
396 | } | |
397 | ||
398 | /* Prevent [mode="icons"] from hiding the label */ | |
399 | .bookmark-item > .toolbarbutton-text { | |
400 | display: -moz-box !important; | |
401 | } | |
402 | ||
319c6529 RK |
403 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
404 | display: none; | |
405 | } | |
406 | ||
407 | #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { | |
c5772fdf | 408 | background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center; |
319c6529 RK |
409 | } |
410 | ||
411 | .bookmarks-toolbar-customize { | |
412 | max-width: 15em !important; | |
8da9da4e | 413 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
319c6529 RK |
414 | } |
415 | ||
416 | /* ::::: bookmark menus ::::: */ | |
417 | ||
418 | menu.bookmark-item, | |
419 | menuitem.bookmark-item { | |
420 | min-width: 0; | |
ab799a7a | 421 | max-width: 32em; |
319c6529 RK |
422 | } |
423 | ||
424 | .bookmark-item > .menu-iconic-left { | |
425 | margin-top: 0; | |
426 | margin-bottom: 0; | |
427 | } | |
428 | ||
429 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { | |
430 | -moz-padding-start: 0px; | |
431 | } | |
432 | ||
433 | /* ::::: bookmark items ::::: */ | |
434 | ||
435 | .bookmark-item { | |
dce90fef | 436 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 437 | -moz-image-region: auto; |
319c6529 RK |
438 | } |
439 | ||
440 | .bookmark-item[container] { | |
441 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 442 | -moz-image-region: auto; |
319c6529 RK |
443 | } |
444 | ||
445 | .bookmark-item[container][open] { | |
446 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 447 | -moz-image-region: auto; |
319c6529 RK |
448 | } |
449 | ||
8da9da4e RK |
450 | .bookmark-item[container][livemark] { |
451 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); | |
319c6529 RK |
452 | -moz-image-region: auto; |
453 | } | |
454 | ||
455 | .bookmark-item[container][livemark] .bookmark-item { | |
8da9da4e | 456 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
719b06bc | 457 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
319c6529 RK |
458 | } |
459 | ||
eec397be | 460 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
719b06bc | 461 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
eec397be RK |
462 | } |
463 | ||
319c6529 | 464 | .bookmark-item[container][query] { |
8da9da4e | 465 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
319c6529 RK |
466 | -moz-image-region: auto; |
467 | } | |
468 | ||
469 | .bookmark-item[query][tagContainer] { | |
470 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); | |
471 | -moz-image-region: auto; | |
472 | } | |
473 | ||
474 | .bookmark-item[query][dayContainer] { | |
8da9da4e | 475 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
319c6529 RK |
476 | -moz-image-region: auto; |
477 | } | |
478 | ||
479 | .bookmark-item[query][hostContainer] { | |
480 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 481 | -moz-image-region: auto; |
319c6529 RK |
482 | } |
483 | ||
484 | .bookmark-item[query][hostContainer][open] { | |
485 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 486 | -moz-image-region: auto; |
319c6529 RK |
487 | } |
488 | ||
b1234db8 RK |
489 | .bookmark-item[cutting] > .toolbarbutton-icon, |
490 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { | |
491 | opacity: 0.5; | |
492 | } | |
493 | ||
494 | .bookmark-item[cutting] > .toolbarbutton-text, | |
495 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { | |
496 | opacity: 0.7; | |
497 | } | |
498 | ||
319c6529 RK |
499 | /* ::::: primary toolbar buttons ::::: */ |
500 | ||
63ada306 | 501 | .toolbarbutton-1 { |
a736ce46 | 502 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
63ada306 RK |
503 | } |
504 | ||
505 | .toolbarbutton-1:not([type="menu-button"]) { | |
506 | -moz-box-orient: vertical; | |
507 | } | |
508 | ||
319c6529 RK |
509 | .toolbarbutton-1, |
510 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
511 | min-width: 36px; | |
512 | min-height: 36px; | |
319c6529 RK |
513 | } |
514 | ||
ab799a7a RK |
515 | .toolbarbutton-1:not([type="menu-button"]) { |
516 | -moz-box-orient: vertical; | |
319c6529 RK |
517 | } |
518 | ||
519 | .toolbarbutton-1, | |
520 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
521 | .toolbarbutton-1[disabled="true"]:hover:active, | |
522 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { | |
523 | padding: 1px 2px; | |
524 | } | |
525 | ||
526 | .toolbarbutton-1:hover:active, | |
527 | .toolbarbutton-1[open="true"], | |
528 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { | |
529 | padding-top: 2px; | |
530 | padding-bottom: 0px; | |
531 | -moz-padding-start: 3px; | |
532 | -moz-padding-end: 1px; | |
533 | } | |
534 | ||
319c6529 RK |
535 | /* ::::: small primary toolbar buttons ::::: */ |
536 | ||
9abeb12c RK |
537 | #nav-bar { |
538 | /* force iconsize="small" on this toolbar */ | |
539 | counter-reset: smallicons; | |
540 | } | |
541 | ||
319c6529 RK |
542 | toolbar[mode="text"] .toolbarbutton-1, |
543 | toolbar[mode="icons"] .toolbarbutton-1, | |
544 | toolbar[iconsize="small"] .toolbarbutton-1, | |
545 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1, | |
546 | toolbar[mode="text"] .toolbarbutton-menubutton-button, | |
547 | toolbar[mode="icons"] .toolbarbutton-menubutton-button, | |
548 | toolbar[iconsize="small"] .toolbarbutton-menubutton-button, | |
549 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
550 | min-width: 0px; | |
551 | min-height: 0px; | |
552 | } | |
553 | ||
554 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker { | |
555 | padding-top: 4px; | |
556 | padding-bottom: 8px; | |
557 | -moz-padding-start: 1px; | |
558 | -moz-padding-end: 1px; | |
559 | } | |
560 | ||
561 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker, | |
562 | toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker, | |
563 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
564 | padding-top: 0px; | |
565 | padding-bottom: 13px; | |
566 | -moz-padding-start: 1px; | |
567 | -moz-padding-end: 1px; | |
568 | } | |
569 | ||
570 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
571 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
572 | padding-top: 5px; | |
573 | padding-bottom: 7px; | |
574 | -moz-padding-start: 0px; | |
575 | -moz-padding-end: 2px; | |
576 | } | |
577 | ||
578 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
579 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, | |
580 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
581 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, | |
582 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
583 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
584 | padding-top: 1px; | |
585 | padding-bottom: 12px; | |
586 | -moz-padding-start: 0px; | |
587 | -moz-padding-end: 2px; | |
588 | } | |
589 | ||
590 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { | |
591 | padding-top: 4px !important; | |
592 | padding-bottom: 8px !important; | |
593 | -moz-padding-start: 1px !important; | |
594 | -moz-padding-end: 1px !important; | |
595 | } | |
596 | ||
597 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"], | |
598 | toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { | |
599 | padding-top: 0px !important; | |
600 | padding-bottom: 13px !important; | |
601 | -moz-padding-start: 1px !important; | |
602 | -moz-padding-end: 1px !important; | |
603 | } | |
604 | ||
605 | toolbar[mode="icons"] .toolbarbutton-text, | |
606 | toolbar[mode="text"] .toolbarbutton-icon { | |
607 | display: none; | |
608 | } | |
609 | ||
610 | toolbar[mode="text"] .toolbarbutton-text { | |
611 | padding: 4px 0; | |
612 | } | |
613 | ||
614 | toolbar[mode="text"] .toolbarbutton-1, | |
615 | toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
616 | -moz-box-orient: horizontal; | |
617 | } | |
618 | ||
619 | toolbar[mode="full"] .toolbarbutton-1, | |
620 | toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
621 | min-width: 30px; | |
622 | } | |
623 | ||
d54f5b23 | 624 | #navigator-toolbox[iconsize=small] > #nav-bar { |
d54f5b23 RK |
625 | } |
626 | ||
627 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar { | |
d54f5b23 RK |
628 | } |
629 | ||
630 | ||
319c6529 RK |
631 | /* unified back/forward button */ |
632 | ||
633 | #back-button { | |
634 | -moz-image-region: rect(0, 18px, 18px, 0); | |
635 | -moz-margin-end: 0; | |
636 | } | |
637 | ||
38cfeb47 RK |
638 | #back-button:not([disabled="true"]):hover { |
639 | -moz-image-region: rect(18px, 18px, 36px, 0); | |
640 | } | |
641 | ||
642 | #back-button[disabled="true"] { | |
643 | -moz-image-region: rect(36px, 18px, 54px, 0); | |
644 | } | |
645 | ||
319c6529 RK |
646 | #forward-button { |
647 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
648 | border-left: none; | |
649 | -moz-margin-start: 0; | |
650 | } | |
651 | ||
38cfeb47 RK |
652 | #forward-button:not([disabled="true"]):hover { |
653 | -moz-image-region: rect(18px, 36px, 36px, 18px); | |
654 | } | |
655 | ||
656 | #forward-button[disabled="true"] { | |
657 | -moz-image-region: rect(36px, 36px, 54px, 18px); | |
b36fc72e RK |
658 | } |
659 | ||
319c6529 RK |
660 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
661 | #forward-button:-moz-locale-dir(rtl), | |
662 | #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text { | |
71a617ff | 663 | transform: scaleX(-1); |
319c6529 RK |
664 | } |
665 | ||
b36fc72e RK |
666 | #nav-bar #back-button { |
667 | -moz-margin-end: 0 !important; | |
668 | } | |
669 | ||
670 | #nav-bar #forward-button { | |
671 | border-left-style: none; | |
672 | -moz-margin-start: 0 !important; | |
673 | } | |
674 | ||
675 | #nav-bar #back-button:-moz-locale-dir(ltr) { | |
319c6529 RK |
676 | border-top-right-radius: 0; |
677 | border-bottom-right-radius: 0; | |
678 | } | |
679 | ||
b36fc72e RK |
680 | #nav-bar #back-button:-moz-locale-dir(rtl), |
681 | #nav-bar #forward-button { | |
319c6529 RK |
682 | border-top-left-radius: 0; |
683 | border-bottom-left-radius: 0; | |
684 | } | |
685 | ||
676f0091 RK |
686 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
687 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
688 | #unified-back-forward-button > #back-button { | |
319c6529 RK |
689 | border-radius: 10000px; |
690 | width: 30px; | |
691 | height: 30px; | |
692 | position: relative; | |
693 | z-index: 1; | |
694 | margin-top: -2px; | |
695 | margin-bottom: -2px; | |
696 | border: none; | |
38cfeb47 RK |
697 | -moz-image-region: rect(54px, 20px, 74px, 0); |
698 | } | |
699 | ||
676f0091 RK |
700 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
701 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
702 | #unified-back-forward-button > #back-button:not([disabled="true"]):hover, | |
703 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
704 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
705 | #unified-back-forward-button > #back-button[open="true"] { | |
38cfeb47 RK |
706 | -moz-image-region: rect(54px, 40px, 74px, 20px); |
707 | } | |
708 | ||
676f0091 RK |
709 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
710 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
711 | #unified-back-forward-button > #back-button[disabled="true"] { | |
38cfeb47 | 712 | -moz-image-region: rect(54px, 60px, 74px, 40px); |
319c6529 RK |
713 | } |
714 | ||
676f0091 RK |
715 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
716 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
717 | #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { | |
319c6529 RK |
718 | } |
719 | ||
676f0091 RK |
720 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
721 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
722 | #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active, | |
723 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
724 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
725 | #unified-back-forward-button > #back-button[open="true"] { | |
319c6529 RK |
726 | } |
727 | ||
9abeb12c RK |
728 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"], |
729 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) { | |
319c6529 RK |
730 | /* padding-top: 3px; |
731 | padding-bottom: 5px; */ | |
732 | } | |
733 | ||
9abeb12c RK |
734 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"], |
735 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) { | |
319c6529 RK |
736 | /* padding-top: 5px; */ |
737 | } | |
738 | ||
676f0091 RK |
739 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
740 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
741 | #unified-back-forward-button > #forward-button { | |
319c6529 | 742 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ |
2a5b7882 | 743 | /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */ |
9abeb12c | 744 | -moz-margin-start: -6px !important; |
319c6529 RK |
745 | padding-left: 7px; |
746 | padding-right: 3px; | |
e8519ae0 RK |
747 | margin-top: 2px; |
748 | margin-bottom: 2px; | |
749 | } | |
750 | ||
676f0091 RK |
751 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
752 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
753 | #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) { | |
e8519ae0 RK |
754 | border-top-right-radius: 11px; |
755 | border-bottom-right-radius: 11px; | |
756 | } | |
757 | ||
676f0091 RK |
758 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
759 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
760 | #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) { | |
e8519ae0 RK |
761 | border-top-left-radius: 11px; |
762 | border-bottom-left-radius: 11px; | |
319c6529 RK |
763 | } |
764 | ||
319c6529 RK |
765 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), |
766 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { | |
71bac478 RK |
767 | list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important; |
768 | } | |
769 | ||
770 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover, | |
771 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover { | |
772 | list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important; | |
319c6529 RK |
773 | } |
774 | ||
775 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), | |
776 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { | |
71bac478 RK |
777 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; |
778 | } | |
779 | ||
780 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover, | |
781 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover { | |
782 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; | |
319c6529 RK |
783 | } |
784 | ||
8ad8bf83 RK |
785 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
786 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
787 | #unified-back-forward-button > #forward-button { | |
e8519ae0 | 788 | /* border-top-right-radius: 0; |
8ad8bf83 | 789 | border-bottom-right-radius: 0; |
e8519ae0 | 790 | -moz-margin-end: 0; */ |
8ad8bf83 RK |
791 | } |
792 | ||
793 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
794 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
795 | #unified-back-forward-button:not([switchingtabs]) > #forward-button { | |
71a617ff | 796 | transition: opacity 150ms ease-out; |
8ad8bf83 RK |
797 | } |
798 | ||
799 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
800 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
801 | #unified-back-forward-button:not(:hover) > #forward-button[disabled] { | |
802 | opacity: 0; | |
803 | } | |
804 | ||
e8519ae0 RK |
805 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
806 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
807 | #unified-back-forward-button:hover > #forward-button[disabled] { | |
808 | background-color: transparent; | |
809 | } | |
810 | ||
319c6529 RK |
811 | #stop-button { |
812 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
813 | } | |
814 | ||
143c5409 RK |
815 | #stop-button:not([disabled="true"]):hover { |
816 | -moz-image-region: rect(18px, 54px, 36px, 36px); | |
817 | } | |
818 | ||
819 | #stop-button[disabled="true"] { | |
820 | -moz-image-region: rect(36px, 54px, 54px, 36px); | |
821 | } | |
822 | ||
319c6529 RK |
823 | #reload-button { |
824 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
825 | } | |
826 | ||
143c5409 RK |
827 | #reload-button:not([disabled="true"]):hover { |
828 | -moz-image-region: rect(18px, 72px, 36px, 54px); | |
829 | } | |
830 | ||
831 | #reload-button[disabled="true"] { | |
832 | -moz-image-region: rect(36px, 72px, 54px, 54px); | |
833 | } | |
834 | ||
319c6529 | 835 | #home-button.bookmark-item { |
a736ce46 | 836 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
319c6529 RK |
837 | } |
838 | #home-button { | |
839 | -moz-image-region: rect(0, 90px, 18px, 72px); | |
840 | } | |
841 | ||
143c5409 RK |
842 | #home-button:not([disabled="true"]):hover { |
843 | -moz-image-region: rect(18px, 90px, 36px, 72px); | |
844 | } | |
845 | ||
846 | #home-button[disabled="true"] { | |
847 | -moz-image-region: rect(36px, 90px, 54px, 72px); | |
848 | } | |
849 | ||
319c6529 RK |
850 | #downloads-button { |
851 | -moz-image-region: rect(0, 108px, 18px, 90px); | |
852 | } | |
853 | ||
143c5409 RK |
854 | #downloads-button:not([disabled="true"]):hover { |
855 | -moz-image-region: rect(18px, 108px, 36px, 90px); | |
856 | } | |
857 | ||
858 | #downloads-button[disabled="true"] { | |
859 | -moz-image-region: rect(36px, 108px, 54px, 90px); | |
860 | } | |
861 | ||
36759a51 RK |
862 | #downloads-button > .toolbarbutton-icon { |
863 | margin: 0; | |
864 | } | |
865 | ||
319c6529 RK |
866 | #history-button { |
867 | -moz-image-region: rect(0, 126px, 18px, 108px); | |
868 | } | |
869 | ||
143c5409 RK |
870 | #history-button:not([disabled="true"]):hover { |
871 | -moz-image-region: rect(18px, 126px, 36px, 108px); | |
872 | } | |
873 | ||
874 | #history-button[disabled="true"] { | |
875 | -moz-image-region: rect(36px, 126px, 54px, 108px); | |
876 | } | |
877 | ||
319c6529 RK |
878 | #bookmarks-button, |
879 | #bookmarks-menu-button { | |
a736ce46 | 880 | list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */ |
319c6529 RK |
881 | -moz-image-region: rect(0, 144px, 18px, 126px); |
882 | } | |
883 | ||
884 | #bookmarks-menu-button.bookmark-item { | |
a736ce46 | 885 | /* list-style-image: url("chrome://browser/skin/FxToolbar.png"); */ |
319c6529 RK |
886 | } |
887 | ||
888 | #bookmarks-menu-button.toolbarbutton-1 { | |
889 | -moz-box-orient: horizontal; | |
890 | } | |
891 | ||
143c5409 RK |
892 | #bookmarks-button:not([disabled="true"]):hover, |
893 | #bookmarks-menu-button[open="true"], | |
894 | #bookmarks-menu-button:not([disabled="true"]):hover { | |
895 | -moz-image-region: rect(18px, 144px, 36px, 126px); | |
896 | } | |
897 | ||
898 | #bookmarks-button[disabled="true"], | |
899 | #bookmarks-menu-button[disabled="true"] { | |
900 | -moz-image-region: rect(36px, 144px, 54px, 126px); | |
901 | } | |
902 | ||
319c6529 RK |
903 | #print-button { |
904 | -moz-image-region: rect(0, 162px, 18px, 144px); | |
905 | } | |
906 | ||
143c5409 RK |
907 | #print-button:not([disabled="true"]):hover { |
908 | -moz-image-region: rect(18px, 162px, 36px, 144px); | |
909 | } | |
910 | ||
911 | #print-button[disabled="true"] { | |
912 | -moz-image-region: rect(36px, 162px, 54px, 144px); | |
913 | } | |
914 | ||
319c6529 RK |
915 | #new-tab-button { |
916 | -moz-image-region: rect(0, 180px, 18px, 162px); | |
917 | } | |
918 | ||
57fc408c RK |
919 | #new-tab-button:not([disabled="true"]):hover { |
920 | -moz-image-region: rect(18px, 180px, 36px, 162px); | |
143c5409 RK |
921 | } |
922 | ||
57fc408c RK |
923 | #new-tab-button[disabled="true"] { |
924 | -moz-image-region: rect(36px, 180px, 54px, 162px); | |
143c5409 RK |
925 | } |
926 | ||
319c6529 RK |
927 | #new-window-button { |
928 | -moz-image-region: rect(0, 198px, 18px, 180px); | |
929 | } | |
930 | ||
143c5409 RK |
931 | #new-window-button:not([disabled="true"]):hover { |
932 | -moz-image-region: rect(18px, 198px, 36px, 180px); | |
933 | } | |
934 | ||
935 | #new-window-button[disabled="true"] { | |
936 | -moz-image-region: rect(36px, 198px, 54px, 180px); | |
937 | } | |
938 | ||
319c6529 RK |
939 | #cut-button { |
940 | -moz-image-region: rect(0, 216px, 18px, 198px); | |
941 | } | |
942 | ||
143c5409 RK |
943 | #cut-button:not([disabled="true"]):hover { |
944 | -moz-image-region: rect(18px, 216px, 36px, 198px); | |
945 | } | |
946 | ||
947 | #cut-button[disabled="true"] { | |
948 | -moz-image-region: rect(36px, 216px, 54px, 198px); | |
949 | } | |
950 | ||
319c6529 RK |
951 | #copy-button { |
952 | -moz-image-region: rect(0, 234px, 18px, 216px); | |
953 | } | |
954 | ||
143c5409 RK |
955 | #copy-button:not([disabled="true"]):hover { |
956 | -moz-image-region: rect(18px, 234px, 36px, 216px); | |
957 | } | |
958 | ||
959 | #copy-button[disabled="true"] { | |
960 | -moz-image-region: rect(36px, 234px, 54px, 216px); | |
961 | } | |
962 | ||
319c6529 RK |
963 | #paste-button { |
964 | -moz-image-region: rect(0, 252px, 18px, 234px); | |
965 | } | |
966 | ||
143c5409 RK |
967 | #paste-button:not([disabled="true"]):hover { |
968 | -moz-image-region: rect(18px, 252px, 36px, 234px); | |
969 | } | |
970 | ||
971 | #paste-button[disabled="true"] { | |
972 | -moz-image-region: rect(36px, 252px, 54px, 234px); | |
973 | } | |
974 | ||
319c6529 RK |
975 | #fullscreen-button { |
976 | -moz-image-region: rect(0, 270px, 18px, 252px); | |
977 | } | |
978 | ||
143c5409 RK |
979 | #fullscreen-button:not([disabled="true"]):hover { |
980 | -moz-image-region: rect(18px, 270px, 36px, 252px); | |
981 | } | |
982 | ||
983 | #fullscreen-button[disabled="true"] { | |
984 | -moz-image-region: rect(36px, 270px, 54px, 252px); | |
985 | } | |
986 | ||
319c6529 RK |
987 | #zoom-out-button { |
988 | -moz-image-region: rect(0, 288px, 18px, 270px); | |
989 | -moz-margin-end: 0; | |
990 | } | |
991 | ||
992 | #zoom-in-button { | |
993 | -moz-image-region: rect(0, 306px, 18px, 288px); | |
b36fc72e RK |
994 | } |
995 | ||
143c5409 RK |
996 | #zoom-out-button:not([disabled="true"]):hover { |
997 | -moz-image-region: rect(18px, 288px, 36px, 270px); | |
998 | } | |
999 | ||
1000 | #zoom-out-button[disabled="true"] { | |
1001 | -moz-image-region: rect(36px, 288px, 54px, 270px); | |
1002 | } | |
1003 | ||
1004 | #zoom-in-button:not([disabled="true"]):hover { | |
1005 | -moz-image-region: rect(18px, 306px, 36px, 288px); | |
1006 | } | |
1007 | ||
1008 | #zoom-in-button[disabled="true"] { | |
1009 | -moz-image-region: rect(36px, 306px, 54px, 288px); | |
1010 | } | |
1011 | ||
dce90fef | 1012 | #sync-button:not([status]) { |
a736ce46 | 1013 | list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */ |
319c6529 RK |
1014 | -moz-image-region: rect(0, 324px, 18px, 306px); |
1015 | } | |
1016 | ||
1017 | #sync-button[status="active"] { | |
1018 | list-style-image: url("chrome://browser/skin/sync-throbber.png"); | |
1019 | -moz-image-region: rect(0, 18px, 18px, 0); | |
1020 | } | |
1021 | ||
143c5409 RK |
1022 | #sync-button[disabled="true"] { |
1023 | -moz-image-region: rect(36px, 324px, 54px, 306px); | |
1024 | } | |
1025 | ||
319c6529 RK |
1026 | #feed-button { |
1027 | -moz-image-region: rect(0, 342px, 18px, 324px); | |
1028 | } | |
1029 | ||
143c5409 RK |
1030 | #feed-button[disabled="true"] { |
1031 | -moz-image-region: rect(36px, 342px, 54px, 324px); | |
1032 | } | |
1033 | ||
6adbc9a6 RK |
1034 | #webrtc-status-button { |
1035 | -moz-image-region: rect(0, 360px, 18px, 342px); | |
1036 | } | |
1037 | ||
1038 | #webrtc-status-button:not([disabled="true"]):hover, | |
1039 | #webrtc-status-button[open="true"] { | |
1040 | -moz-image-region: rect(18px, 360px, 36px, 342px); | |
1041 | } | |
1042 | ||
1043 | #webrtc-status-button[disabled="true"] { | |
1044 | -moz-image-region: rect(36px, 360px, 54px, 342px); | |
1045 | } | |
1046 | ||
1047 | /* tabview button & menu item */ | |
1048 | ||
1049 | #tabview-button, | |
1050 | #menu_tabview { | |
1051 | list-style-image: url("chrome://browser/skin/tabview/tabview.png"); | |
1052 | } | |
1053 | ||
1054 | #tabview-button { | |
1055 | -moz-image-region: rect(0, 90px, 18px, 72px); | |
1056 | } | |
1057 | ||
1058 | #tabview-button[groups="0"] { | |
1059 | -moz-image-region: rect(0, 18px, 18px, 0); | |
1060 | } | |
1061 | ||
1062 | #tabview-button[groups="1"] { | |
1063 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
1064 | } | |
1065 | ||
1066 | #tabview-button[groups="2"] { | |
1067 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
1068 | } | |
1069 | ||
1070 | #tabview-button[groups="3"] { | |
1071 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
1072 | } | |
1073 | ||
1074 | #menu_tabview { | |
1075 | -moz-image-region: rect(1px, 89px, 17px, 73px); | |
1076 | } | |
1077 | ||
1078 | #menu_tabview[groups="0"] { | |
1079 | -moz-image-region: rect(1px, 17px, 17px, 1px); | |
1080 | } | |
1081 | ||
1082 | #menu_tabview[groups="1"] { | |
1083 | -moz-image-region: rect(1px, 35px, 17px, 19px); | |
1084 | } | |
1085 | ||
1086 | #menu_tabview[groups="2"] { | |
1087 | -moz-image-region: rect(1px, 53px, 17px, 37px); | |
1088 | } | |
1089 | ||
1090 | #menu_tabview[groups="3"] { | |
1091 | -moz-image-region: rect(1px, 71px, 17px, 55px); | |
1092 | } | |
1093 | ||
319c6529 RK |
1094 | /* ::::: fullscreen window controls ::::: */ |
1095 | ||
8d7ef0d9 | 1096 | #window-controls { |
ab799a7a RK |
1097 | -moz-margin-start: 4px; |
1098 | } | |
1099 | ||
319c6529 RK |
1100 | #minimize-button, |
1101 | #restore-button, | |
1102 | #close-button { | |
1103 | /* padding: 0; */ | |
1104 | } | |
1105 | ||
1106 | #minimize-button { | |
1107 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
1108 | } | |
1109 | ||
1110 | #minimize-button:hover { | |
1111 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
1112 | } | |
1113 | ||
1114 | #restore-button { | |
1115 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
1116 | } | |
1117 | ||
1118 | #restore-button:hover { | |
1119 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
1120 | } | |
1121 | ||
1122 | #close-button { | |
1123 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
1124 | } | |
1125 | ||
1126 | #close-button:hover { | |
1127 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
1128 | } | |
1129 | ||
1130 | /* ::::: Location Bar ::::: */ | |
1131 | ||
319c6529 RK |
1132 | #urlbar, |
1133 | .searchbar-textbox { | |
1134 | border-radius: 5px; | |
1135 | margin: 0; | |
1136 | -moz-margin-start: 3px; | |
1137 | } | |
1138 | ||
ffce2402 RK |
1139 | #urlbar { |
1140 | width: 7em; | |
f0071a71 RK |
1141 | /* make color as light as possible to deal with dark non-domain parts */ |
1142 | color: #FFBFFF; | |
ffce2402 RK |
1143 | } |
1144 | ||
319c6529 RK |
1145 | #urlbar:-moz-lwtheme, |
1146 | .searchbar-textbox:-moz-lwtheme { | |
1147 | /* background-color: rgba(255,255,255,.8); | |
1148 | @navbarTextboxCustomBorder@ | |
1149 | color: black; */ | |
1150 | } | |
1151 | ||
8ad8bf83 RK |
1152 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1153 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1154 | #unified-back-forward-button + #urlbar-container { |
1155 | padding-left: 22px; | |
1156 | -moz-margin-start: -22px; | |
8ad8bf83 RK |
1157 | position: relative; |
1158 | pointer-events: none; | |
1159 | } | |
1160 | ||
1161 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1162 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1163 | #unified-back-forward-button + #urlbar-container > #urlbar { |
1164 | /* -moz-border-start: none; | |
1165 | margin-left: 0; */ | |
8ad8bf83 RK |
1166 | pointer-events: all; |
1167 | } | |
1168 | ||
1169 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1170 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1171 | #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar { |
71a617ff | 1172 | transition: margin-left 150ms ease-out; |
8ad8bf83 RK |
1173 | } |
1174 | ||
1175 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1176 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1177 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) { |
1178 | /* border-top-left-radius: 0; | |
1179 | border-bottom-left-radius: 0; */ | |
8ad8bf83 RK |
1180 | } |
1181 | ||
1182 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1183 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1184 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { |
1185 | /* border-top-right-radius: 0; | |
1186 | border-bottom-right-radius: 0; */ | |
8ad8bf83 RK |
1187 | } |
1188 | ||
8ad8bf83 RK |
1189 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1190 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1191 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar { |
1192 | margin-left: -22px; | |
8ad8bf83 RK |
1193 | } |
1194 | ||
1195 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1196 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1197 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar { |
8ad8bf83 | 1198 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ |
71a617ff | 1199 | transition-delay: 100s; |
8ad8bf83 RK |
1200 | } |
1201 | ||
1202 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1203 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1204 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar { |
8ad8bf83 | 1205 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ |
e8519ae0 | 1206 | margin-left: -22.01px; |
8ad8bf83 RK |
1207 | } |
1208 | ||
1209 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1210 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1211 | #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl), |
8ad8bf83 RK |
1212 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1213 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1214 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { |
85cfb236 | 1215 | /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
71a617ff | 1216 | transform: scaleX(-1); |
8ad8bf83 RK |
1217 | } |
1218 | ||
a7145e95 RK |
1219 | html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, |
1220 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { | |
319c6529 RK |
1221 | color: #E7ADE7; |
1222 | } | |
1223 | ||
1224 | #urlbar:-moz-lwtheme[focused="true"], | |
1225 | .searchbar-textbox:-moz-lwtheme[focused="true"] { | |
1226 | /* background-color: white; */ | |
1227 | } | |
1228 | ||
1229 | #urlbar-container { | |
1230 | -moz-box-orient: horizontal; | |
1231 | -moz-box-align: stretch; | |
1232 | } | |
1233 | ||
9abeb12c RK |
1234 | .urlbar-textbox-container { |
1235 | -moz-box-align: stretch; | |
1236 | } | |
1237 | ||
a40f6a79 RK |
1238 | .urlbar-input-box { |
1239 | -moz-margin-start: 0; | |
fcfb76ce | 1240 | min-width: 4em; |
a40f6a79 RK |
1241 | } |
1242 | ||
319c6529 | 1243 | #urlbar-icons { |
319c6529 RK |
1244 | -moz-box-align: center; |
1245 | } | |
1246 | ||
1247 | .urlbar-icon { | |
b8384c33 | 1248 | padding: 0 2px; |
ffce2402 RK |
1249 | } |
1250 | ||
1251 | .searchbar-engine-button, | |
1252 | .search-go-container { | |
4b686546 RK |
1253 | padding: 2px; |
1254 | } | |
1255 | ||
1256 | .search-go-container > .search-go-button { | |
1257 | padding: 0; | |
319c6529 RK |
1258 | } |
1259 | ||
ffce2402 RK |
1260 | .urlbar-icon:hover { |
1261 | } | |
1262 | ||
1263 | .urlbar-icon[open="true"], | |
1264 | .urlbar-icon:hover:active { | |
1265 | } | |
1266 | ||
319c6529 RK |
1267 | #urlbar-search-splitter { |
1268 | min-width: 6px; | |
1269 | -moz-margin-start: -3px; | |
1270 | border: none; | |
1271 | background: transparent; | |
1272 | } | |
1273 | ||
f0071a71 | 1274 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
319c6529 RK |
1275 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
1276 | -moz-margin-start: 0; | |
1277 | } | |
1278 | ||
319c6529 | 1279 | #urlbar-display { |
319c6529 RK |
1280 | -moz-border-end: 1px solid #9C9CFF; |
1281 | -moz-margin-end: 3px; | |
ab799a7a RK |
1282 | margin-top: 0; |
1283 | margin-bottom: 0; | |
a40f6a79 | 1284 | -moz-margin-start: 0; |
ab799a7a RK |
1285 | color: #8050B0; |
1286 | } | |
1287 | ||
319c6529 RK |
1288 | /* identity box */ |
1289 | ||
1290 | #identity-box { | |
319c6529 | 1291 | border-radius: 2px; |
85cfb236 | 1292 | font-size: .9em; |
319c6529 RK |
1293 | } |
1294 | ||
8ad8bf83 | 1295 | #notification-popup-box:not([hidden]) + #identity-box { |
5517da5a | 1296 | -moz-padding-start: 10px !important; |
8ad8bf83 RK |
1297 | border-radius: 0; |
1298 | } | |
1299 | ||
1300 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1301 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1302 | #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box { |
d15d08bf | 1303 | /* border-radius: 0; */ |
2a5b7882 RK |
1304 | -moz-padding-start: 2px; |
1305 | -moz-padding-end: 2px; | |
1306 | -moz-margin-end: 1px; | |
8ad8bf83 RK |
1307 | } |
1308 | ||
1309 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1310 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1311 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
2a5b7882 | 1312 | padding-left: 2px; |
71a617ff | 1313 | transition: padding-left; |
8ad8bf83 RK |
1314 | } |
1315 | ||
1316 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1317 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1318 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
2a5b7882 | 1319 | padding-right: 2px; |
71a617ff | 1320 | transition: padding-right; |
8ad8bf83 RK |
1321 | } |
1322 | ||
1323 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1324 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1325 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box { |
8ad8bf83 | 1326 | /* forward button hiding is delayed when hovered */ |
71a617ff | 1327 | transition-delay: 100s; |
8ad8bf83 RK |
1328 | } |
1329 | ||
1330 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1331 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1332 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
8ad8bf83 | 1333 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 1334 | padding-left: 2.01px; |
8ad8bf83 RK |
1335 | } |
1336 | ||
1337 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1338 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1339 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
8ad8bf83 | 1340 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 1341 | padding-right: 2.01px; |
8ad8bf83 RK |
1342 | } |
1343 | ||
37953ab4 | 1344 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
a40f6a79 RK |
1345 | color: #008484; |
1346 | -moz-border-end: 1px solid #008484; | |
1347 | -moz-margin-end: 3px; | |
319c6529 RK |
1348 | } |
1349 | ||
37953ab4 | 1350 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { |
a40f6a79 RK |
1351 | border-top-right-radius: 0; |
1352 | border-bottom-right-radius: 0; | |
319c6529 RK |
1353 | } |
1354 | ||
37953ab4 | 1355 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
a40f6a79 RK |
1356 | border-top-left-radius: 0; |
1357 | border-bottom-left-radius: 0; | |
319c6529 RK |
1358 | } |
1359 | ||
a40f6a79 RK |
1360 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
1361 | background-color: #000000; | |
319c6529 RK |
1362 | } |
1363 | ||
1364 | #identity-box:-moz-focusring { | |
1365 | outline: 1px dotted #008484; | |
f993773d | 1366 | outline-offset: -1px; |
319c6529 RK |
1367 | } |
1368 | ||
1369 | #identity-box.verifiedDomain:-moz-focusring, | |
1370 | #identity-box.verifiedIdentity:-moz-focusring { | |
1371 | outline-color: #000000; | |
1372 | } | |
1373 | ||
1374 | #identity-icon-labels { | |
1375 | -moz-margin-start: 1px; | |
1376 | -moz-margin-end: 3px; | |
319c6529 RK |
1377 | } |
1378 | ||
1379 | /* Location bar dropmarker */ | |
1380 | ||
38cfeb47 | 1381 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
319c6529 | 1382 | background-color: transparent; |
319c6529 RK |
1383 | } |
1384 | ||
38cfeb47 RK |
1385 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker { |
1386 | border: none; | |
1387 | border-radius: 0px; | |
319c6529 RK |
1388 | } |
1389 | ||
ffce2402 RK |
1390 | .urlbar-history-dropmarker:hover { |
1391 | } | |
1392 | ||
1393 | .urlbar-history-dropmarker:hover:active, | |
1394 | .urlbar-history-dropmarker[open="true"] { | |
1395 | } | |
1396 | ||
319c6529 RK |
1397 | /* page proxy icon */ |
1398 | ||
4d58ff64 | 1399 | #page-proxy-favicon { |
319c6529 RK |
1400 | width: 16px; |
1401 | height: 16px; | |
a40f6a79 RK |
1402 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
1403 | -moz-image-region: rect(0, 16px, 16px, 0); | |
319c6529 RK |
1404 | } |
1405 | ||
2a5b7882 | 1406 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
1407 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
1408 | } | |
1409 | ||
2a5b7882 | 1410 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
1411 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
1412 | } | |
1413 | ||
56ab361a RK |
1414 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
1415 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); | |
1416 | } | |
1417 | ||
2a5b7882 | 1418 | #identity-box:hover > #page-proxy-favicon { |
a40f6a79 RK |
1419 | -moz-image-region: rect(0, 32px, 16px, 16px); |
1420 | } | |
1421 | ||
2a5b7882 RK |
1422 | #identity-box:hover:active > #page-proxy-favicon, |
1423 | #identity-box[open=true] > #page-proxy-favicon { | |
a40f6a79 | 1424 | -moz-image-region: rect(0, 48px, 16px, 32px); |
acb0e9b8 | 1425 | } |
1426 | ||
2a5b7882 RK |
1427 | #identity-box:hover { |
1428 | background-color: #FFCF00; | |
1429 | } | |
1430 | ||
1431 | #identity-box:hover:active, | |
1432 | #identity-box[open=true] { | |
1433 | background-color: #FF9F00; | |
1434 | } | |
1435 | ||
387e6560 RK |
1436 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover, |
1437 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active, | |
1438 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] { | |
2a5b7882 RK |
1439 | background-color: #008484; |
1440 | color: #000000; | |
1441 | } | |
1442 | ||
319c6529 | 1443 | #page-proxy-favicon[pageproxystate="invalid"] { |
37953ab4 | 1444 | opacity: 0.3; |
acb0e9b8 | 1445 | } |
1446 | ||
319c6529 RK |
1447 | /* autocomplete */ |
1448 | ||
319c6529 RK |
1449 | #treecolAutoCompleteImage { |
1450 | max-width: 36px; | |
1451 | } | |
acb0e9b8 | 1452 | |
319c6529 RK |
1453 | .ac-result-type-bookmark, |
1454 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | |
71bac478 | 1455 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
319c6529 | 1456 | -moz-image-region: rect(0px 16px 16px 0px); |
c1f7cc84 | 1457 | width: 16px; |
319c6529 | 1458 | height: 16px; |
acb0e9b8 | 1459 | } |
1460 | ||
319c6529 RK |
1461 | .ac-result-type-keyword, |
1462 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { | |
1463 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); | |
1464 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 1465 | width: 16px; |
1466 | height: 16px; | |
1467 | } | |
1468 | ||
319c6529 RK |
1469 | .ac-result-type-tag, |
1470 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { | |
8da9da4e | 1471 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
c1f7cc84 | 1472 | width: 16px; |
319c6529 RK |
1473 | height: 16px; |
1474 | } | |
acb0e9b8 | 1475 | |
319c6529 RK |
1476 | .ac-comment { |
1477 | font-size: 1.15em; | |
acb0e9b8 | 1478 | } |
319c6529 RK |
1479 | |
1480 | .ac-extra > .ac-comment { | |
1481 | font-size: inherit; | |
acb0e9b8 | 1482 | } |
319c6529 RK |
1483 | |
1484 | .ac-url-text, | |
1485 | .ac-action-text { | |
1486 | color: #9C9CFF; | |
acb0e9b8 | 1487 | } |
319c6529 RK |
1488 | |
1489 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { | |
1490 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); | |
85cfb236 RK |
1491 | -moz-image-region: rect(0, 16px, 16px, 0); |
1492 | padding: 0 3px; | |
1493 | } | |
1494 | ||
1495 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { | |
1496 | -moz-image-region: rect(16px, 16px, 32px, 0); | |
acb0e9b8 | 1497 | } |
1498 | ||
319c6529 RK |
1499 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
1500 | color: #8050B0; | |
1501 | } | |
acb0e9b8 | 1502 | |
319c6529 RK |
1503 | .ac-comment[selected="true"], |
1504 | .ac-url-text[selected="true"], | |
1505 | .ac-action-text[selected="true"] { | |
1506 | color: inherit !important; | |
acb0e9b8 | 1507 | } |
1508 | ||
c1f7cc84 RK |
1509 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
1510 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) | |
319c6529 RK |
1511 | { |
1512 | color: #8050B0; | |
1513 | font-size: smaller; | |
acb0e9b8 | 1514 | } |
319c6529 RK |
1515 | |
1516 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
1517 | border-top: 1px solid #9C9CFF; | |
acb0e9b8 | 1518 | } |
1519 | ||
319c6529 RK |
1520 | /* combined go/reload/stop button in location bar */ |
1521 | ||
ffce2402 | 1522 | #go-button, |
319c6529 RK |
1523 | #urlbar > toolbarbutton { |
1524 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); | |
38cfeb47 | 1525 | /* margin: -2px; */ |
9abeb12c | 1526 | -moz-margin-start: 0; |
ffce2402 | 1527 | padding: 0 2px; |
319c6529 RK |
1528 | background-origin: border-box; |
1529 | border: none; | |
9abeb12c RK |
1530 | -moz-border-start: 1px solid #9C9CFF; |
1531 | } | |
1532 | ||
ffce2402 RK |
1533 | #go-button { |
1534 | padding: 0 3px; | |
1535 | } | |
1536 | ||
9abeb12c | 1537 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { |
38cfeb47 RK |
1538 | border-top-left-radius: 0px; |
1539 | border-bottom-left-radius: 0px; | |
acb0e9b8 | 1540 | } |
acb0e9b8 | 1541 | |
9abeb12c | 1542 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
38cfeb47 RK |
1543 | border-top-right-radius: 0px; |
1544 | border-bottom-right-radius: 0px; | |
9abeb12c RK |
1545 | } |
1546 | ||
dce90fef RK |
1547 | #urlbar > toolbarbutton:not([disabled]):active:hover, |
1548 | #urlbar-reload-button:not(:hover) { | |
1549 | -moz-border-start-style: none; | |
714b11f6 | 1550 | -moz-padding-start: 3px; |
dce90fef RK |
1551 | } |
1552 | ||
1553 | #urlbar > toolbarbutton:not([disabled]):active:hover { | |
acb0e9b8 | 1554 | } |
1555 | ||
319c6529 | 1556 | #urlbar-go-button { |
ffce2402 | 1557 | -moz-image-region: rect(0, 42px, 14px, 28px); |
acb0e9b8 | 1558 | } |
1559 | ||
ffce2402 RK |
1560 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
1561 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | |
71a617ff | 1562 | transform: scaleX(-1); |
ffce2402 RK |
1563 | } |
1564 | ||
1565 | #urlbar-go-button:hover, | |
1566 | #go-button:hover { | |
1567 | -moz-image-region: rect(14px, 42px, 28px, 28px); | |
acb0e9b8 | 1568 | } |
1569 | ||
319c6529 | 1570 | #urlbar-reload-button { |
ffce2402 | 1571 | -moz-image-region: rect(0px, 14px, 14px, 0px); |
38cfeb47 RK |
1572 | } |
1573 | ||
1574 | #urlbar-reload-button[disabled] { | |
ffce2402 | 1575 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
acb0e9b8 | 1576 | } |
1577 | ||
319c6529 | 1578 | #urlbar-reload-button:not([disabled]):hover { |
ffce2402 | 1579 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
acb0e9b8 | 1580 | } |
319c6529 RK |
1581 | |
1582 | #urlbar-stop-button { | |
ffce2402 | 1583 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
acb0e9b8 | 1584 | } |
319c6529 RK |
1585 | |
1586 | #urlbar-stop-button:hover { | |
ffce2402 | 1587 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
acb0e9b8 | 1588 | } |
1589 | ||
319c6529 RK |
1590 | /* popup blocker button */ |
1591 | ||
1592 | #page-report-button { | |
1593 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | |
1594 | -moz-image-region: rect(0, 16px, 16px, 0); | |
acb0e9b8 | 1595 | } |
319c6529 | 1596 | |
71bac478 | 1597 | #page-report-button:hover , |
319c6529 RK |
1598 | #page-report-button:hover:active, |
1599 | #page-report-button[open="true"] { | |
71bac478 | 1600 | -moz-image-region: rect(0, 32px, 16px, 16px); |
acb0e9b8 | 1601 | } |
1602 | ||
889649fd RK |
1603 | /* social recommending panel */ |
1604 | ||
1605 | #share-button { | |
d7cfd768 | 1606 | -moz-image-region: rect(0, 16px, 16px, 0); |
889649fd RK |
1607 | } |
1608 | ||
1609 | #socialUserPortrait { | |
1610 | width: 48px; | |
1611 | height: 48px; | |
82b4252f | 1612 | list-style-image:url("chrome://global/skin/icons/information-32.png"); |
889649fd RK |
1613 | } |
1614 | ||
1615 | #socialUserDisplayName, | |
1616 | #socialUserPortrait { | |
1617 | cursor: pointer; | |
1618 | } | |
1619 | ||
1620 | #socialUserDisplayName { | |
1621 | border: none; | |
1622 | background-color: transparent; | |
1623 | margin-top: 0; | |
1624 | padding-top: 0; | |
1625 | font-size: 130%; | |
1626 | font-weight: bold; | |
82b4252f | 1627 | list-style-image:url("chrome://global/skin/icons/information-32.png"); |
889649fd RK |
1628 | } |
1629 | ||
1630 | #socialUserDisplayName > .button-box { | |
1631 | -moz-padding-start: 0; | |
1632 | padding-top: 0; | |
1633 | border-top-width: 0; | |
1634 | } | |
1635 | ||
1636 | #socialUserDisplayName:hover { | |
1637 | color: #9C9CFF; | |
1638 | text-decoration: underline; | |
1639 | } | |
1640 | ||
fcfb76ce | 1641 | #unsharePopupText { |
889649fd RK |
1642 | height: 48px; |
1643 | } | |
1644 | ||
fcfb76ce | 1645 | #unsharePopupBottomButtons { |
889649fd RK |
1646 | margin-top: 1em; |
1647 | } | |
1648 | ||
319c6529 RK |
1649 | /* star button */ |
1650 | ||
1651 | #star-button { | |
71bac478 RK |
1652 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); |
1653 | -moz-image-region: rect(16px 16px 32px 0px); | |
acb0e9b8 | 1654 | } |
319c6529 RK |
1655 | |
1656 | #star-button:hover { | |
71bac478 | 1657 | -moz-image-region: rect(16px 32px 32px 16px); |
acb0e9b8 | 1658 | } |
319c6529 RK |
1659 | |
1660 | #star-button:hover:active { | |
71bac478 | 1661 | -moz-image-region: rect(16px 48px 32px 32px); |
acb0e9b8 | 1662 | } |
1663 | ||
319c6529 | 1664 | #star-button[starred="true"] { |
71bac478 RK |
1665 | -moz-image-region: rect(0px 16px 16px 0px); |
1666 | } | |
1667 | ||
1668 | #star-button[starred="true"]:hover { | |
1669 | -moz-image-region: rect(0px 32px 16px 16px); | |
1670 | } | |
1671 | ||
1672 | #star-button[starred="true"]:hover:active { | |
1673 | -moz-image-region: rect(0px 48px 16px 32px); | |
acb0e9b8 | 1674 | } |
319c6529 RK |
1675 | |
1676 | /* bookmarking panel */ | |
1677 | #editBookmarkPanelStarIcon { | |
1678 | list-style-image: url("chrome://browser/skin/places/starred48.png"); | |
1679 | width: 48px; | |
1680 | height: 48px; | |
acb0e9b8 | 1681 | } |
319c6529 RK |
1682 | |
1683 | #editBookmarkPanelStarIcon[unstarred] { | |
1684 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); | |
acb0e9b8 | 1685 | } |
1686 | ||
319c6529 RK |
1687 | #editBookmarkPanelTitle { |
1688 | font-size: 130%; | |
acb0e9b8 | 1689 | } |
319c6529 RK |
1690 | |
1691 | #editBookmarkPanelHeader, | |
1692 | #editBookmarkPanelContent { | |
1693 | margin-bottom: .5em; | |
acb0e9b8 | 1694 | } |
319c6529 RK |
1695 | |
1696 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ | |
1697 | #editBMPanel_folderTree { | |
1698 | min-width: 27em; | |
acb0e9b8 | 1699 | } |
1700 | ||
f993773d | 1701 | .panel-promo-box { |
5a3cfc14 | 1702 | margin: 5px -6px -6px; |
f0eab82c | 1703 | padding: 5px; |
889649fd | 1704 | border-top: 1px solid #9C9CFF; |
f0eab82c RK |
1705 | border-bottom-left-radius: 5px; |
1706 | border-bottom-right-radius: 5px; | |
f993773d RK |
1707 | } |
1708 | ||
1709 | .panel-promo-icon { | |
1710 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); | |
1711 | -moz-margin-end: 10px; | |
1712 | vertical-align: middle; | |
1713 | } | |
1714 | ||
1715 | .panel-promo-closebutton { | |
1716 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
f0eab82c RK |
1717 | -moz-margin-end: -3px; |
1718 | margin-top: -3px; | |
f993773d RK |
1719 | } |
1720 | ||
1721 | .panel-promo-closebutton:hover { | |
1722 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
1723 | } | |
1724 | ||
1725 | .panel-promo-closebutton:hover:active { | |
1726 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
1727 | } | |
1728 | ||
1729 | .panel-promo-closebutton > .toolbarbutton-text { | |
1730 | padding: 0; | |
1731 | margin: 0; | |
1732 | } | |
1733 | ||
319c6529 RK |
1734 | /* ::::: content area ::::: */ |
1735 | ||
1736 | #sidebar { | |
1737 | background-color: Window; | |
acb0e9b8 | 1738 | } |
319c6529 RK |
1739 | |
1740 | #sidebar-title { | |
1741 | -moz-padding-start: 0px; | |
acb0e9b8 | 1742 | } |
319c6529 RK |
1743 | |
1744 | /* ::::: throbber ::::: */ | |
1745 | ||
1746 | #navigator-throbber { | |
1747 | width: 16px; | |
1748 | min-height: 16px; | |
1749 | margin: 0 3px; | |
acb0e9b8 | 1750 | } |
1751 | ||
319c6529 | 1752 | #navigator-throbber[busy="true"] { |
95f333af | 1753 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
acb0e9b8 | 1754 | } |
319c6529 RK |
1755 | |
1756 | #navigator-throbber, | |
1757 | #wrapper-navigator-throbber > #navigator-throbber { | |
95f333af | 1758 | list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png"); |
acb0e9b8 | 1759 | } |
319c6529 RK |
1760 | |
1761 | /* Tabstrip */ | |
b36fc72e | 1762 | |
319c6529 RK |
1763 | #TabsToolbar { |
1764 | min-height: 0; | |
1765 | padding: 0; | |
b36fc72e RK |
1766 | -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); |
1767 | } | |
1768 | ||
1769 | #TabsToolbar .toolbar-holder { | |
c1f7cc84 | 1770 | background-color: #000000; /* correct effect of being an actual toolbar */ |
acb0e9b8 | 1771 | } |
1772 | ||
b36fc72e | 1773 | #main-window[disablechrome] #TabsToolbar, |
319c6529 | 1774 | #TabsToolbar[tabsontop="false"] { |
8b5fc82e | 1775 | border-bottom: 1px solid #008484; |
acb0e9b8 | 1776 | } |
319c6529 | 1777 | |
319c6529 RK |
1778 | .tabbrowser-tab, |
1779 | .tabs-newtab-button { | |
1780 | margin-top: 0px; | |
acb0e9b8 | 1781 | } |
319c6529 | 1782 | |
57fc408c RK |
1783 | .tabbrowser-tab{ |
1784 | padding: 1px 4px 2px; | |
1785 | } | |
1786 | ||
1787 | .tabbrowser-tab:first-of-type { | |
1788 | -moz-margin-start: 2px; | |
1789 | } | |
1790 | ||
1791 | .tabs-newtab-button { | |
1792 | border-radius: 8px 8px 0px 0px; | |
1793 | -moz-margin-start: 0; | |
1794 | } | |
1795 | ||
1796 | .tabs-newtab-button:not(:hover) { | |
1797 | background-color: #C09070; | |
1798 | } | |
1799 | ||
319c6529 RK |
1800 | .tabbrowser-tab:hover, |
1801 | .tabs-newtab-button:hover { | |
acb0e9b8 | 1802 | } |
319c6529 RK |
1803 | |
1804 | .tabbrowser-tab[selected="true"] { | |
acb0e9b8 | 1805 | } |
1806 | ||
9abeb12c RK |
1807 | #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { |
1808 | } | |
1809 | ||
319c6529 | 1810 | .tabbrowser-tab:-moz-lwtheme { |
acb0e9b8 | 1811 | } |
319c6529 RK |
1812 | |
1813 | .tabbrowser-tab[selected="true"]:-moz-lwtheme { | |
acb0e9b8 | 1814 | } |
319c6529 RK |
1815 | |
1816 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), | |
1817 | .tabs-newtab-button:-moz-lwtheme-brighttext { | |
acb0e9b8 | 1818 | } |
1819 | ||
319c6529 RK |
1820 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, |
1821 | .tabs-newtab-button:-moz-lwtheme-brighttext:hover { | |
acb0e9b8 | 1822 | } |
319c6529 RK |
1823 | |
1824 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), | |
1825 | .tabs-newtab-button:-moz-lwtheme-darktext { | |
acb0e9b8 | 1826 | } |
319c6529 RK |
1827 | |
1828 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, | |
1829 | .tabs-newtab-button:-moz-lwtheme-darktext:hover { | |
acb0e9b8 | 1830 | } |
1831 | ||
319c6529 RK |
1832 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { |
1833 | background-color: #E7ADE7; | |
613daf44 | 1834 | } |
319c6529 | 1835 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { |
dbd844cb | 1836 | background-color: #3333FF; |
319c6529 | 1837 | color: #000000; |
613daf44 | 1838 | } |
319c6529 RK |
1839 | |
1840 | .tab-throbber, | |
1841 | .tab-icon-image { | |
1842 | width: 16px; | |
1843 | height: 16px; | |
dce90fef | 1844 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 1845 | -moz-image-region: auto; |
319c6529 | 1846 | -moz-margin-end: 3px; |
613daf44 | 1847 | } |
1848 | ||
319c6529 | 1849 | .tab-throbber { |
95f333af | 1850 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); |
613daf44 | 1851 | } |
319c6529 RK |
1852 | |
1853 | .tab-throbber[progress] { | |
95f333af | 1854 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
613daf44 | 1855 | } |
319c6529 | 1856 | |
319c6529 RK |
1857 | .tab-throbber[pinned], |
1858 | .tab-icon-image[pinned] { | |
1859 | -moz-margin-start: 2px; | |
1860 | -moz-margin-end: 2px; | |
613daf44 | 1861 | } |
319c6529 RK |
1862 | |
1863 | /* tabbrowser-tab focus ring */ | |
1864 | .tabbrowser-tab:focus > .tab-stack { | |
1865 | outline: 1px dotted; | |
613daf44 | 1866 | } |
319c6529 | 1867 | |
8ad8bf83 | 1868 | /* Tab DnD indicator */ |
319c6529 RK |
1869 | .tab-drop-indicator { |
1870 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); | |
9abeb12c | 1871 | margin-bottom: -11px; |
613daf44 | 1872 | } |
1873 | ||
319c6529 RK |
1874 | /* Tab close button */ |
1875 | .tab-close-button { | |
1876 | border: none; | |
1877 | padding: 0px; | |
57fc408c | 1878 | margin-top: 1px; |
319c6529 RK |
1879 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
1880 | } | |
acb0e9b8 | 1881 | |
319c6529 RK |
1882 | .tab-close-button:hover, |
1883 | .tab-close-button:hover[selected="true"] { | |
1884 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1885 | } |
319c6529 RK |
1886 | |
1887 | .tab-close-button:hover:active, | |
1888 | .tab-close-button:hover:active[selected="true"] { | |
1889 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1890 | } |
319c6529 | 1891 | |
319c6529 RK |
1892 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
1893 | ||
319c6529 RK |
1894 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
1895 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
319c6529 RK |
1896 | margin: 0; |
1897 | padding-top: 0; | |
1898 | padding-bottom: 0; | |
acb0e9b8 | 1899 | } |
319c6529 | 1900 | |
319c6529 RK |
1901 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
1902 | background-color: #008484; | |
acb0e9b8 | 1903 | } |
319c6529 RK |
1904 | |
1905 | .tabs-newtab-button > .toolbarbutton-icon { | |
1906 | margin-top: -1px; | |
1907 | margin-bottom: -1px; | |
acb0e9b8 | 1908 | } |
319c6529 RK |
1909 | |
1910 | .tabs-newtab-button, | |
1911 | #TabsToolbar > #new-tab-button, | |
1912 | #TabsToolbar > toolbarpaletteitem > #new-tab-button { | |
38cfeb47 | 1913 | list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); |
319c6529 | 1914 | -moz-image-region: rect(0, 16px, 18px, 0); |
acb0e9b8 | 1915 | } |
1916 | ||
319c6529 | 1917 | .tabs-newtab-button { |
c1f7cc84 RK |
1918 | width: 28px; |
1919 | } | |
1920 | ||
1921 | #TabsToolbar > #new-tab-button { | |
1922 | width: 26px; | |
acb0e9b8 | 1923 | } |
319c6529 | 1924 | |
8b5fc82e | 1925 | .tabs-newtab-button, |
38cfeb47 RK |
1926 | .tabs-newtab-button:hover, |
1927 | #TabsToolbar > #new-tab-button:hover { | |
319c6529 | 1928 | -moz-image-region: rect(0, 32px, 18px, 16px); |
acb0e9b8 | 1929 | } |
319c6529 RK |
1930 | |
1931 | #alltabs-button { | |
8da9da4e | 1932 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
acb0e9b8 | 1933 | } |
1934 | ||
f9fc08c7 | 1935 | #alltabs-button > .toolbarbutton-menu-dropmarker { |
319c6529 | 1936 | display: none; |
acb0e9b8 | 1937 | } |
319c6529 | 1938 | |
f9fc08c7 RK |
1939 | #alltabs-button:hover, |
1940 | #alltabs-button:hover:active, | |
1941 | #alltabs-button[open="true"] { | |
8da9da4e | 1942 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
acb0e9b8 | 1943 | } |
319c6529 RK |
1944 | |
1945 | /* All tabs menupopup */ | |
1946 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
dce90fef | 1947 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 1948 | -moz-image-region: auto; |
acb0e9b8 | 1949 | } |
1950 | ||
319c6529 RK |
1951 | .alltabs-item[selected="true"] { |
1952 | font-weight: bold; | |
acb0e9b8 | 1953 | } |
319c6529 RK |
1954 | |
1955 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
1956 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 1957 | } |
319c6529 | 1958 | |
85cfb236 | 1959 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
b1234db8 RK |
1960 | background-color: #402800; |
1961 | } | |
1962 | ||
319c6529 RK |
1963 | /* Tabstrip close button */ |
1964 | .tabs-closebutton { | |
1965 | -moz-box-flex: 1; | |
1966 | margin: 0px; | |
1967 | padding: 2px; | |
1968 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
acb0e9b8 | 1969 | } |
1970 | ||
b36fc72e RK |
1971 | .tabs-closebutton > .toolbarbutton-icon { |
1972 | } | |
1973 | ||
8da9da4e RK |
1974 | .tabs-closebutton > .toolbarbutton-text { |
1975 | display: none; | |
1976 | } | |
1977 | ||
319c6529 RK |
1978 | .tabs-closebutton:hover, |
1979 | .tabs-closebutton:hover:active { | |
1980 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1981 | } |
319c6529 RK |
1982 | |
1983 | toolbarbutton.chevron { | |
1984 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
acb0e9b8 | 1985 | } |
319c6529 RK |
1986 | |
1987 | toolbarbutton.chevron:hover { | |
1988 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; | |
acb0e9b8 | 1989 | } |
1990 | ||
319c6529 RK |
1991 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
1992 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { | |
71a617ff | 1993 | transform: scaleX(-1); |
acb0e9b8 | 1994 | } |
319c6529 RK |
1995 | |
1996 | toolbarbutton.chevron > .toolbarbutton-text, | |
1997 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
1998 | display: none; | |
acb0e9b8 | 1999 | } |
319c6529 RK |
2000 | |
2001 | toolbarbutton.chevron > .toolbarbutton-icon { | |
2002 | margin: 0; | |
acb0e9b8 | 2003 | } |
2004 | ||
319c6529 RK |
2005 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { |
2006 | display: -moz-box; /* display chevron icon in text mode */ | |
acb0e9b8 | 2007 | } |
319c6529 RK |
2008 | |
2009 | #sidebar-throbber[loading="true"] { | |
2010 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
2011 | -moz-margin-end: 4px; | |
acb0e9b8 | 2012 | } |
319c6529 RK |
2013 | |
2014 | /* Bookmarks toolbar */ | |
2015 | #PlacesToolbarDropIndicator { | |
8da9da4e | 2016 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
acb0e9b8 | 2017 | } |
2018 | ||
319c6529 RK |
2019 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
2020 | background-color: #008484 !important; | |
2021 | color: #FFCF00 !important; | |
613daf44 | 2022 | } |
319c6529 RK |
2023 | |
2024 | /* rules for menupopup drop indicators */ | |
2025 | .menupopup-drop-indicator-bar { | |
2026 | position: relative; | |
2027 | /* these two margins must together compensate the indicator's height */ | |
2028 | margin-top: -1px; | |
2029 | margin-bottom: -1px; | |
613daf44 | 2030 | } |
319c6529 RK |
2031 | |
2032 | .menupopup-drop-indicator { | |
2033 | list-style-image: none; | |
2034 | height: 2px; | |
2035 | -moz-margin-end: -4em; | |
2036 | background-color: #008484; | |
613daf44 | 2037 | } |
2038 | ||
319c6529 RK |
2039 | /* ::::: Identity Indicator Styling ::::: */ |
2040 | ||
2041 | /* Popup Icons */ | |
2042 | #identity-popup-icon { | |
2043 | height: 64px; | |
2044 | width: 64px; | |
2045 | padding: 0; | |
2046 | list-style-image: url("chrome://browser/skin/identity.png"); | |
2047 | -moz-image-region: rect(0px, 64px, 64px, 0px); | |
613daf44 | 2048 | } |
319c6529 RK |
2049 | |
2050 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { | |
2051 | -moz-image-region: rect(64px, 64px, 128px, 0px); | |
613daf44 | 2052 | } |
319c6529 RK |
2053 | |
2054 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { | |
2055 | -moz-image-region: rect(128px, 64px, 192px, 0px); | |
613daf44 | 2056 | } |
2057 | ||
319c6529 RK |
2058 | /* Popup Body Text */ |
2059 | .identity-popup-description { | |
2060 | white-space: pre-wrap; | |
2061 | -moz-padding-start: 15px; | |
2062 | margin: 2px 0 4px; | |
613daf44 | 2063 | } |
319c6529 RK |
2064 | |
2065 | .identity-popup-label { | |
2066 | white-space: pre-wrap; | |
2067 | -moz-padding-start: 15px; | |
2068 | margin: 0; | |
613daf44 | 2069 | } |
319c6529 | 2070 | |
5517da5a | 2071 | #identity-popup-content-host, |
319c6529 RK |
2072 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
2073 | font-size: 1.2em; | |
613daf44 | 2074 | } |
2075 | ||
319c6529 RK |
2076 | #identity-popup-content-host { |
2077 | margin-top: 3px; | |
2078 | margin-bottom: 5px; | |
2079 | font-weight: bold; | |
2080 | max-width: 300px; | |
2081 | } | |
613daf44 | 2082 | |
319c6529 RK |
2083 | #identity-popup-content-owner { |
2084 | margin-top: 4px; | |
2085 | margin-bottom: 0 !important; | |
2086 | font-weight: bold; | |
2087 | max-width: 300px; | |
2088 | } | |
613daf44 | 2089 | |
319c6529 RK |
2090 | .verifiedDomain > #identity-popup-content-owner { |
2091 | font-weight: normal; | |
613daf44 | 2092 | } |
2093 | ||
319c6529 RK |
2094 | #identity-popup-content-verifier { |
2095 | margin: 4px 0 2px; | |
613daf44 | 2096 | } |
2097 | ||
319c6529 RK |
2098 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
2099 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { | |
2100 | margin-top: 10px; | |
2101 | -moz-margin-start: -24px; | |
613daf44 | 2102 | } |
2103 | ||
319c6529 RK |
2104 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
2105 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { | |
2106 | list-style-image: url("chrome://browser/skin/Secure24.png"); | |
613daf44 | 2107 | } |
2108 | ||
319c6529 RK |
2109 | #identity-popup-more-info-button { |
2110 | margin-top: 6px; | |
2111 | margin-bottom: 0; | |
2112 | -moz-margin-end: 0; | |
613daf44 | 2113 | } |
acb0e9b8 | 2114 | |
319c6529 RK |
2115 | .popup-notification-icon { |
2116 | width: 64px; | |
2117 | height: 64px; | |
2118 | -moz-margin-end: 10px; | |
2119 | } | |
acb0e9b8 | 2120 | |
319c6529 RK |
2121 | .popup-notification-icon[popupid="geolocation"] { |
2122 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); | |
acb0e9b8 | 2123 | } |
2124 | ||
319c6529 RK |
2125 | .popup-notification-icon[popupid="xpinstall-disabled"], |
2126 | .popup-notification-icon[popupid="addon-progress"], | |
2127 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
2128 | .popup-notification-icon[popupid="addon-install-blocked"], | |
2129 | .popup-notification-icon[popupid="addon-install-failed"], | |
a40f6a79 | 2130 | .popup-notification-icon[popupid="addon-install-complete"] { |
319c6529 RK |
2131 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
2132 | width: 32px; | |
2133 | height: 32px; | |
acb0e9b8 | 2134 | } |
319c6529 | 2135 | |
a40f6a79 | 2136 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
fcfb76ce | 2137 | list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); |
a40f6a79 RK |
2138 | } |
2139 | ||
82b4252f RK |
2140 | .popup-notification-icon[popupid="web-notifications"] { |
2141 | list-style-image: url("chrome://browser/skin/notification-64.png"); | |
2142 | } | |
2143 | ||
319c6529 RK |
2144 | .addon-progress-description { |
2145 | width: 350px; | |
2146 | max-width: 350px; | |
acb0e9b8 | 2147 | } |
319c6529 RK |
2148 | |
2149 | .popup-progress-label, | |
2150 | .popup-progress-meter { | |
2151 | -moz-margin-start: 0; | |
2152 | -moz-margin-end: 0; | |
acb0e9b8 | 2153 | } |
319c6529 RK |
2154 | |
2155 | .popup-progress-cancel { | |
2156 | -moz-appearance: none; | |
2157 | background: transparent; | |
2158 | border: none; | |
2159 | padding: 0; | |
2160 | margin: 0; | |
2161 | min-height: 0; | |
2162 | min-width: 0; | |
2163 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); | |
2164 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
acb0e9b8 | 2165 | } |
319c6529 RK |
2166 | |
2167 | .popup-progress-cancel:hover { | |
2168 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
acb0e9b8 | 2169 | } |
2170 | ||
319c6529 RK |
2171 | .popup-progress-cancel:active { |
2172 | -moz-image-region: rect(32px, 32px, 48px, 16px); | |
2173 | } | |
acb0e9b8 | 2174 | |
319c6529 RK |
2175 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
2176 | .popup-notification-icon[popupid="indexedDB-quota-prompt"] { | |
2177 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); | |
acb0e9b8 | 2178 | } |
2179 | ||
319c6529 RK |
2180 | .popup-notification-icon[popupid="password-save"], |
2181 | .popup-notification-icon[popupid="password-change"] { | |
2182 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
acb0e9b8 | 2183 | } |
2184 | ||
8d7ef0d9 RK |
2185 | .popup-notification-icon[popupid="webapps-install"] { |
2186 | list-style-image: url("chrome://browser/skin/webapps-64.png"); | |
2187 | } | |
2188 | ||
56ab361a RK |
2189 | .popup-notification-icon[popupid="mixed-content-blocked"] { |
2190 | list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png"); | |
2191 | } | |
2192 | ||
0142a07b | 2193 | .popup-notification-icon[popupid="webRTC-sharingDevices"], |
7bc075b6 RK |
2194 | .popup-notification-icon[popupid="webRTC-shareDevices"] { |
2195 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); | |
2196 | } | |
2197 | ||
82b4252f RK |
2198 | .popup-notification-icon[popupid="pointerLock"] { |
2199 | list-style-image: url("chrome://browser/skin/pointerLock-64.png"); | |
2200 | } | |
2201 | ||
319c6529 RK |
2202 | /* Notification icon box */ |
2203 | #notification-popup-box { | |
f993773d RK |
2204 | position: relative; |
2205 | background-color: #000000; | |
2206 | background-clip: padding-box; | |
2207 | padding-left: 3px; | |
5517da5a | 2208 | padding-right: 8px; |
f0eab82c | 2209 | border-radius: 3px 0 0 3px; |
82b4252f | 2210 | border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
f993773d | 2211 | -moz-margin-end: -8px; |
5517da5a | 2212 | border-right-width: 8px; |
f993773d RK |
2213 | } |
2214 | ||
8ad8bf83 RK |
2215 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
2216 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2217 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box { |
5517da5a | 2218 | /* padding-left: 5px; */ |
f993773d RK |
2219 | } |
2220 | ||
2221 | #notification-popup-box:-moz-locale-dir(rtl), | |
2222 | .notification-anchor-icon:-moz-locale-dir(rtl) { | |
71a617ff | 2223 | transform: scaleX(-1); |
319c6529 | 2224 | } |
acb0e9b8 | 2225 | |
319c6529 | 2226 | .notification-anchor-icon { |
acb0e9b8 | 2227 | width: 16px; |
2228 | height: 16px; | |
85cfb236 | 2229 | margin: 0 2px; |
acb0e9b8 | 2230 | } |
2231 | ||
319c6529 | 2232 | .notification-anchor-icon:-moz-focusring { |
f0eab82c RK |
2233 | outline: 1px dotted #008484; |
2234 | /* outline-offset: -3px; */ | |
acb0e9b8 | 2235 | } |
2236 | ||
ab799a7a RK |
2237 | #default-notification-icon { |
2238 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
2239 | } | |
2240 | ||
9585a561 RK |
2241 | #identity-notification-icon { |
2242 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); | |
2243 | } | |
2244 | ||
319c6529 RK |
2245 | #geo-notification-icon { |
2246 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); | |
acb0e9b8 | 2247 | } |
2248 | ||
319c6529 RK |
2249 | #addons-notification-icon { |
2250 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
acb0e9b8 | 2251 | } |
2252 | ||
319c6529 RK |
2253 | #indexedDB-notification-icon { |
2254 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
acb0e9b8 | 2255 | } |
2256 | ||
319c6529 RK |
2257 | #password-notification-icon { |
2258 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
acb0e9b8 | 2259 | } |
2260 | ||
8d7ef0d9 RK |
2261 | #webapps-notification-icon { |
2262 | list-style-image: url("chrome://browser/skin/webapps-16.png"); | |
2263 | } | |
2264 | ||
a40f6a79 RK |
2265 | #plugins-notification-icon { |
2266 | list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); | |
2267 | } | |
2268 | ||
990cba4b RK |
2269 | #blocked-plugins-notification-icon { |
2270 | list-style-image: url("chrome://mozapps/skin/plugins/notifyPluginBlocked.png"); | |
2271 | } | |
2272 | ||
6adbc9a6 RK |
2273 | #notification-popup-box[hidden] { |
2274 | /* Override display:none to make the pluginBlockedNotification animation work | |
2275 | when showing the notification repeatedly. */ | |
2276 | display: -moz-box; | |
2277 | visibility: collapse; | |
2278 | } | |
2279 | ||
990cba4b RK |
2280 | #blocked-plugins-notification-icon[showing] { |
2281 | animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; | |
2282 | } | |
2283 | ||
2284 | @keyframes pluginBlockedNotification { | |
2285 | from { | |
2286 | opacity: 0; | |
2287 | } | |
2288 | to { | |
2289 | opacity: 1; | |
2290 | } | |
2291 | } | |
2292 | ||
56ab361a RK |
2293 | #mixed-content-blocked-notification-icon { |
2294 | list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png"); | |
2295 | } | |
2296 | ||
0142a07b | 2297 | #webRTC-shareDevices-notification-icon { |
7bc075b6 RK |
2298 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); |
2299 | } | |
2300 | ||
6adbc9a6 RK |
2301 | #webRTC-sharingDevices-notification-icon { |
2302 | list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); | |
2303 | } | |
2304 | ||
82b4252f RK |
2305 | #web-notifications-notification-icon { |
2306 | list-style-image: url("chrome://browser/skin/notification-16.png"); | |
2307 | } | |
2308 | ||
2309 | #pointerLock-notification-icon { | |
2310 | list-style-image: url("chrome://browser/skin/pointerLock-16.png"); | |
2311 | } | |
2312 | #pointerLock-cancel { | |
2313 | margin: 0px; | |
2314 | } | |
2315 | ||
319c6529 RK |
2316 | #identity-popup-container { |
2317 | min-width: 280px; | |
2318 | } | |
acb0e9b8 | 2319 | |
319c6529 | 2320 | #download-monitor { |
a736ce46 | 2321 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
319c6529 | 2322 | -moz-image-region: rect(0, 108px, 18px, 90px); |
acb0e9b8 | 2323 | } |
2324 | ||
319c6529 RK |
2325 | /* Bookmarks roots menu-items */ |
2326 | #appmenu_subscribeToPage:not([disabled]), | |
2327 | #appmenu_subscribeToPageMenu, | |
2328 | #subscribeToPageMenuitem:not([disabled]), | |
2329 | #subscribeToPageMenupopup, | |
2330 | #BMB_subscribeToPageMenuitem:not([disabled]), | |
2331 | #BMB_subscribeToPageMenupopup { | |
2332 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); | |
613daf44 | 2333 | } |
2334 | ||
319c6529 RK |
2335 | #bookmarksToolbarFolderMenu, |
2336 | #appmenu_bookmarksToolbar, | |
2337 | #BMB_bookmarksToolbar { | |
8da9da4e | 2338 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
319c6529 RK |
2339 | -moz-image-region: auto; |
2340 | } | |
acb0e9b8 | 2341 | |
319c6529 RK |
2342 | #appmenu_unsortedBookmarks, |
2343 | #BMB_unsortedBookmarks { | |
8da9da4e | 2344 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
319c6529 | 2345 | -moz-image-region: auto; |
acb0e9b8 | 2346 | } |
2347 | ||
319c6529 | 2348 | /* ::::: Keyboard UI Panel ::::: */ |
acb0e9b8 | 2349 | |
319c6529 RK |
2350 | .KUI-panel { |
2351 | color: #FF9F00; | |
2352 | border-style: none; | |
2353 | border-radius: 20px; | |
acb0e9b8 | 2354 | } |
2355 | ||
319c6529 RK |
2356 | .KUI-panel[level="top"] { |
2357 | /*background-color: rgba(27%,27%,27%,.65);*/ | |
acb0e9b8 | 2358 | } |
2359 | ||
319c6529 RK |
2360 | /* Ctrl-Tab */ |
2361 | ||
2362 | #ctrlTab-panel { | |
2363 | padding: 20px 10px 10px; | |
2364 | font-weight: bold; | |
acb0e9b8 | 2365 | } |
2366 | ||
319c6529 RK |
2367 | .ctrlTab-favicon[src] { |
2368 | background-color: #000000; | |
2369 | width: 20px; | |
2370 | height: 20px; | |
2371 | padding: 2px; | |
2372 | } | |
acb0e9b8 | 2373 | |
319c6529 | 2374 | .ctrlTab-preview-inner > .tabPreview-canvas { |
acb0e9b8 | 2375 | } |
2376 | ||
319c6529 RK |
2377 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
2378 | margin-bottom: 2px; | |
acb0e9b8 | 2379 | } |
2380 | ||
319c6529 RK |
2381 | .ctrlTab-preview-inner { |
2382 | padding-bottom: 10px; | |
acb0e9b8 | 2383 | } |
2384 | ||
319c6529 RK |
2385 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
2386 | padding: 10px; | |
2387 | background-color: #000000; | |
2388 | border-radius: .5em; | |
acb0e9b8 | 2389 | } |
2390 | ||
319c6529 RK |
2391 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
2392 | color: white; | |
2393 | background-color: #000000; | |
2394 | text-shadow: none; | |
2395 | padding: 8px; | |
2396 | border: 2px solid #9C9CFF; | |
2397 | border-radius: .5em; | |
acb0e9b8 | 2398 | } |
2399 | ||
319c6529 RK |
2400 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
2401 | margin: -10px -10px 0; | |
acb0e9b8 | 2402 | } |
2403 | ||
319c6529 RK |
2404 | #ctrlTab-showAll { |
2405 | margin-top: .5em; | |
acb0e9b8 | 2406 | } |
2407 | ||
b36fc72e RK |
2408 | /* Add-on bar */ |
2409 | ||
2410 | #addon-bar { | |
2411 | min-height: 20px; | |
2412 | border-top: 3px solid #000000; | |
3e6e0e5c | 2413 | border-bottom-width: 0; |
b36fc72e RK |
2414 | } |
2415 | ||
2416 | #addon-bar .toolbar-holder { | |
2417 | background-color: #8050B0; | |
2418 | color: #FFCF00; | |
2419 | } | |
2420 | ||
2421 | #addon-bar .toolbar-holder { | |
2422 | background-color: #8050B0; | |
2423 | color: #FFCF00; | |
2424 | } | |
2425 | ||
2426 | #addon-bar .toolbar-startcap, | |
2427 | #addon-bar .toolbar-endcap{ | |
2428 | background-color: #6000CF; | |
2429 | } | |
2430 | ||
319c6529 | 2431 | #status-bar { |
b36fc72e | 2432 | -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar"); |
319c6529 RK |
2433 | margin-top: .3em; |
2434 | border-width: 0; | |
613daf44 | 2435 | } |
2436 | ||
e0c47e26 RK |
2437 | #addon-bar[customizing] > #status-bar { |
2438 | opacity: .5; | |
2439 | /* background-image: -moz-repeating-linear-gradient(-45deg, | |
2440 | rgba(255,255,255,.3), rgba(255,255,255,.3) 5px, | |
2441 | rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/ | |
2442 | } | |
2443 | ||
319c6529 RK |
2444 | /* Remove all borders from statusbarpanel children of |
2445 | the statusbar. | |
2446 | #status-bar > statusbarpanel { | |
2447 | border-width: 0; | |
2448 | } */ | |
2449 | ||
319c6529 RK |
2450 | #addonbar-closebutton { |
2451 | border: none; | |
2452 | padding: 3px 5px; | |
2453 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
613daf44 | 2454 | } |
2455 | ||
319c6529 RK |
2456 | #addonbar-closebutton:hover, |
2457 | #addonbar-closebutton:hover:active { | |
2458 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
613daf44 | 2459 | } |
9abeb12c RK |
2460 | |
2461 | /* Status panel */ | |
2462 | ||
2463 | .statuspanel-label { | |
2464 | margin: 0; | |
2465 | padding: 2px 4px; | |
38cfeb47 | 2466 | background: #404000; |
9abeb12c RK |
2467 | border: 1px none #9C9CFF; |
2468 | border-top-style: solid; | |
2469 | color: #FF9F00; | |
2470 | text-shadow: none; | |
2471 | } | |
2472 | ||
2473 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), | |
2474 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { | |
2475 | border-right-style: solid; | |
2476 | border-top-right-radius: .3em; | |
2477 | margin-right: 1em; | |
2478 | } | |
2479 | ||
2480 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), | |
2481 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { | |
2482 | border-left-style: solid; | |
2483 | border-top-left-radius: .3em; | |
2484 | margin-left: 1em; | |
2485 | } | |
3e6e0e5c RK |
2486 | |
2487 | /* HACK to abolish devily color on main content */ | |
2488 | ||
2489 | #content { | |
2490 | background-color: transparent !important; | |
2491 | } | |
dce90fef RK |
2492 | |
2493 | /* Highlighter */ | |
2494 | ||
0142a07b | 2495 | .highlighter-outline { |
fcfb76ce RK |
2496 | box-shadow: 0 0 0 1px black; |
2497 | outline: 1px dashed white; | |
dce90fef RK |
2498 | } |
2499 | ||
0142a07b | 2500 | .highlighter-outline[locked] { |
fcfb76ce RK |
2501 | box-shadow: 0 0 0 1px rgba(0,0,0,0.3); |
2502 | outline-color: rgba(255,255,255,0.7); | |
dce90fef | 2503 | } |
4c765db1 | 2504 | |
0142a07b | 2505 | /* Developer toolbar */ |
8ad8bf83 | 2506 | |
37953ab4 | 2507 | #developer-toolbar { |
8ad8bf83 RK |
2508 | border-top: 3px solid #000000; |
2509 | border-bottom: none; | |
2510 | } | |
2511 | ||
37953ab4 RK |
2512 | #developer-toolbar .toolbar-holder { |
2513 | background-color: #8050B0; | |
2514 | color: #FFCF00; | |
2515 | } | |
2516 | ||
2517 | #developer-toolbar .toolbar-holder { | |
2518 | background-color: #8050B0; | |
2519 | color: #FFCF00; | |
2520 | } | |
2521 | ||
2522 | #developer-toolbar .toolbar-startcap, | |
2523 | #developer-toolbar .toolbar-endcap{ | |
2524 | background-color: #6000CF; | |
2525 | } | |
2526 | ||
8ad8bf83 RK |
2527 | /* Highlighter - Node Infobar */ |
2528 | ||
0142a07b | 2529 | .highlighter-nodeinfobar { |
a40f6a79 RK |
2530 | color: #FF9F00; |
2531 | border: 1px solid rgba(156, 156, 255, .5); | |
2532 | border-radius: 3px; | |
2533 | background-color: #000000; | |
2534 | background-clip: padding-box; | |
2535 | } | |
2536 | ||
8ad8bf83 RK |
2537 | /* Highlighter - Node Infobar - text */ |
2538 | ||
0142a07b | 2539 | .highlighter-nodeinfobar-text { |
a40f6a79 | 2540 | /* 100% - size of the buttons and margins */ |
c29b709d | 2541 | max-width: calc(100% - 2 * (26px + 6px)); |
a40f6a79 RK |
2542 | padding-bottom: 1px; |
2543 | } | |
2544 | ||
0142a07b | 2545 | html|*.highlighter-nodeinfobar-tagname { |
8ad8bf83 RK |
2546 | color: #FFCF00; |
2547 | } | |
2548 | ||
0142a07b | 2549 | html|*.highlighter-nodeinfobar-id { |
8ad8bf83 RK |
2550 | color: #9C9CFF; |
2551 | } | |
2552 | ||
0142a07b | 2553 | html|*.highlighter-nodeinfobar-pseudo-classes { |
eec397be | 2554 | color: #FF9F00; |
8ad8bf83 RK |
2555 | } |
2556 | ||
a40f6a79 RK |
2557 | /* Highlighter - Node Infobar - buttons */ |
2558 | ||
2559 | .highlighter-nodeinfobar-button { | |
2560 | padding: 0; | |
2561 | width: 26px; | |
2562 | min-height: 26px; | |
2563 | } | |
2564 | ||
0142a07b | 2565 | .highlighter-nodeinfobar-inspectbutton { |
a40f6a79 RK |
2566 | list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); |
2567 | -moz-image-region: rect(0px 16px 16px 0px); | |
2568 | -moz-margin-start: 0px; | |
2569 | -moz-margin-end: 2px; | |
2570 | } | |
2571 | ||
0142a07b | 2572 | .highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) { |
a40f6a79 RK |
2573 | } |
2574 | ||
0142a07b RK |
2575 | .highlighter-nodeinfobar-inspectbutton:hover, |
2576 | .highlighter-nodeinfobar-inspectbutton:hover:active/*, | |
2577 | .highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton*/ { | |
a40f6a79 RK |
2578 | -moz-image-region: rect(0px 32px 16px 16px); |
2579 | } | |
2580 | ||
0142a07b | 2581 | .highlighter-nodeinfobar-menu { |
a40f6a79 RK |
2582 | } |
2583 | ||
0142a07b | 2584 | .highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) { |
a40f6a79 RK |
2585 | } |
2586 | ||
0142a07b | 2587 | .highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker { |
a40f6a79 RK |
2588 | -moz-box-align: center; |
2589 | -moz-margin-start: -1px; | |
2590 | } | |
2591 | ||
2592 | /* Highlighter - Node Infobar - box & arrow */ | |
2593 | ||
8ad8bf83 RK |
2594 | .highlighter-nodeinfobar-arrow { |
2595 | width: 14px; | |
2596 | height: 14px; | |
c29b709d | 2597 | -moz-margin-start: calc(50% - 7px); |
71a617ff | 2598 | transform: rotate(-45deg); |
8ad8bf83 RK |
2599 | border: 1px solid transparent; |
2600 | background-clip: padding-box; | |
2601 | background-repeat: no-repeat; | |
2602 | } | |
2603 | ||
0142a07b | 2604 | .highlighter-nodeinfobar-arrow-top { |
8ad8bf83 RK |
2605 | margin-bottom: -8px; |
2606 | margin-top: 8px; | |
2607 | border-right-color: rgba(0, 132, 132, .5); | |
2608 | border-top-color: rgba(0, 132, 132, .5); | |
0142a07b | 2609 | background-image: linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
2610 | } |
2611 | ||
0142a07b | 2612 | .highlighter-nodeinfobar-arrow-bottom { |
8ad8bf83 RK |
2613 | margin-top: -8px; |
2614 | margin-bottom: 8px; | |
2615 | border-left-color: rgba(0, 132, 132, .5); | |
2616 | border-bottom-color: rgba(0, 132, 132, .5); | |
0142a07b | 2617 | background-image: linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
2618 | } |
2619 | ||
0142a07b RK |
2620 | .highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar, |
2621 | .highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar { | |
8ad8bf83 RK |
2622 | box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset; |
2623 | } | |
2624 | ||
0142a07b | 2625 | .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { |
8ad8bf83 RK |
2626 | margin: 7px 0; |
2627 | } | |
2628 | ||
2629 | #full-screen-warning-message { | |
2630 | background-color: #000000; | |
2631 | color: #FF9F00; | |
8ad8bf83 RK |
2632 | border-radius: 8px; |
2633 | margin-top: 30px; | |
2634 | padding: 30px 50px; | |
2635 | box-shadow: 0 0 2px #9C9CFF; | |
2636 | } | |
2637 | ||
2638 | #full-screen-warning-container[obscure-browser] { | |
85cfb236 RK |
2639 | background-color: rgba(0,0,0,0.3); |
2640 | } | |
2641 | ||
2642 | .full-screen-description { | |
2643 | font-size: 150%; | |
2644 | } | |
2645 | ||
2646 | #full-screen-domain-text { | |
2647 | font-size: 300%; | |
8ad8bf83 RK |
2648 | } |
2649 | ||
85cfb236 RK |
2650 | .full-screen-approval-button, |
2651 | #full-screen-remember-decision { | |
2652 | font-size: 120%; | |
8ad8bf83 RK |
2653 | } |
2654 | ||
37953ab4 RK |
2655 | html|*#gcli-tooltip-frame, |
2656 | html|*#gcli-output-frame { | |
85cfb236 | 2657 | padding: 0; |
37953ab4 RK |
2658 | border-width: 0; |
2659 | background-color: transparent; | |
2660 | } | |
2661 | ||
2662 | #gcli-output, | |
2663 | #gcli-tooltip { | |
2664 | border-width: 0; | |
2665 | background-color: transparent; | |
2666 | margin-bottom: -2px; | |
85cfb236 RK |
2667 | } |
2668 | ||
2669 | .gclitoolbar-input-node, | |
2670 | .gclitoolbar-complete-node, | |
2671 | .gclitoolbar-prompt { | |
37953ab4 RK |
2672 | margin: 1px 3px; |
2673 | -moz-box-align: center; | |
2674 | padding-top: 0; | |
2675 | padding-bottom: 0; | |
2676 | padding-right: 4px; | |
2677 | background-color: transparent; | |
2678 | border-radius: 3px; | |
2679 | text-shadow: none; | |
85cfb236 RK |
2680 | } |
2681 | ||
2682 | .gclitoolbar-input-node { | |
37953ab4 RK |
2683 | padding-left: 20px; |
2684 | } | |
2685 | ||
2686 | .gclitoolbar-input-node:not([focused="true"]) { | |
2687 | border-color: transparent; | |
85cfb236 RK |
2688 | } |
2689 | ||
7bc075b6 RK |
2690 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { |
2691 | background-color: #008484; | |
2692 | color: #000000; | |
2693 | text-shadow: none; | |
2694 | } | |
2695 | ||
85cfb236 | 2696 | .gclitoolbar-complete-node { |
37953ab4 | 2697 | padding-left: 21px; |
85cfb236 RK |
2698 | background-color: transparent; |
2699 | color: transparent; | |
85cfb236 RK |
2700 | } |
2701 | ||
2702 | .gclitoolbar-prompt { | |
37953ab4 RK |
2703 | padding-left: 4px; |
2704 | padding-bottom: 2px; | |
85cfb236 RK |
2705 | font-size: 150%; |
2706 | font-weight: bold; | |
37953ab4 RK |
2707 | color: #E7ADE7; |
2708 | background-color: #000000; | |
85cfb236 RK |
2709 | } |
2710 | ||
37953ab4 | 2711 | .gclitoolbar-prompt-label, |
85cfb236 RK |
2712 | .gcli-in-incomplete, |
2713 | .gcli-in-error, | |
2714 | .gcli-in-ontab, | |
2715 | .gcli-in-todo, | |
2716 | .gcli-in-closebrace, | |
2717 | .gcli-in-param, | |
2718 | .gcli-in-valid { | |
2719 | margin: 0; | |
2720 | padding: 0; | |
2721 | } | |
2722 | ||
2723 | .gcli-in-incomplete { | |
2724 | border-bottom: 2px dotted #8050B0; | |
2725 | } | |
2726 | ||
2727 | .gcli-in-error { | |
2728 | border-bottom: 2px dotted #FF0000; | |
2729 | } | |
2730 | ||
2731 | .gcli-in-ontab { | |
2732 | color: #9C9CFF; | |
2733 | } | |
2734 | ||
2735 | .gcli-in-todo { | |
2736 | color: #795900; | |
2737 | } | |
2738 | ||
2739 | .gcli-in-closebrace { | |
2740 | color: #8050B0; | |
2741 | } | |
2742 | ||
37953ab4 | 2743 | /* Responsive Mode */ |
85cfb236 | 2744 | |
7bc075b6 RK |
2745 | .browserContainer[responsivemode] { |
2746 | background: #221500 url("chrome://browser/skin/devtools/responsive-background.png"); | |
37953ab4 RK |
2747 | padding: 0 20px 20px 20px; |
2748 | } | |
2749 | ||
7bc075b6 | 2750 | .browserStack[responsivemode] { |
37953ab4 RK |
2751 | box-shadow: 0 0 7px #9C9CFF; |
2752 | } | |
2753 | ||
2754 | .devtools-responsiveui-toolbar { | |
2755 | background: transparent; | |
2756 | margin: 10px 0; | |
2757 | padding: 0; | |
2758 | box-shadow: none; | |
2759 | border-bottom-width: 0; | |
2760 | } | |
2761 | ||
2762 | .devtools-responsiveui-toolbar > menulist, | |
2763 | .devtools-responsiveui-toolbar > toolbarbutton { | |
2764 | min-width: 22px; | |
2765 | border-radius: 0; | |
2766 | } | |
2767 | ||
2768 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, | |
2769 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { | |
2770 | margin-left: 0; | |
2771 | } | |
2772 | ||
2773 | .devtools-responsiveui-resizebar { | |
2774 | width: 7px; | |
2775 | height: 24px; | |
2776 | cursor: ew-resize; | |
71a617ff | 2777 | transform: translate(12px, -12px); |
37953ab4 RK |
2778 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); |
2779 | } | |
2780 | ||
2781 | .devtools-responsiveui-resizehandle { | |
2782 | width: 16px; | |
2783 | height: 16px; | |
2784 | cursor: se-resize; | |
71a617ff | 2785 | transform: translate(12px, 12px); |
37953ab4 | 2786 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); |
8d7ef0d9 | 2787 | } |
889649fd | 2788 | |
c29b709d RK |
2789 | /* Web Console */ |
2790 | ||
2791 | .web-console-frame { | |
2792 | /* border-bottom: 3px solid #000000; */ | |
2793 | } | |
2794 | ||
2795 | .web-console-frame[animated] { | |
2796 | transition: height 100ms; | |
2797 | } | |
2798 | ||
889649fd RK |
2799 | /* Developer Toolbar */ |
2800 | ||
0142a07b RK |
2801 | #developer-toolbar-toolbox-button { |
2802 | min-width: 18px; | |
2803 | } | |
2804 | ||
2805 | #developer-toolbar-toolbox-button > .toolbarbutton-text { | |
2806 | display: none; | |
2807 | } | |
2808 | ||
6adbc9a6 RK |
2809 | #developer-toolbar-toolbox-button > .toolbarbutton-icon { |
2810 | -moz-margin-end: 0; | |
2811 | } | |
2812 | ||
889649fd RK |
2813 | .developer-toolbar-button { |
2814 | min-width: 78px; | |
2815 | min-height: 21px; | |
2816 | margin: 0 1px; | |
2817 | list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png"); | |
2818 | } | |
2819 | ||
c29b709d | 2820 | .developer-toolbar-button[open=true], |
889649fd RK |
2821 | .developer-toolbar-button:active:hover, |
2822 | .developer-toolbar-button[checked=true] { | |
2823 | } | |
2824 | ||
2825 | .developer-toolbar-button[checked=true] { | |
2826 | } | |
2827 | ||
445863a2 RK |
2828 | #developer-toolbar-toolbox-button { |
2829 | -moz-image-region: rect(64px, 16px, 80px, 0); | |
2830 | } | |
2831 | ||
889649fd RK |
2832 | /* Error counter */ |
2833 | ||
0142a07b | 2834 | #developer-toolbar-toolbox-button[error-count]:before { |
889649fd RK |
2835 | color: #000000; |
2836 | min-width: 16px; | |
2837 | text-shadow: none; | |
2838 | background-color: #FF0000; | |
2839 | border-radius: 1px; | |
c29b709d | 2840 | -moz-margin-end: 5px; |
c54ac991 | 2841 | } |
e9c73590 | 2842 | |
348c0499 | 2843 | /* Social toolbar item */ |
e9c73590 | 2844 | |
0142a07b RK |
2845 | #social-provider-button { |
2846 | -moz-image-region: rect(0, 16px, 16px, 0); | |
2847 | } | |
2848 | ||
348c0499 RK |
2849 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
2850 | display: none; | |
e9c73590 RK |
2851 | } |
2852 | ||
82b4252f RK |
2853 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar #social-toolbar-item { |
2854 | margin-left: 2px; | |
2855 | margin-right: 2px; | |
2856 | } | |
2857 | ||
2858 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar #social-toolbar-item > .toolbarbutton-1 { | |
6adbc9a6 RK |
2859 | padding-left: 0; |
2860 | padding-right: 0; | |
e9c73590 RK |
2861 | } |
2862 | ||
82b4252f RK |
2863 | .toolbarbutton-badge-container { |
2864 | margin: 0; | |
2865 | padding: 0; | |
2866 | position: relative; | |
e9c73590 RK |
2867 | } |
2868 | ||
82b4252f RK |
2869 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container { |
2870 | padding: 2px 5px; | |
2871 | } | |
2872 | ||
2873 | .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon { | |
2874 | position: absolute; | |
2875 | top: 2px; | |
2876 | right: 2px; | |
2877 | } | |
2878 | ||
2879 | .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { | |
2880 | -moz-margin-end: 0; | |
e9c73590 RK |
2881 | } |
2882 | ||
82b4252f RK |
2883 | .toolbarbutton-badge[badge=""] { |
2884 | display: none; | |
2885 | } | |
2886 | .toolbarbutton-badge[badge]:not([badge=""])::after { | |
6adbc9a6 | 2887 | /* The |content| property is set in the content stylesheet. */ |
348c0499 RK |
2888 | font-size: 9px; |
2889 | font-weight: bold; | |
2890 | padding: 0 1px; | |
2891 | color: #FF9F00; | |
2892 | background-color: #000000; | |
2893 | border: 1px solid #9C9CFF; | |
2894 | border-radius: 2px; | |
6adbc9a6 | 2895 | position: absolute; |
82b4252f RK |
2896 | top: 0; |
2897 | right: 0; | |
2898 | } | |
2899 | ||
2900 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after { | |
2901 | top: 1px; | |
2902 | right: 1px; | |
e9c73590 RK |
2903 | } |
2904 | ||
82b4252f RK |
2905 | .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
2906 | left: 0; | |
2907 | right: auto; | |
e9c73590 RK |
2908 | } |
2909 | ||
82b4252f RK |
2910 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
2911 | left: 1px; | |
6adbc9a6 | 2912 | right: auto; |
348c0499 RK |
2913 | } |
2914 | ||
2915 | #social-notification-icon-mentions { | |
e9c73590 | 2916 | background-color: #000000; |
348c0499 RK |
2917 | border-radius: 3px; |
2918 | -moz-margin-start: 2px; | |
e9c73590 RK |
2919 | } |
2920 | ||
348c0499 RK |
2921 | #social-notification-icon-mentions:hover { |
2922 | background-color: #FFCF00; | |
2923 | } | |
2924 | ||
2925 | #social-notification-icon-mentions[open="true"] { | |
2926 | background-color: #FF9F00; | |
e9c73590 RK |
2927 | } |
2928 | ||
2929 | #social-sidebar-splitter { | |
2930 | border: 0; | |
2931 | } | |
2932 | ||
2933 | /* social toolbar provider menu */ | |
990cba4b | 2934 | .social-statusarea-popup { |
e9c73590 RK |
2935 | margin-top: 0; |
2936 | margin-left: -12px; | |
2937 | margin-right: -12px; | |
2938 | } | |
2939 | ||
990cba4b | 2940 | .social-statusarea-user { |
e9c73590 RK |
2941 | border-bottom: 1px solid #9C9CFF; |
2942 | background-color: #000000; | |
2943 | color: #FF9F00; | |
2944 | position: relative; | |
348c0499 | 2945 | cursor: pointer; |
e9c73590 RK |
2946 | } |
2947 | ||
990cba4b | 2948 | .social-statusarea-user-portrait { |
e9c73590 RK |
2949 | width: 32px; |
2950 | height: 32px; | |
2951 | border-radius: 2px; | |
2952 | margin: 10px; | |
e9c73590 RK |
2953 | } |
2954 | ||
990cba4b | 2955 | .social-statusarea-loggedInStatus { |
e9c73590 RK |
2956 | background: transparent; |
2957 | border: none; | |
b8384c33 | 2958 | color: #3333FF; |
e9c73590 RK |
2959 | min-width: 0; |
2960 | margin: 0 6px; | |
348c0499 | 2961 | list-style-image: none; |
e9c73590 | 2962 | } |
90a244b7 | 2963 | |
990cba4b | 2964 | #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { |
e9c73590 RK |
2965 | text-decoration: underline; |
2966 | } | |
2967 | ||
348c0499 RK |
2968 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
2969 | padding: 0; | |
2970 | } | |
2971 | ||
348c0499 RK |
2972 | .social-panel-frame { |
2973 | border-radius: inherit; | |
2974 | } | |
e9c73590 RK |
2975 | |
2976 | .chat-status-icon { | |
2977 | max-height: 16px; | |
2978 | max-width: 16px; | |
2979 | padding: 0; | |
2980 | } | |
2981 | ||
2982 | .chat-toolbarbutton { | |
2983 | -moz-appearance: none; | |
2984 | border: none; | |
2985 | padding: 0; | |
2986 | margin: 0; | |
2987 | background: none; | |
2988 | } | |
2989 | ||
2990 | .chat-toolbarbutton > .toolbarbutton-text { | |
2991 | display: none; | |
2992 | } | |
2993 | ||
2994 | .chat-close-button { | |
348c0499 RK |
2995 | list-style-image: url('chrome://browser/skin/social/chat-close.png'); |
2996 | -moz-image-region: rect(0, 14px, 14px, 0); | |
e9c73590 RK |
2997 | } |
2998 | ||
2999 | .chat-close-button:hover, | |
3000 | .chat-close-button:hover:active { | |
348c0499 | 3001 | -moz-image-region: rect(14px, 14px, 28px, 0); |
e9c73590 RK |
3002 | } |
3003 | ||
3004 | .chat-title { | |
3005 | font-weight: bold; | |
3006 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; | |
90a244b7 | 3007 | text-shadow: none; |
348c0499 | 3008 | cursor: inherit; |
e9c73590 RK |
3009 | } |
3010 | ||
3011 | .chat-titlebar { | |
3012 | background-color: #9C9CFF; | |
3013 | color: #000000; | |
3014 | height: 20px; | |
fcfb76ce | 3015 | min-height: 16px; |
e9c73590 RK |
3016 | width: 100%; |
3017 | margin: 0; | |
3018 | padding: 2px; | |
348c0499 | 3019 | -moz-padding-start: 6px; |
e9c73590 RK |
3020 | border: none; |
3021 | border-bottom: 1px solid #008484; | |
348c0499 | 3022 | cursor: pointer; |
e9c73590 RK |
3023 | } |
3024 | ||
3025 | .chat-titlebar[minimized="true"] { | |
3026 | border-bottom: none; | |
3027 | } | |
3028 | ||
348c0499 RK |
3029 | .chat-titlebar[selected] { |
3030 | background-color: #008484; | |
3031 | } | |
3032 | ||
3033 | .chat-titlebar[activity] { | |
3034 | background-color: #E7ADE7; | |
3035 | } | |
3036 | ||
e9c73590 RK |
3037 | .chat-frame { |
3038 | padding: 0; | |
3039 | margin: 0; | |
3040 | overflow: hidden; | |
3041 | } | |
3042 | ||
3043 | .chatbar-button { | |
3044 | /* XXX get a real image for this */ | |
3045 | list-style-image: url("chrome://browser/skin/social/social.png"); | |
3046 | background-color: #000000; | |
3047 | border: none; | |
3048 | margin: 0; | |
3049 | padding: 2px; | |
3050 | height: 21px; | |
3051 | width: 21px; | |
3052 | border-top: 1px solid #008484; | |
3053 | -moz-border-end: 1px solid #008484; | |
3054 | } | |
3055 | ||
d7cfd768 RK |
3056 | .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { |
3057 | width: auto; | |
3058 | height: auto; | |
e9c73590 RK |
3059 | max-height: 16px; |
3060 | max-width: 16px; | |
e9c73590 RK |
3061 | } |
3062 | ||
90a244b7 RK |
3063 | .chatbar-button > .toolbarbutton-icon { |
3064 | opacity: .6; | |
3065 | -moz-margin-end: 0; | |
3066 | } | |
3067 | .chatbar-button:hover > .toolbarbutton-icon, | |
3068 | .chatbar-button[open="true"] > .toolbarbutton-icon { | |
3069 | opacity: 1; | |
3070 | } | |
3071 | ||
3072 | .chatbar-button[open="true"] { | |
e9c73590 RK |
3073 | } |
3074 | ||
e9c73590 RK |
3075 | .chatbar-button > .toolbarbutton-text, |
3076 | .chatbar-button > .toolbarbutton-menu-dropmarker { | |
3077 | display: none; | |
3078 | } | |
3079 | ||
90a244b7 | 3080 | .chatbar-button[activity]:not([open="true"]) { |
348c0499 RK |
3081 | background-color: #E7ADE7; |
3082 | } | |
3083 | ||
3084 | .chatbar-button > menupopup > menuitem[activity] { | |
3085 | font-weight: bold; | |
3086 | } | |
3087 | ||
e9c73590 RK |
3088 | .chatbar-innerbox { |
3089 | background: transparent; | |
90a244b7 | 3090 | margin: -285px 0 0; |
e9c73590 RK |
3091 | overflow: hidden; |
3092 | } | |
3093 | ||
fcfb76ce RK |
3094 | chatbar { |
3095 | -moz-margin-end: 20px; | |
3096 | } | |
3097 | ||
e9c73590 | 3098 | chatbar > chatbox { |
fcfb76ce RK |
3099 | height: 285px; |
3100 | width: 260px; | |
3101 | -moz-margin-start: 4px; | |
e9c73590 RK |
3102 | background-color: #000000; |
3103 | border: 1px solid #9C9CFF; | |
3104 | border-bottom: none; | |
90a244b7 RK |
3105 | border-top-left-radius: 2.5px; |
3106 | border-top-right-radius: 2.5px; | |
e9c73590 RK |
3107 | } |
3108 | ||
fcfb76ce RK |
3109 | chatbox[minimized="true"] { |
3110 | width: 160px; | |
e9c73590 | 3111 | height: 20px; |
e9c73590 | 3112 | } |
348c0499 RK |
3113 | |
3114 | .click-to-play-plugins-notification-content { | |
3115 | margin: -10px; | |
3116 | border-radius: 4px; | |
3117 | } | |
3118 | ||
3119 | .click-to-play-plugins-notification-icon-box { | |
3120 | background: #000000; | |
56419d62 | 3121 | -moz-border-end: 1px solid #FF9F00; |
348c0499 RK |
3122 | padding-top: 16px; |
3123 | -moz-padding-end: 16px; | |
3124 | -moz-padding-start: 24px; | |
56419d62 RK |
3125 | -moz-margin-start: 4px; |
3126 | margin-top: 4px; | |
3127 | margin-bottom: 4px; | |
348c0499 RK |
3128 | } |
3129 | ||
3130 | .click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) { | |
3131 | border-bottom-left-radius: 4px; | |
3132 | border-top-left-radius: 4px; | |
3133 | } | |
3134 | ||
3135 | .click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) { | |
3136 | border-bottom-right-radius: 4px; | |
3137 | border-top-right-radius: 4px; | |
3138 | } | |
3139 | ||
3140 | .click-to-play-plugins-notification-separator { | |
56419d62 RK |
3141 | /*-moz-border-start: 1px solid #9C9CFF; |
3142 | border-top: 1px solid #9C9CFF;*/ | |
348c0499 RK |
3143 | } |
3144 | ||
3145 | .click-to-play-plugins-notification-description-box { | |
56419d62 RK |
3146 | /*border-bottom: 1px solid #9C9CFF; |
3147 | -moz-border-start: 1px solid #9C9CFF;*/ | |
348c0499 RK |
3148 | padding-top: 12px; |
3149 | -moz-padding-end: 11px; | |
3150 | padding-bottom: 9px; | |
3151 | -moz-padding-start: 10px; | |
3152 | } | |
3153 | ||
3154 | .click-to-play-plugins-notification-center-box { | |
56419d62 RK |
3155 | border-top: 1px solid #FF9F00; |
3156 | border-bottom: 1px solid #FF9F00; | |
3157 | /*-moz-border-start: 1px solid #9C9CFF;*/ | |
348c0499 | 3158 | background-color: #000000; |
56419d62 | 3159 | -moz-margin-end: 4px; |
348c0499 RK |
3160 | } |
3161 | ||
3162 | .click-to-play-plugins-notification-button-container { | |
56419d62 RK |
3163 | /*border-top: 1px solid #9C9CFF; |
3164 | -moz-border-start: 1px solid #9C9CFF;*/ | |
348c0499 RK |
3165 | margin: 0px; |
3166 | padding: 16px; | |
3167 | } | |
3168 | ||
3169 | .center-item-box { | |
3170 | padding: 12px 16px 0px 16px; | |
3171 | } | |
3172 | ||
3173 | .center-item-box[padbottom="true"] { | |
3174 | padding-bottom: 12px; | |
3175 | } | |
3176 | ||
3177 | .center-item-icon { | |
3178 | background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); | |
3179 | background-repeat: no-repeat; | |
3180 | height: 16px; | |
3181 | width: 16px; | |
3182 | margin-bottom: 4px; | |
3183 | } | |
3184 | ||
3185 | .center-item-box[warn="true"] { | |
3186 | background-color: #FFCF00; | |
3187 | color: #000000; | |
3188 | padding: 8px 16px 6px 16px; | |
3189 | } | |
3190 | ||
3191 | .center-item-box[padbottom="true"][warn="true"] { | |
3192 | padding-bottom: 4px; | |
3193 | } | |
3194 | ||
3195 | .center-item-box[showseparator="true"] { | |
3196 | border-top: 1px solid #9C9CFF; | |
3197 | } | |
3198 | ||
3199 | .center-item-box[warn="false"] > .center-item-warning { | |
3200 | display: none; | |
3201 | } | |
3202 | ||
3203 | .center-item-warning > .text-link { | |
3204 | color: #6868AA; | |
3205 | } | |
3206 | ||
3207 | .center-item-warning > .text-link[href=""] { | |
3208 | display: none; | |
3209 | } | |
3210 | ||
3211 | .center-item-warning-icon { | |
3212 | background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); | |
3213 | background-repeat: no-repeat; | |
3214 | width: 16px; | |
3215 | height: 15px; | |
3216 | margin-bottom: 4px; | |
3217 | } | |
3218 | ||
3219 | .center-item-warning-description { | |
3220 | color: #828282; | |
3221 | } | |
3222 | ||
3223 | .center-item-button { | |
3224 | min-width: 0; | |
3225 | } | |
0142a07b RK |
3226 | |
3227 | #main-window[privatebrowsingmode=temporary] #toolbar-menubar { | |
3228 | background-image: url("chrome://browser/skin/privatebrowsing-dark.png"); | |
3229 | background-position: top right; | |
3230 | background-repeat: no-repeat; | |
3231 | } | |
3232 | ||
3233 | #main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) { | |
3234 | background-position: top left; | |
3235 | } | |
3236 | ||
6adbc9a6 | 3237 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon { |
0142a07b | 3238 | list-style-image: url("chrome://browser/skin/privatebrowsing-light.png"); |
6adbc9a6 RK |
3239 | width: 20px; |
3240 | height: 16px; | |
0142a07b | 3241 | } |