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/"); | |
fcaeefc2 | 6 | @import url("downloads/indicator.css"); |
acb0e9b8 | 7 | |
8 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
319c6529 RK |
9 | @namespace html url("http://www.w3.org/1999/xhtml"); |
10 | ||
11 | toolbar { | |
12 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); | |
13 | } | |
acb0e9b8 | 14 | |
fd291cce RK |
15 | /* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
16 | #navigator-toolbox:not([iconsize]) > toolbar[customizable="true"] { | |
43cc2806 RK |
17 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom"); |
18 | } | |
19 | ||
41279e76 RK |
20 | toolbar[type="menubar"][autohide="true"] { |
21 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); | |
22 | } | |
23 | ||
fd291cce RK |
24 | /* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
25 | #navigator-toolbox:not([iconsize]) > #toolbar-menubar[autohide="true"] { | |
43cc2806 RK |
26 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom"); |
27 | } | |
28 | ||
acb0e9b8 | 29 | menubar { |
319c6529 | 30 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
acb0e9b8 | 31 | } |
32 | ||
319c6529 RK |
33 | #menubar-items { |
34 | -moz-box-orient: vertical; /* for flex hack */ | |
acb0e9b8 | 35 | } |
36 | ||
319c6529 RK |
37 | #main-menubar { |
38 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ | |
39 | } | |
40 | ||
63ada306 RK |
41 | /* ::::: primary toolbar ::::: */ |
42 | ||
43 | .toolbar-primary > .toolbar-box > .toolbar-holder { | |
270cbf0c | 44 | background-color: #A09090; |
63ada306 RK |
45 | } |
46 | ||
47 | .toolbar-primary > .toolbar-box > .toolbar-startcap, | |
48 | .toolbar-primary > .toolbar-box > .toolbar-endcap { | |
49 | background-color: #9C9CFF; | |
50 | } | |
51 | ||
43cc2806 RK |
52 | /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the |
53 | toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care | |
54 | of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */ | |
55 | #toolbar-menubar:not([autohide="true"]) ~ #TabsToolbar, | |
56 | #toolbar-menubar[autohide="true"]:not([inactive]) ~ #TabsToolbar { | |
57 | /* margin-top: 3px;*/ | |
58 | } | |
59 | ||
60 | #main-window[tabsintitlebar][sizemode="normal"][chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar, | |
61 | #main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar { | |
62 | /* margin-top: 15px;*/ | |
63 | } | |
64 | ||
fd291cce RK |
65 | /* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
66 | #navigator-toolbox:not([iconsize]) > #toolbar-menubar:not([autohide="true"]) { | |
43cc2806 RK |
67 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); |
68 | } | |
69 | ||
70 | #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) { | |
71 | /* like menubar */ | |
72 | background-color: #6000CF; | |
73 | color: #FF9F00; | |
74 | } | |
75 | ||
76 | #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme):-moz-window-inactive { | |
77 | background-color: #8050B0; | |
78 | color: #FF9F00; | |
79 | } | |
63ada306 | 80 | |
319c6529 RK |
81 | #navigator-toolbox { |
82 | } | |
83 | ||
9abeb12c RK |
84 | #navigator-toolbox::after { |
85 | content: ""; | |
86 | display: -moz-box; | |
87 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ | |
88 | height: 1px; | |
89 | } | |
90 | #navigator-toolbox[tabsontop=false]::after, | |
91 | #main-window[disablechrome] #navigator-toolbox::after { | |
92 | visibility: collapse; | |
93 | } | |
94 | ||
319c6529 RK |
95 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
96 | } | |
97 | ||
d54f5b23 | 98 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) { |
319c6529 RK |
99 | /* like menubar */ |
100 | background-color: #6000CF; | |
101 | color: #FF9F00; | |
102 | } | |
d54f5b23 | 103 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { |
319c6529 RK |
104 | background-color: #8050B0; |
105 | color: #FF9F00; | |
106 | } | |
2caba1a9 RK |
107 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab { |
108 | padding-top: 3px; | |
109 | } | |
319c6529 RK |
110 | |
111 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { | |
112 | visibility: hidden; | |
113 | } | |
114 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { | |
115 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); | |
116 | visibility: visible; | |
117 | } | |
118 | ||
676f0091 RK |
119 | #nav-bar[tabsontop="true"], |
120 | #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar, | |
121 | #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar { | |
0142a07b | 122 | /* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ |
319c6529 RK |
123 | } |
124 | ||
319c6529 | 125 | #personal-bookmarks { |
38cfeb47 | 126 | /* min-height: 24px; */ |
319c6529 RK |
127 | } |
128 | ||
129 | #print-preview-toolbar:not(:-moz-lwtheme) { | |
130 | /* -moz-appearance: toolbox; */ | |
acb0e9b8 | 131 | } |
132 | ||
319c6529 RK |
133 | /* ::::: app menu button ::::: */ |
134 | ||
135 | #appmenu-button { | |
acb0e9b8 | 136 | background-color: #FF9F00; |
319c6529 RK |
137 | background-clip: padding-box; |
138 | border-radius: 0; | |
139 | border: none; | |
319c6529 RK |
140 | border-right: 3px solid #000000; |
141 | color: #000000; | |
142 | font-weight: bold; | |
5305ef8d RK |
143 | padding: 1px 1.5em; |
144 | margin: 0; | |
145 | } | |
146 | ||
147 | #appmenu-button:-moz-locale-dir(rtl) { | |
148 | border-left: 3px solid #000000; | |
149 | border-right: none; | |
acb0e9b8 | 150 | } |
151 | ||
319c6529 RK |
152 | #main-window[privatebrowsingmode=temporary] #appmenu-button { |
153 | background-color: #6000CF; | |
154 | color: #FFCF00; | |
155 | } | |
156 | ||
b36fc72e RK |
157 | #appmenu-button:hover:not(:active):not([open]) { |
158 | } | |
159 | ||
160 | #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) { | |
161 | } | |
162 | ||
319c6529 RK |
163 | #appmenu-button:hover, |
164 | #appmenu-button:hover:active, | |
165 | #appmenu-button[open] { | |
166 | background-color: #FFCF00; | |
167 | color: #000000; | |
168 | } | |
169 | ||
170 | #appmenu-button > .button-box > .button-menu-dropmarker { | |
db6435b4 | 171 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
319c6529 RK |
172 | width: auto; |
173 | height: auto; | |
174 | padding: 0; | |
175 | margin: 0; | |
5305ef8d RK |
176 | border: none; |
177 | background-color: transparent; | |
319c6529 RK |
178 | -moz-margin-start: .5em; |
179 | } | |
180 | ||
db6435b4 RK |
181 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker { |
182 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
183 | } | |
184 | ||
38cfeb47 RK |
185 | #appmenuPrimaryPane > menuitem, |
186 | #appmenuSecondaryPane > menuitem, | |
187 | #appmenuPrimaryPane > menu { | |
188 | padding: 2px; | |
189 | } | |
190 | ||
d54f5b23 | 191 | .splitmenu-menuitem { |
38cfeb47 RK |
192 | -moz-padding-start: 2px; |
193 | padding-top: 2px; | |
194 | padding-bottom: 2px; | |
d54f5b23 RK |
195 | -moz-margin-end: 1px; |
196 | } | |
197 | ||
ab799a7a | 198 | .splitmenu-menu { |
38cfeb47 RK |
199 | padding-top: 2px; |
200 | padding-bottom: 2px; | |
319c6529 RK |
201 | -moz-box-pack: end; |
202 | } | |
203 | ||
204 | .appmenu-edit-button { | |
205 | } | |
206 | ||
207 | .appmenu-edit-button[disabled="true"] { | |
208 | } | |
209 | ||
210 | #appmenuPrimaryPane { | |
211 | -moz-border-end: 1px solid #9C9CFF; | |
212 | } | |
213 | /* | |
214 | #appmenu-popup { | |
215 | } | |
216 | #appmenuPrimaryPane { | |
217 | } | |
218 | #appmenuSecondaryPane { | |
219 | } | |
220 | #appmenuSecondaryPane:-moz-locale-dir(rtl) { | |
221 | } | |
222 | ||
223 | #appmenuSecondaryPane menupopup { | |
224 | } | |
225 | ||
226 | .appmenu-menuseparator { | |
227 | } | |
228 | ||
229 | .appmenu-edit-button:not([disabled]):hover { | |
230 | } | |
231 | */ | |
232 | #appmenuSecondaryPane-spacer { | |
233 | min-height: 1em; | |
234 | } | |
235 | ||
9abeb12c RK |
236 | #appmenu-editmenu { |
237 | -moz-box-pack: end; | |
238 | } | |
239 | ||
319c6529 RK |
240 | #appmenu_print, |
241 | #appmenu_print_popup, | |
242 | .appmenu-edit-button, | |
9abeb12c RK |
243 | #appmenu-editmenu-cut, |
244 | #appmenu-editmenu-copy, | |
245 | #appmenu-editmenu-paste, | |
319c6529 RK |
246 | #appmenu-quit { |
247 | list-style-image: url("appmenu-icons.png"); | |
248 | } | |
249 | ||
9abeb12c RK |
250 | #appmenu-cut, |
251 | #appmenu-editmenu-cut { | |
319c6529 | 252 | -moz-image-region: rect(0 16px 16px 0); |
acb0e9b8 | 253 | } |
254 | ||
143c5409 RK |
255 | #appmenu-cut:hover:not([disabled="true"]), |
256 | #appmenu-editmenu-cut:hover:not([disabled="true"]) { | |
257 | -moz-image-region: rect(16px 16px 32px 0); | |
258 | } | |
259 | ||
260 | #appmenu-cut[disabled="true"], | |
261 | #appmenu-editmenu-cut[disabled="true"] { | |
262 | -moz-image-region: rect(32px 16px 48px 0); | |
263 | } | |
264 | ||
9abeb12c RK |
265 | #appmenu-copy, |
266 | #appmenu-editmenu-copy { | |
319c6529 RK |
267 | -moz-image-region: rect(0 32px 16px 16px); |
268 | } | |
269 | ||
143c5409 RK |
270 | #appmenu-copy:hover:not([disabled="true"]), |
271 | #appmenu-editmenu-copy:hover:not([disabled="true"]) { | |
272 | -moz-image-region: rect(16px 32px 32px 16px); | |
273 | } | |
274 | ||
275 | #appmenu-copy[disabled="true"], | |
276 | #appmenu-editmenu-copy[disabled="true"] { | |
277 | -moz-image-region: rect(32px 32px 48px 16px); | |
278 | } | |
279 | ||
9abeb12c RK |
280 | #appmenu-paste, |
281 | #appmenu-editmenu-paste { | |
319c6529 RK |
282 | -moz-image-region: rect(0 48px 16px 32px); |
283 | } | |
284 | ||
143c5409 RK |
285 | #appmenu-paste:hover:not([disabled="true"]), |
286 | #appmenu-editmenu-paste:hover:not([disabled="true"]) { | |
287 | -moz-image-region: rect(16px 48px 32px 32px); | |
288 | } | |
289 | ||
290 | #appmenu-paste[disabled="true"], | |
291 | #appmenu-editmenu-paste[disabled="true"] { | |
292 | -moz-image-region: rect(32px 48px 48px 32px); | |
293 | } | |
294 | ||
319c6529 RK |
295 | #appmenu_print, |
296 | #appmenu_print_popup { | |
297 | -moz-image-region: rect(0 64px 16px 48px); | |
298 | } | |
299 | ||
143c5409 RK |
300 | #appmenu_print:hover:not([disabled="true"]), |
301 | #appmenu_print[open="true"], | |
302 | #appmenu_print_popup:hover:not([disabled="true"]) { | |
303 | -moz-image-region: rect(16px 64px 32px 48px); | |
304 | } | |
305 | ||
306 | #appmenu-print[disabled="true"], | |
307 | #appmenu_print_popup[disabled="true"] { | |
308 | -moz-image-region: rect(32px 64px 48px 48px); | |
309 | } | |
310 | ||
319c6529 RK |
311 | #appmenu-quit { |
312 | -moz-image-region: rect(0 80px 16px 64px); | |
313 | } | |
314 | ||
143c5409 RK |
315 | #appmenu-quit:hover { |
316 | -moz-image-region: rect(16px 80px 32px 64px); | |
317 | } | |
318 | ||
319c6529 RK |
319 | #appmenu-edit-label { |
320 | -moz-appearance: none; | |
321 | background: transparent; | |
322 | font-style: italic; | |
323 | } | |
324 | ||
325 | #appmenu_bookmarks { | |
326 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
327 | -moz-image-region: rect(0px 48px 16px 32px); | |
328 | } | |
329 | ||
0142a07b RK |
330 | #appmenu_privateBrowsing, |
331 | #appmenu_newPrivateWindow { | |
319c6529 RK |
332 | list-style-image: url("chrome://browser/skin/Privacy-16.png"); |
333 | } | |
334 | ||
82b4252f RK |
335 | @media (min-resolution: 1.25dppx) { |
336 | #appmenu_privateBrowsing, | |
337 | #appmenu_newPrivateWindow { | |
338 | list-style-image: url("chrome://browser/skin/Privacy-32.png"); | |
339 | } | |
340 | } | |
341 | ||
319c6529 RK |
342 | #appmenu_addons { |
343 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
344 | } | |
345 | ||
82b4252f RK |
346 | @media (min-resolution: 1.25dppx) { |
347 | #appmenu_addons { | |
348 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); | |
349 | } | |
350 | } | |
351 | ||
319c6529 RK |
352 | #BMB_bookmarkThisPage, |
353 | #appmenu_bookmarkThisPage { | |
354 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
355 | -moz-image-region: rect(0 16px 16px 0); | |
356 | } | |
357 | ||
358 | /* ::::: titlebar ::::: */ | |
359 | ||
5305ef8d RK |
360 | #titlebar { |
361 | /* like menubar */ | |
362 | background-color: #6000CF; | |
363 | color: #FF9F00; | |
364 | } | |
365 | #titlebar:-moz-window-inactive { | |
366 | background-color: #8050B0; | |
367 | color: #FF9F00; | |
368 | } | |
369 | ||
319c6529 | 370 | #main-window[sizemode="normal"] > #titlebar { |
5305ef8d RK |
371 | margin-top: -3px; |
372 | margin-bottom: 3px; | |
319c6529 RK |
373 | } |
374 | ||
375 | #main-window[sizemode="maximized"] > #titlebar { | |
5305ef8d | 376 | margin-top: 4px; |
319c6529 RK |
377 | } |
378 | ||
43cc2806 RK |
379 | /* The button box must appear on top of the navigator-toolbox in order for |
380 | * click and hover mouse events to work properly for the button in the restored | |
381 | * window state. Otherwise, elements in the navigator-toolbox, like the menubar, | |
382 | * can swallow those events. It will also place the buttons above the fog on | |
383 | * themes with Aero Glass. | |
384 | */ | |
319c6529 | 385 | #titlebar-buttonbox { |
5305ef8d RK |
386 | margin-top: 5px; |
387 | -moz-margin-end: 3px; | |
43cc2806 | 388 | z-index: 1; |
319c6529 RK |
389 | } |
390 | ||
391 | #main-window[sizemode="maximized"] #titlebar-buttonbox { | |
392 | } | |
393 | ||
394 | .titlebar-placeholder[type="appmenu-button"] { | |
395 | margin-left: 4px; | |
396 | } | |
397 | ||
398 | .titlebar-placeholder[type="caption-buttons"] { | |
399 | margin-left: 10px; | |
400 | } | |
401 | ||
402 | /* titlebar command buttons */ | |
403 | ||
404 | #titlebar-min { | |
5305ef8d RK |
405 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
406 | } | |
407 | ||
408 | #titlebar-min:hover { | |
409 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
319c6529 RK |
410 | } |
411 | ||
412 | #titlebar-max { | |
5305ef8d RK |
413 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
414 | } | |
415 | ||
416 | #titlebar-max:hover { | |
417 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); | |
319c6529 RK |
418 | } |
419 | ||
420 | #main-window[sizemode="maximized"] #titlebar-max { | |
5305ef8d RK |
421 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
422 | } | |
423 | ||
424 | #main-window[sizemode="maximized"] #titlebar-max:hover { | |
425 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
319c6529 RK |
426 | } |
427 | ||
428 | #titlebar-close { | |
5305ef8d RK |
429 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
430 | } | |
431 | ||
432 | #titlebar-close:hover { | |
433 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
acb0e9b8 | 434 | } |
435 | ||
436 | /* ::::: bookmark buttons ::::: */ | |
437 | ||
fb1aad97 RK |
438 | /*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */ |
439 | .bookmark-item > .toolbarbutton-icon { | |
acb0e9b8 | 440 | width: 16px; |
441 | height: 16px; | |
442 | } | |
443 | ||
444 | /* Prevent [mode="icons"] from hiding the label */ | |
445 | .bookmark-item > .toolbarbutton-text { | |
446 | display: -moz-box !important; | |
447 | } | |
448 | ||
319c6529 RK |
449 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
450 | display: none; | |
451 | } | |
452 | ||
453 | #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { | |
c5772fdf | 454 | background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center; |
319c6529 RK |
455 | } |
456 | ||
457 | .bookmarks-toolbar-customize { | |
458 | max-width: 15em !important; | |
8da9da4e | 459 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
319c6529 RK |
460 | } |
461 | ||
462 | /* ::::: bookmark menus ::::: */ | |
463 | ||
464 | menu.bookmark-item, | |
465 | menuitem.bookmark-item { | |
466 | min-width: 0; | |
ab799a7a | 467 | max-width: 32em; |
319c6529 RK |
468 | } |
469 | ||
470 | .bookmark-item > .menu-iconic-left { | |
471 | margin-top: 0; | |
472 | margin-bottom: 0; | |
473 | } | |
474 | ||
475 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { | |
476 | -moz-padding-start: 0px; | |
477 | } | |
478 | ||
479 | /* ::::: bookmark items ::::: */ | |
480 | ||
481 | .bookmark-item { | |
dce90fef | 482 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 483 | -moz-image-region: auto; |
319c6529 RK |
484 | } |
485 | ||
486 | .bookmark-item[container] { | |
487 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 488 | -moz-image-region: auto; |
319c6529 RK |
489 | } |
490 | ||
491 | .bookmark-item[container][open] { | |
492 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 493 | -moz-image-region: auto; |
319c6529 RK |
494 | } |
495 | ||
8da9da4e RK |
496 | .bookmark-item[container][livemark] { |
497 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); | |
319c6529 RK |
498 | -moz-image-region: auto; |
499 | } | |
500 | ||
501 | .bookmark-item[container][livemark] .bookmark-item { | |
8da9da4e | 502 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
719b06bc | 503 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
319c6529 RK |
504 | } |
505 | ||
eec397be | 506 | .bookmark-item[container][livemark] .bookmark-item[visited] { |
719b06bc | 507 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
eec397be RK |
508 | } |
509 | ||
319c6529 | 510 | .bookmark-item[container][query] { |
8da9da4e | 511 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
319c6529 RK |
512 | -moz-image-region: auto; |
513 | } | |
514 | ||
515 | .bookmark-item[query][tagContainer] { | |
516 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); | |
517 | -moz-image-region: auto; | |
518 | } | |
519 | ||
520 | .bookmark-item[query][dayContainer] { | |
8da9da4e | 521 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
319c6529 RK |
522 | -moz-image-region: auto; |
523 | } | |
524 | ||
525 | .bookmark-item[query][hostContainer] { | |
526 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 527 | -moz-image-region: auto; |
319c6529 RK |
528 | } |
529 | ||
530 | .bookmark-item[query][hostContainer][open] { | |
531 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 532 | -moz-image-region: auto; |
319c6529 RK |
533 | } |
534 | ||
b1234db8 RK |
535 | .bookmark-item[cutting] > .toolbarbutton-icon, |
536 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { | |
537 | opacity: 0.5; | |
538 | } | |
539 | ||
540 | .bookmark-item[cutting] > .toolbarbutton-text, | |
541 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { | |
542 | opacity: 0.7; | |
543 | } | |
544 | ||
319c6529 RK |
545 | /* ::::: primary toolbar buttons ::::: */ |
546 | ||
43cc2806 RK |
547 | /* === BEGIN toolbarbuttons.inc.css === */ |
548 | ||
549 | /* Whole section of this included file: */ | |
fd291cce RK |
550 | /* Remove |#navigator-toolbox:not([iconsize])| selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
551 | #navigator-toolbox:not([iconsize]) :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, | |
43cc2806 RK |
552 | #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button, |
553 | #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, | |
554 | #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, | |
555 | #PanelUI-menu-button, #characterencoding-button, #email-link-button), | |
fd291cce | 556 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
43cc2806 RK |
557 | list-style-image: url("chrome://browser/skin/ToolbarFx.png"); |
558 | } | |
559 | ||
fd291cce | 560 | #navigator-toolbox:not([iconsize]) #back-button { |
43cc2806 RK |
561 | -moz-image-region: rect(0, 36px, 18px, 18px); |
562 | } | |
563 | ||
fd291cce | 564 | #navigator-toolbox:not([iconsize]) #back-button:hover:not([disabled="true"]) { |
43cc2806 RK |
565 | -moz-image-region: rect(18px, 36px, 36px, 18px); |
566 | } | |
567 | ||
fd291cce | 568 | #navigator-toolbox:not([iconsize]) #back-button[disabled="true"] { |
43cc2806 RK |
569 | -moz-image-region: rect(36px, 36px, 54px, 18px); |
570 | } | |
571 | ||
fd291cce | 572 | #navigator-toolbox:not([iconsize]) #forward-button { |
43cc2806 RK |
573 | -moz-image-region: rect(0, 72px, 18px, 54px); |
574 | } | |
575 | ||
fd291cce | 576 | #navigator-toolbox:not([iconsize]) #forward-button:hover:not([disabled="true"]) { |
43cc2806 RK |
577 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
578 | } | |
579 | ||
fd291cce | 580 | #navigator-toolbox:not([iconsize]) #forward-button[disabled="true"] { |
43cc2806 RK |
581 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
582 | } | |
583 | ||
fd291cce RK |
584 | #navigator-toolbox:not([iconsize]) #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
585 | #navigator-toolbox:not([iconsize]) #forward-button:-moz-locale-dir(rtl) { | |
43cc2806 RK |
586 | transform: scaleX(-1); |
587 | } | |
588 | ||
fd291cce | 589 | #navigator-toolbox:not([iconsize]) #home-button[cui-areatype="toolbar"] { |
43cc2806 RK |
590 | -moz-image-region: rect(0, 126px, 18px, 108px); |
591 | } | |
592 | ||
fd291cce | 593 | #navigator-toolbox:not([iconsize]) #home-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
594 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
595 | } | |
596 | ||
fd291cce | 597 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] { |
43cc2806 RK |
598 | -moz-image-region: rect(0, 144px, 18px, 126px); |
599 | } | |
600 | ||
fd291cce RK |
601 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover, |
602 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
603 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
604 | } | |
605 | ||
fd291cce | 606 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred] { |
43cc2806 RK |
607 | -moz-image-region: rect(0, 162px, 18px, 144px); |
608 | } | |
609 | ||
fd291cce RK |
610 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover, |
611 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"] { | |
43cc2806 RK |
612 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
613 | } | |
614 | ||
fd291cce | 615 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { |
43cc2806 RK |
616 | -moz-image-region: rect(0, 630px, 18px, 612px); |
617 | } | |
618 | ||
fd291cce | 619 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker { |
43cc2806 RK |
620 | padding: 1px; |
621 | -moz-box-align: center; | |
622 | } | |
623 | ||
fd291cce RK |
624 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon, |
625 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { | |
43cc2806 RK |
626 | -moz-image-region: rect(18px, 630px, 36px, 612px); |
627 | } | |
628 | ||
fd291cce RK |
629 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
630 | #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
43cc2806 RK |
631 | padding-top: 2px; |
632 | padding-bottom: 0px; | |
633 | -moz-padding-start: 2px; | |
634 | -moz-padding-end: 0px; | |
635 | } | |
636 | ||
fd291cce | 637 | #navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"] { |
43cc2806 RK |
638 | -moz-image-region: rect(0, 180px, 18px, 162px); |
639 | } | |
640 | ||
fd291cce RK |
641 | #navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"]:hover, |
642 | #navigator-toolbox:not([iconsize]) #history-panelmenu[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
643 | -moz-image-region: rect(18px, 180px, 36px, 162px); |
644 | } | |
645 | ||
fd291cce | 646 | #navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"] { |
43cc2806 RK |
647 | -moz-image-region: rect(0, 198px, 18px, 180px); |
648 | } | |
649 | ||
fd291cce RK |
650 | #navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"]:hover, |
651 | #navigator-toolbox:not([iconsize]) #downloads-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
652 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
653 | } | |
654 | ||
fd291cce | 655 | #navigator-toolbox:not([iconsize]) #add-ons-button[cui-areatype="toolbar"] { |
43cc2806 RK |
656 | -moz-image-region: rect(0, 216px, 18px, 198px); |
657 | } | |
658 | ||
fd291cce | 659 | #navigator-toolbox:not([iconsize]) #add-ons-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
660 | -moz-image-region: rect(18px, 216px, 36px, 198px); |
661 | } | |
662 | ||
fd291cce | 663 | #navigator-toolbox:not([iconsize]) #switch-to-metro-button[cui-areatype="toolbar"] { |
43cc2806 RK |
664 | -moz-image-region: rect(0, 648px, 18px, 630px); |
665 | } | |
666 | ||
fd291cce | 667 | #navigator-toolbox:not([iconsize]) #switch-to-metro-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
668 | -moz-image-region: rect(18px, 648px, 36px, 630px); |
669 | } | |
670 | ||
fd291cce | 671 | #navigator-toolbox:not([iconsize]) #open-file-button[cui-areatype="toolbar"] { |
43cc2806 RK |
672 | -moz-image-region: rect(0, 234px, 18px, 216px); |
673 | } | |
674 | ||
fd291cce | 675 | #navigator-toolbox:not([iconsize]) #open-file-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
676 | -moz-image-region: rect(18px, 234px, 36px, 216px); |
677 | } | |
678 | ||
fd291cce | 679 | #navigator-toolbox:not([iconsize]) #save-page-button[cui-areatype="toolbar"] { |
43cc2806 RK |
680 | -moz-image-region: rect(0, 252px, 18px, 234px); |
681 | } | |
682 | ||
fd291cce | 683 | #navigator-toolbox:not([iconsize]) #save-page-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
684 | -moz-image-region: rect(18px, 252px, 36px, 234px); |
685 | } | |
686 | ||
fd291cce | 687 | #navigator-toolbox:not([iconsize]) #sync-button[cui-areatype="toolbar"] { |
43cc2806 RK |
688 | -moz-image-region: rect(0, 270px, 18px, 252px); |
689 | } | |
690 | ||
fd291cce | 691 | #navigator-toolbox:not([iconsize]) #sync-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
692 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
693 | } | |
694 | ||
fd291cce | 695 | #navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"] { |
43cc2806 RK |
696 | -moz-image-region: rect(0, 288px, 18px, 270px); |
697 | } | |
698 | ||
fd291cce | 699 | #navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { |
43cc2806 RK |
700 | -moz-image-region: rect(18px, 288px, 36px, 270px); |
701 | } | |
702 | ||
fd291cce | 703 | #navigator-toolbox:not([iconsize]) #feed-button[cui-areatype="toolbar"][disabled="true"] { |
cc4b0b0d RK |
704 | -moz-image-region: rect(36px, 288px, 54px, 270px); |
705 | } | |
706 | ||
fd291cce | 707 | #navigator-toolbox:not([iconsize]) #social-share-button[cui-areatype="toolbar"] { |
43cc2806 RK |
708 | -moz-image-region: rect(0px, 306px, 18px, 288px); |
709 | } | |
710 | ||
fd291cce | 711 | #navigator-toolbox:not([iconsize]) #social-share-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
712 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
713 | } | |
714 | ||
fd291cce | 715 | #navigator-toolbox:not([iconsize]) #email-link-button[cui-areatype="toolbar"] { |
43cc2806 RK |
716 | -moz-image-region: rect(0, 306px, 18px, 288px); |
717 | /* This is temporary until we have an email-link icon (Bug 932235) */ | |
718 | transform: scale(-1, -1); | |
719 | } | |
720 | ||
fd291cce | 721 | #navigator-toolbox:not([iconsize]) #email-link-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
722 | -moz-image-region: rect(18px, 306px, 36px, 288px); |
723 | } | |
724 | ||
fd291cce | 725 | #navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"] { |
43cc2806 RK |
726 | -moz-image-region: rect(0, 324px, 18px, 306px); |
727 | } | |
728 | ||
fd291cce RK |
729 | #navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]), |
730 | #navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
731 | -moz-image-region: rect(18px, 324px, 36px, 306px); |
732 | } | |
733 | ||
fd291cce | 734 | #navigator-toolbox:not([iconsize]) #characterencoding-button[cui-areatype="toolbar"][disabled="true"] { |
cc4b0b0d RK |
735 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
736 | } | |
737 | ||
fd291cce | 738 | #navigator-toolbox:not([iconsize]) #new-window-button[cui-areatype="toolbar"] { |
43cc2806 RK |
739 | -moz-image-region: rect(0, 342px, 18px, 324px); |
740 | } | |
741 | ||
fd291cce | 742 | #navigator-toolbox:not([iconsize]) #new-window-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
743 | -moz-image-region: rect(18px, 342px, 36px, 324px); |
744 | } | |
745 | ||
fd291cce | 746 | #navigator-toolbox:not([iconsize]) #new-tab-button[cui-areatype="toolbar"] { |
43cc2806 RK |
747 | -moz-image-region: rect(0, 360px, 18px, 342px); |
748 | } | |
749 | ||
fd291cce | 750 | #navigator-toolbox:not([iconsize]) #new-tab-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
751 | -moz-image-region: rect(18px, 360px, 36px, 342px); |
752 | } | |
753 | ||
fd291cce | 754 | #navigator-toolbox:not([iconsize]) #privatebrowsing-button[cui-areatype="toolbar"] { |
43cc2806 RK |
755 | -moz-image-region: rect(0, 378px, 18px, 360px); |
756 | } | |
757 | ||
fd291cce | 758 | #navigator-toolbox:not([iconsize]) #privatebrowsing-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
759 | -moz-image-region: rect(18px, 378px, 36px, 360px); |
760 | } | |
761 | ||
fd291cce | 762 | #navigator-toolbox:not([iconsize]) #find-button[cui-areatype="toolbar"] { |
43cc2806 RK |
763 | -moz-image-region: rect(0, 396px, 18px, 378px); |
764 | } | |
765 | ||
fd291cce | 766 | #navigator-toolbox:not([iconsize]) #find-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
767 | -moz-image-region: rect(18px, 396px, 36px, 378px); |
768 | } | |
769 | ||
fd291cce | 770 | #navigator-toolbox:not([iconsize]) #print-button[cui-areatype="toolbar"] { |
43cc2806 RK |
771 | -moz-image-region: rect(0, 414px, 18px, 396px); |
772 | } | |
773 | ||
fd291cce | 774 | #navigator-toolbox:not([iconsize]) #print-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
775 | -moz-image-region: rect(18px, 414px, 36px, 396px); |
776 | } | |
777 | ||
fd291cce | 778 | #navigator-toolbox:not([iconsize]) #fullscreen-button[cui-areatype="toolbar"] { |
43cc2806 RK |
779 | -moz-image-region: rect(0, 432px, 18px, 414px); |
780 | } | |
781 | ||
fd291cce | 782 | #navigator-toolbox:not([iconsize]) #fullscreen-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
783 | -moz-image-region: rect(18px, 432px, 36px, 414px); |
784 | } | |
785 | ||
fd291cce | 786 | #navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"] { |
43cc2806 RK |
787 | -moz-image-region: rect(0, 450px, 18px, 432px); |
788 | } | |
789 | ||
fd291cce RK |
790 | #navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"]:hover, |
791 | #navigator-toolbox:not([iconsize]) #developer-button[cui-areatype="toolbar"][open="true"] { | |
43cc2806 RK |
792 | -moz-image-region: rect(18px, 450px, 36px, 432px); |
793 | } | |
794 | ||
fd291cce | 795 | #navigator-toolbox:not([iconsize]) #preferences-button[cui-areatype="toolbar"] { |
43cc2806 RK |
796 | -moz-image-region: rect(0, 468px, 18px, 450px); |
797 | } | |
798 | ||
fd291cce | 799 | #navigator-toolbox:not([iconsize]) #preferences-button[cui-areatype="toolbar"]:hover { |
43cc2806 RK |
800 | -moz-image-region: rect(18px, 468px, 36px, 450px); |
801 | } | |
802 | ||
fd291cce | 803 | #navigator-toolbox:not([iconsize]) #PanelUI-menu-button { |
43cc2806 RK |
804 | -moz-image-region: rect(0, 486px, 18px, 468px); |
805 | } | |
806 | ||
fd291cce RK |
807 | #navigator-toolbox:not([iconsize]) #PanelUI-menu-button:hover, |
808 | #navigator-toolbox:not([iconsize]) #PanelUI-menu-button[open="true"] { | |
43cc2806 RK |
809 | -moz-image-region: rect(18px, 486px, 36px, 468px); |
810 | } | |
811 | ||
fd291cce | 812 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button { |
43cc2806 RK |
813 | -moz-image-region: rect(0, 504px, 18px, 486px); |
814 | } | |
815 | ||
fd291cce | 816 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button:hover:not([disabled="true"]) { |
43cc2806 RK |
817 | -moz-image-region: rect(18px, 504px, 36px, 486px); |
818 | } | |
819 | ||
fd291cce | 820 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #cut-button[disabled="true"] { |
cc4b0b0d RK |
821 | -moz-image-region: rect(36px, 504px, 54px, 486px); |
822 | } | |
823 | ||
fd291cce | 824 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button { |
43cc2806 RK |
825 | -moz-image-region: rect(0, 522px, 18px, 504px); |
826 | } | |
827 | ||
fd291cce | 828 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button:hover:not([disabled="true"]) { |
43cc2806 RK |
829 | -moz-image-region: rect(18px, 522px, 36px, 504px); |
830 | } | |
831 | ||
fd291cce | 832 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #copy-button[disabled="true"] { |
cc4b0b0d RK |
833 | -moz-image-region: rect(36px, 522px, 54px, 504px); |
834 | } | |
835 | ||
fd291cce | 836 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button { |
43cc2806 RK |
837 | -moz-image-region: rect(0, 540px, 18px, 522px); |
838 | } | |
839 | ||
fd291cce | 840 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button:hover:not([disabled="true"]) { |
43cc2806 RK |
841 | -moz-image-region: rect(18px, 540px, 36px, 522px); |
842 | } | |
843 | ||
fd291cce | 844 | #navigator-toolbox:not([iconsize]) #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #paste-button[disabled="true"] { |
cc4b0b0d RK |
845 | -moz-image-region: rect(36px, 540px, 54px, 522px); |
846 | } | |
847 | ||
fd291cce | 848 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button { |
43cc2806 RK |
849 | -moz-image-region: rect(0, 558px, 18px, 540px); |
850 | } | |
851 | ||
fd291cce | 852 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button:hover:not([disabled="true"]) { |
43cc2806 RK |
853 | -moz-image-region: rect(18px, 558px, 36px, 540px); |
854 | } | |
855 | ||
fd291cce | 856 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-out-button[disabled="true"] { |
cc4b0b0d RK |
857 | -moz-image-region: rect(36px, 558px, 54px, 540px); |
858 | } | |
859 | ||
fd291cce | 860 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button { |
43cc2806 RK |
861 | -moz-image-region: rect(0, 576px, 18px, 558px); |
862 | } | |
863 | ||
fd291cce | 864 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button:hover:not([disabled="true"]) { |
43cc2806 RK |
865 | -moz-image-region: rect(18px, 576px, 36px, 558px); |
866 | } | |
867 | ||
fd291cce | 868 | #navigator-toolbox:not([iconsize]) #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) > #zoom-in-button[disabled="true"] { |
cc4b0b0d RK |
869 | -moz-image-region: rect(36px, 576px, 54px, 558px); |
870 | } | |
871 | ||
fd291cce | 872 | #navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)) { |
43cc2806 RK |
873 | -moz-image-region: rect(0, 594px, 18px, 576px); |
874 | } | |
875 | ||
fd291cce RK |
876 | #navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)):hover, |
877 | #navigator-toolbox:not([iconsize]) #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem))[open="true"] { | |
43cc2806 RK |
878 | -moz-image-region: rect(18px, 594px, 36px, 576px); |
879 | } | |
880 | ||
fd291cce | 881 | #navigator-toolbox:not([iconsize]) #nav-bar-overflow-button { |
43cc2806 RK |
882 | -moz-image-region: rect(0, 612px, 18px, 594px); |
883 | } | |
884 | ||
fd291cce RK |
885 | #navigator-toolbox:not([iconsize]) #nav-bar-overflow-button:hover, |
886 | #navigator-toolbox:not([iconsize]) #nav-bar-overflow-button[open="true"] { | |
43cc2806 RK |
887 | -moz-image-region: rect(18px, 612px, 36px, 594px); |
888 | } | |
889 | ||
890 | /* === END toolbarbuttons.inc.css === */ | |
891 | ||
892 | /* === BEGIN menupanel.inc.css === */ | |
893 | ||
894 | /* Menu panel and palette styles */ | |
895 | ||
896 | /* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */ | |
897 | :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, | |
898 | #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button, | |
899 | #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, | |
900 | #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, | |
901 | #PanelUI-menu-button, #characterencoding-button, #email-link-button)[cui-areatype="menu-panel"], | |
902 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, | |
903 | #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button, | |
904 | #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, | |
905 | #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, | |
906 | #PanelUI-menu-button, #characterencoding-button, #email-link-button) { | |
907 | list-style-image: url("chrome://browser/skin/menuPanel.png"); | |
908 | } | |
909 | ||
910 | #home-button[cui-areatype="menu-panel"], | |
911 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #home-button { | |
912 | -moz-image-region: rect(0px, 128px, 32px, 96px); | |
913 | } | |
914 | ||
cc4b0b0d RK |
915 | #home-button[cui-areatype="menu-panel"]:hover, |
916 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #home-button:hover { | |
917 | -moz-image-region: rect(32px, 128px, 64px, 96px); | |
918 | } | |
919 | ||
43cc2806 RK |
920 | #bookmarks-menu-button[cui-areatype="menu-panel"], |
921 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #bookmarks-menu-button { | |
922 | -moz-image-region: rect(0px, 160px, 32px, 128px); | |
923 | } | |
924 | ||
cc4b0b0d RK |
925 | #bookmarks-menu-button[cui-areatype="menu-panel"]:hover, |
926 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover { | |
927 | -moz-image-region: rect(32px, 160px, 64px, 128px); | |
928 | } | |
929 | ||
43cc2806 RK |
930 | #bookmarks-menu-button[starred][cui-areatype="menu-panel"] { |
931 | -moz-image-region: rect(0px, 192px, 32px, 160px); | |
932 | } | |
933 | ||
cc4b0b0d RK |
934 | #bookmarks-menu-button[starred][cui-areatype="menu-panel"]:hover { |
935 | -moz-image-region: rect(32px, 192px, 64px, 160px); | |
936 | } | |
937 | ||
43cc2806 RK |
938 | #history-panelmenu[cui-areatype="menu-panel"], |
939 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #history-panelmenu { | |
940 | -moz-image-region: rect(0px, 224px, 32px, 192px); | |
941 | } | |
942 | ||
cc4b0b0d RK |
943 | #history-panelmenu[cui-areatype="menu-panel"]:hover, |
944 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #history-panelmenu:hover { | |
945 | -moz-image-region: rect(32px, 224px, 64px, 192px); | |
946 | } | |
947 | ||
43cc2806 RK |
948 | #downloads-button[cui-areatype="menu-panel"], |
949 | #downloads-indicator[cui-areatype="menu-panel"], | |
950 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button { | |
951 | -moz-image-region: rect(0px, 256px, 32px, 224px); | |
952 | } | |
953 | ||
cc4b0b0d RK |
954 | #downloads-button[cui-areatype="menu-panel"]:hover, |
955 | #downloads-indicator[cui-areatype="menu-panel"]:hover, | |
956 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #downloads-button:hover { | |
957 | -moz-image-region: rect(32px, 256px, 64px, 224px); | |
958 | } | |
959 | ||
43cc2806 RK |
960 | #switch-to-metro-button[cui-areatype="menu-panel"], |
961 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #switch-to-metro-button { | |
962 | -moz-image-region: rect(0px, 800px, 32px, 768px); | |
963 | } | |
964 | ||
cc4b0b0d RK |
965 | #switch-to-metro-button[cui-areatype="menu-panel"]:hover, |
966 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #switch-to-metro-button:hover { | |
967 | -moz-image-region: rect(32px, 800px, 64px, 768px); | |
968 | } | |
969 | ||
43cc2806 RK |
970 | #add-ons-button[cui-areatype="menu-panel"], |
971 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #add-ons-button { | |
972 | -moz-image-region: rect(0px, 288px, 32px, 256px); | |
973 | } | |
974 | ||
cc4b0b0d RK |
975 | #add-ons-button[cui-areatype="menu-panel"]:hover, |
976 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #add-ons-button:hover { | |
977 | -moz-image-region: rect(32px, 288px, 64px, 256px); | |
978 | } | |
979 | ||
43cc2806 RK |
980 | #open-file-button[cui-areatype="menu-panel"], |
981 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #open-file-button { | |
982 | -moz-image-region: rect(0px, 320px, 32px, 288px); | |
983 | } | |
984 | ||
cc4b0b0d RK |
985 | #open-file-button[cui-areatype="menu-panel"]:hover, |
986 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #open-file-button:hover { | |
987 | -moz-image-region: rect(32px, 320px, 64px, 288px); | |
988 | } | |
989 | ||
43cc2806 RK |
990 | #save-page-button[cui-areatype="menu-panel"], |
991 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #save-page-button { | |
992 | -moz-image-region: rect(0px, 352px, 32px, 320px); | |
993 | } | |
994 | ||
cc4b0b0d RK |
995 | #save-page-button[cui-areatype="menu-panel"]:hover, |
996 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #save-page-button:hover { | |
997 | -moz-image-region: rect(32px, 352px, 64px, 320px); | |
998 | } | |
999 | ||
43cc2806 RK |
1000 | #sync-button[cui-areatype="menu-panel"], |
1001 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #sync-button { | |
1002 | -moz-image-region: rect(0px, 384px, 32px, 352px); | |
1003 | } | |
1004 | ||
cc4b0b0d RK |
1005 | #sync-button[cui-areatype="menu-panel"]:hover, |
1006 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #sync-button:hover { | |
1007 | -moz-image-region: rect(32px, 384px, 64px, 352px); | |
1008 | } | |
1009 | ||
43cc2806 RK |
1010 | #feed-button[cui-areatype="menu-panel"], |
1011 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button { | |
1012 | -moz-image-region: rect(0px, 416px, 32px, 384px); | |
1013 | } | |
1014 | ||
cc4b0b0d RK |
1015 | #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
1016 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) { | |
1017 | -moz-image-region: rect(32px, 416px, 64px, 384px); | |
1018 | } | |
1019 | ||
1020 | #feed-button[cui-areatype="menu-panel"][disabled="true"], | |
1021 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] { | |
1022 | -moz-image-region: rect(64px, 416px, 96px, 384px); | |
1023 | } | |
1024 | ||
43cc2806 RK |
1025 | #social-share-button[cui-areatype="menu-panel"], |
1026 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #social-share-button { | |
1027 | -moz-image-region: rect(0px, 448px, 32px, 416px); | |
1028 | } | |
1029 | ||
cc4b0b0d RK |
1030 | #social-share-button[cui-areatype="menu-panel"]:hover, |
1031 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #social-share-button:hover { | |
1032 | -moz-image-region: rect(32px, 448px, 64px, 416px); | |
1033 | } | |
1034 | ||
43cc2806 RK |
1035 | #email-link-button[cui-areatype="menu-panel"], |
1036 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button { | |
1037 | -moz-image-region: rect(0, 448px, 32px, 416px); | |
1038 | } | |
1039 | ||
cc4b0b0d RK |
1040 | #email-link-button[cui-areatype="menu-panel"]:hover, |
1041 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button:hover { | |
fd291cce | 1042 | -moz-image-region: rect(32px, 448px, 64px, 416px); |
cc4b0b0d RK |
1043 | } |
1044 | ||
43cc2806 RK |
1045 | /* This is temporary until we have an email-link icon (Bug 932235) */ |
1046 | #email-link-button[cui-areatype="menu-panel"] > image, | |
1047 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #email-link-button > image { | |
1048 | transform: scale(-1, -1); | |
1049 | } | |
1050 | ||
1051 | #characterencoding-button[cui-areatype="menu-panel"], | |
1052 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button { | |
1053 | -moz-image-region: rect(0px, 480px, 32px, 448px); | |
1054 | } | |
1055 | ||
cc4b0b0d RK |
1056 | #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]), |
1057 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) { | |
1058 | -moz-image-region: rect(32px, 480px, 64px, 448px); | |
1059 | } | |
1060 | ||
1061 | #characterencoding-button[cui-areatype="menu-panel"][disabled="true"], | |
1062 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] { | |
1063 | -moz-image-region: rect(64px, 480px, 96px, 448px); | |
1064 | } | |
1065 | ||
43cc2806 RK |
1066 | #new-window-button[cui-areatype="menu-panel"], |
1067 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-window-button { | |
1068 | -moz-image-region: rect(0px, 512px, 32px, 480px); | |
1069 | } | |
1070 | ||
cc4b0b0d RK |
1071 | #new-window-button[cui-areatype="menu-panel"]:hover, |
1072 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-window-button:hover { | |
1073 | -moz-image-region: rect(32px, 512px, 64px, 480px); | |
1074 | } | |
1075 | ||
43cc2806 RK |
1076 | #new-tab-button[cui-areatype="menu-panel"], |
1077 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-tab-button { | |
1078 | -moz-image-region: rect(0px, 544px, 32px, 512px); | |
1079 | } | |
1080 | ||
cc4b0b0d RK |
1081 | #new-tab-button[cui-areatype="menu-panel"]:hover, |
1082 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #new-tab-button:hover { | |
1083 | -moz-image-region: rect(32px, 544px, 64px, 512px); | |
1084 | } | |
1085 | ||
43cc2806 RK |
1086 | #privatebrowsing-button[cui-areatype="menu-panel"], |
1087 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #privatebrowsing-button { | |
1088 | -moz-image-region: rect(0px, 576px, 32px, 544px); | |
1089 | } | |
1090 | ||
cc4b0b0d RK |
1091 | #privatebrowsing-button[cui-areatype="menu-panel"]:hover, |
1092 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover { | |
1093 | -moz-image-region: rect(32px, 576px, 64px, 544px); | |
1094 | } | |
1095 | ||
43cc2806 RK |
1096 | #find-button[cui-areatype="menu-panel"], |
1097 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #find-button { | |
1098 | -moz-image-region: rect(0px, 640px, 32px, 608px); | |
1099 | } | |
1100 | ||
cc4b0b0d RK |
1101 | #find-button[cui-areatype="menu-panel"]:hover, |
1102 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #find-button:hover { | |
1103 | -moz-image-region: rect(32px, 640px, 64px, 608px); | |
1104 | } | |
1105 | ||
43cc2806 RK |
1106 | #print-button[cui-areatype="menu-panel"], |
1107 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #print-button { | |
1108 | -moz-image-region: rect(0px, 672px, 32px, 640px); | |
1109 | } | |
1110 | ||
cc4b0b0d RK |
1111 | #print-button[cui-areatype="menu-panel"]:hover, |
1112 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #print-button:hover { | |
1113 | -moz-image-region: rect(32px, 672px, 64px, 640px); | |
1114 | } | |
1115 | ||
43cc2806 RK |
1116 | #fullscreen-button[cui-areatype="menu-panel"], |
1117 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #fullscreen-button { | |
1118 | -moz-image-region: rect(0px, 704px, 32px, 672px); | |
1119 | } | |
1120 | ||
cc4b0b0d RK |
1121 | #fullscreen-button[cui-areatype="menu-panel"]:hover, |
1122 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #fullscreen-button:hover { | |
1123 | -moz-image-region: rect(32px, 704px, 64px, 672px); | |
1124 | } | |
1125 | ||
43cc2806 RK |
1126 | #developer-button[cui-areatype="menu-panel"], |
1127 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #developer-button { | |
1128 | -moz-image-region: rect(0px, 736px, 32px, 704px); | |
1129 | } | |
1130 | ||
cc4b0b0d RK |
1131 | #developer-button[cui-areatype="menu-panel"]:hover, |
1132 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #developer-button:hover { | |
1133 | -moz-image-region: rect(32px, 736px, 64px, 704px); | |
1134 | } | |
1135 | ||
43cc2806 RK |
1136 | #preferences-button[cui-areatype="menu-panel"], |
1137 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #preferences-button { | |
1138 | -moz-image-region: rect(0px, 768px, 32px, 736px); | |
1139 | } | |
1140 | ||
cc4b0b0d RK |
1141 | #preferences-button[cui-areatype="menu-panel"]:hover, |
1142 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #preferences-button:hover { | |
1143 | -moz-image-region: rect(32px, 768px, 64px, 736px); | |
1144 | } | |
1145 | ||
43cc2806 RK |
1146 | /* Wide panel control icons */ |
1147 | ||
1148 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > toolbarbutton, | |
1149 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > toolbarbutton, | |
1150 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, | |
1151 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { | |
1152 | list-style-image: url("chrome://browser/skin/menuPanel-small.png"); | |
1153 | } | |
1154 | ||
1155 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button, | |
1156 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button { | |
1157 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
1158 | } | |
1159 | ||
cc4b0b0d RK |
1160 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button:hover:not([disabled="true"]), |
1161 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) { | |
1162 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
1163 | } | |
1164 | ||
1165 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #cut-button[disabled="true"], | |
1166 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] { | |
1167 | -moz-image-region: rect(32px, 32px, 48px, 16px); | |
1168 | } | |
1169 | ||
43cc2806 RK |
1170 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button, |
1171 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button { | |
1172 | -moz-image-region: rect(0px, 48px, 16px, 32px); | |
1173 | } | |
1174 | ||
cc4b0b0d RK |
1175 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button:hover:not([disabled="true"]), |
1176 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) { | |
1177 | -moz-image-region: rect(16px, 48px, 32px, 32px); | |
1178 | } | |
1179 | ||
1180 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #copy-button[disabled="true"], | |
1181 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] { | |
1182 | -moz-image-region: rect(32px, 48px, 48px, 32px); | |
1183 | } | |
1184 | ||
43cc2806 RK |
1185 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button, |
1186 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button { | |
1187 | -moz-image-region: rect(0px, 64px, 16px, 48px); | |
1188 | } | |
1189 | ||
cc4b0b0d RK |
1190 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button:hover:not([disabled="true"]), |
1191 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) { | |
1192 | -moz-image-region: rect(16px, 64px, 32px, 48px); | |
1193 | } | |
1194 | ||
1195 | #edit-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #paste-button[disabled="true"], | |
1196 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] { | |
1197 | -moz-image-region: rect(32px, 64px, 48px, 48px); | |
1198 | } | |
1199 | ||
43cc2806 RK |
1200 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button, |
1201 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button { | |
1202 | -moz-image-region: rect(0px, 80px, 16px, 64px); | |
1203 | } | |
1204 | ||
cc4b0b0d RK |
1205 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button:hover:not([disabled="true"]), |
1206 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) { | |
1207 | -moz-image-region: rect(16px, 80px, 32px, 64px); | |
1208 | } | |
1209 | ||
1210 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-out-button[disabled="true"], | |
1211 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] { | |
1212 | -moz-image-region: rect(32px, 80px, 48px, 64px); | |
1213 | } | |
1214 | ||
43cc2806 RK |
1215 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button, |
1216 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button { | |
1217 | -moz-image-region: rect(0px, 96px, 16px, 80px); | |
1218 | } | |
1219 | ||
cc4b0b0d RK |
1220 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button:hover:not([disabled="true"]), |
1221 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) { | |
1222 | -moz-image-region: rect(16px, 96px, 32px, 80px); | |
1223 | } | |
1224 | ||
1225 | #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem) > #zoom-in-button[disabled="true"], | |
1226 | :-moz-any(#customization-palette, #panelUI-contents) > toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] { | |
1227 | -moz-image-region: rect(32px, 96px, 48px, 80px); | |
1228 | } | |
1229 | ||
43cc2806 RK |
1230 | /* === END menupanel.inc.css === */ |
1231 | ||
63ada306 | 1232 | .toolbarbutton-1 { |
a736ce46 | 1233 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
63ada306 RK |
1234 | } |
1235 | ||
1236 | .toolbarbutton-1:not([type="menu-button"]) { | |
1237 | -moz-box-orient: vertical; | |
1238 | } | |
1239 | ||
319c6529 RK |
1240 | .toolbarbutton-1, |
1241 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
1242 | min-width: 36px; | |
1243 | min-height: 36px; | |
319c6529 RK |
1244 | } |
1245 | ||
ab799a7a RK |
1246 | .toolbarbutton-1:not([type="menu-button"]) { |
1247 | -moz-box-orient: vertical; | |
319c6529 RK |
1248 | } |
1249 | ||
1250 | .toolbarbutton-1, | |
1251 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
1252 | .toolbarbutton-1[disabled="true"]:hover:active, | |
1253 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { | |
1254 | padding: 1px 2px; | |
1255 | } | |
1256 | ||
1257 | .toolbarbutton-1:hover:active, | |
1258 | .toolbarbutton-1[open="true"], | |
1259 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { | |
1260 | padding-top: 2px; | |
1261 | padding-bottom: 0px; | |
1262 | -moz-padding-start: 3px; | |
1263 | -moz-padding-end: 1px; | |
1264 | } | |
1265 | ||
319c6529 RK |
1266 | /* ::::: small primary toolbar buttons ::::: */ |
1267 | ||
9abeb12c RK |
1268 | #nav-bar { |
1269 | /* force iconsize="small" on this toolbar */ | |
1270 | counter-reset: smallicons; | |
1271 | } | |
1272 | ||
319c6529 RK |
1273 | toolbar[mode="text"] .toolbarbutton-1, |
1274 | toolbar[mode="icons"] .toolbarbutton-1, | |
1275 | toolbar[iconsize="small"] .toolbarbutton-1, | |
1276 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1, | |
1277 | toolbar[mode="text"] .toolbarbutton-menubutton-button, | |
1278 | toolbar[mode="icons"] .toolbarbutton-menubutton-button, | |
1279 | toolbar[iconsize="small"] .toolbarbutton-menubutton-button, | |
1280 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
1281 | min-width: 0px; | |
1282 | min-height: 0px; | |
1283 | } | |
1284 | ||
1285 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker { | |
1286 | padding-top: 4px; | |
1287 | padding-bottom: 8px; | |
1288 | -moz-padding-start: 1px; | |
1289 | -moz-padding-end: 1px; | |
1290 | } | |
1291 | ||
1292 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker, | |
1293 | toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker, | |
1294 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
1295 | padding-top: 0px; | |
1296 | padding-bottom: 13px; | |
1297 | -moz-padding-start: 1px; | |
1298 | -moz-padding-end: 1px; | |
1299 | } | |
1300 | ||
1301 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
1302 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
1303 | padding-top: 5px; | |
1304 | padding-bottom: 7px; | |
43cc2806 RK |
1305 | -moz-padding-start: 2px; |
1306 | -moz-padding-end: 0px; | |
319c6529 RK |
1307 | } |
1308 | ||
1309 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
1310 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, | |
1311 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
1312 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, | |
1313 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
1314 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
1315 | padding-top: 1px; | |
1316 | padding-bottom: 12px; | |
43cc2806 RK |
1317 | -moz-padding-start: 2px; |
1318 | -moz-padding-end: 0px; | |
319c6529 RK |
1319 | } |
1320 | ||
1321 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { | |
1322 | padding-top: 4px !important; | |
1323 | padding-bottom: 8px !important; | |
1324 | -moz-padding-start: 1px !important; | |
1325 | -moz-padding-end: 1px !important; | |
1326 | } | |
1327 | ||
1328 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"], | |
1329 | toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { | |
1330 | padding-top: 0px !important; | |
1331 | padding-bottom: 13px !important; | |
1332 | -moz-padding-start: 1px !important; | |
1333 | -moz-padding-end: 1px !important; | |
1334 | } | |
1335 | ||
1336 | toolbar[mode="icons"] .toolbarbutton-text, | |
1337 | toolbar[mode="text"] .toolbarbutton-icon { | |
1338 | display: none; | |
1339 | } | |
1340 | ||
1341 | toolbar[mode="text"] .toolbarbutton-text { | |
1342 | padding: 4px 0; | |
1343 | } | |
1344 | ||
1345 | toolbar[mode="text"] .toolbarbutton-1, | |
1346 | toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
1347 | -moz-box-orient: horizontal; | |
1348 | } | |
1349 | ||
1350 | toolbar[mode="full"] .toolbarbutton-1, | |
1351 | toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
1352 | min-width: 30px; | |
1353 | } | |
1354 | ||
d54f5b23 | 1355 | #navigator-toolbox[iconsize=small] > #nav-bar { |
d54f5b23 RK |
1356 | } |
1357 | ||
1358 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar { | |
d54f5b23 RK |
1359 | } |
1360 | ||
1361 | ||
319c6529 RK |
1362 | /* unified back/forward button */ |
1363 | ||
1364 | #back-button { | |
1365 | -moz-image-region: rect(0, 18px, 18px, 0); | |
1366 | -moz-margin-end: 0; | |
1367 | } | |
1368 | ||
38cfeb47 RK |
1369 | #back-button:not([disabled="true"]):hover { |
1370 | -moz-image-region: rect(18px, 18px, 36px, 0); | |
1371 | } | |
1372 | ||
1373 | #back-button[disabled="true"] { | |
1374 | -moz-image-region: rect(36px, 18px, 54px, 0); | |
1375 | } | |
1376 | ||
319c6529 RK |
1377 | #forward-button { |
1378 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
1379 | border-left: none; | |
1380 | -moz-margin-start: 0; | |
1381 | } | |
1382 | ||
38cfeb47 RK |
1383 | #forward-button:not([disabled="true"]):hover { |
1384 | -moz-image-region: rect(18px, 36px, 36px, 18px); | |
1385 | } | |
1386 | ||
1387 | #forward-button[disabled="true"] { | |
1388 | -moz-image-region: rect(36px, 36px, 54px, 18px); | |
b36fc72e RK |
1389 | } |
1390 | ||
319c6529 RK |
1391 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
1392 | #forward-button:-moz-locale-dir(rtl), | |
1393 | #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text { | |
71a617ff | 1394 | transform: scaleX(-1); |
319c6529 RK |
1395 | } |
1396 | ||
b36fc72e RK |
1397 | #nav-bar #back-button { |
1398 | -moz-margin-end: 0 !important; | |
1399 | } | |
1400 | ||
1401 | #nav-bar #forward-button { | |
1402 | border-left-style: none; | |
1403 | -moz-margin-start: 0 !important; | |
1404 | } | |
1405 | ||
1406 | #nav-bar #back-button:-moz-locale-dir(ltr) { | |
319c6529 RK |
1407 | border-top-right-radius: 0; |
1408 | border-bottom-right-radius: 0; | |
1409 | } | |
1410 | ||
b36fc72e RK |
1411 | #nav-bar #back-button:-moz-locale-dir(rtl), |
1412 | #nav-bar #forward-button { | |
319c6529 RK |
1413 | border-top-left-radius: 0; |
1414 | border-bottom-left-radius: 0; | |
1415 | } | |
1416 | ||
43cc2806 RK |
1417 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
1418 | #urlbar-container > #back-button, | |
676f0091 RK |
1419 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1420 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1421 | #unified-back-forward-button > #back-button { | |
319c6529 RK |
1422 | border-radius: 10000px; |
1423 | width: 30px; | |
1424 | height: 30px; | |
1425 | position: relative; | |
1426 | z-index: 1; | |
1427 | margin-top: -2px; | |
1428 | margin-bottom: -2px; | |
1429 | border: none; | |
38cfeb47 RK |
1430 | -moz-image-region: rect(54px, 20px, 74px, 0); |
1431 | } | |
1432 | ||
43cc2806 RK |
1433 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
1434 | #urlbar-container > #back-button[open="true"], | |
676f0091 RK |
1435 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1436 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1437 | #unified-back-forward-button > #back-button:not([disabled="true"]):hover, | |
1438 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1439 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1440 | #unified-back-forward-button > #back-button[open="true"] { | |
38cfeb47 RK |
1441 | -moz-image-region: rect(54px, 40px, 74px, 20px); |
1442 | } | |
1443 | ||
43cc2806 RK |
1444 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
1445 | #urlbar-container > #back-button[disabled="true"], | |
676f0091 RK |
1446 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1447 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1448 | #unified-back-forward-button > #back-button[disabled="true"] { | |
38cfeb47 | 1449 | -moz-image-region: rect(54px, 60px, 74px, 40px); |
319c6529 RK |
1450 | } |
1451 | ||
676f0091 RK |
1452 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1453 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1454 | #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { | |
319c6529 RK |
1455 | } |
1456 | ||
676f0091 RK |
1457 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1458 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1459 | #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active, | |
1460 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1461 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1462 | #unified-back-forward-button > #back-button[open="true"] { | |
319c6529 RK |
1463 | } |
1464 | ||
9abeb12c RK |
1465 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"], |
1466 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) { | |
319c6529 RK |
1467 | /* padding-top: 3px; |
1468 | padding-bottom: 5px; */ | |
1469 | } | |
1470 | ||
9abeb12c RK |
1471 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"], |
1472 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) { | |
319c6529 RK |
1473 | /* padding-top: 5px; */ |
1474 | } | |
1475 | ||
43cc2806 RK |
1476 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
1477 | #urlbar-container > #forward-button, | |
676f0091 RK |
1478 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1479 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1480 | #unified-back-forward-button > #forward-button { | |
319c6529 | 1481 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ |
2a5b7882 | 1482 | /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */ |
9abeb12c | 1483 | -moz-margin-start: -6px !important; |
319c6529 RK |
1484 | padding-left: 7px; |
1485 | padding-right: 3px; | |
e8519ae0 RK |
1486 | margin-top: 2px; |
1487 | margin-bottom: 2px; | |
1488 | } | |
1489 | ||
43cc2806 RK |
1490 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
1491 | #urlbar-container > #forward-button:-moz-locale-dir(ltr), | |
676f0091 RK |
1492 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1493 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1494 | #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) { | |
e8519ae0 RK |
1495 | border-top-right-radius: 11px; |
1496 | border-bottom-right-radius: 11px; | |
1497 | } | |
1498 | ||
43cc2806 RK |
1499 | /* Remove selector when Australis lands - this makes it only apply post-Australis as back/forward buttons are in the urlbar-container there */ |
1500 | #urlbar-container > #forward-button:-moz-locale-dir(rtl), | |
676f0091 RK |
1501 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1502 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1503 | #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) { | |
e8519ae0 RK |
1504 | border-top-left-radius: 11px; |
1505 | border-bottom-left-radius: 11px; | |
319c6529 RK |
1506 | } |
1507 | ||
319c6529 RK |
1508 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), |
1509 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { | |
71bac478 RK |
1510 | list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important; |
1511 | } | |
1512 | ||
1513 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover, | |
1514 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover { | |
1515 | list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important; | |
319c6529 RK |
1516 | } |
1517 | ||
1518 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), | |
1519 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { | |
71bac478 RK |
1520 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; |
1521 | } | |
1522 | ||
1523 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover, | |
1524 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover { | |
1525 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; | |
319c6529 RK |
1526 | } |
1527 | ||
8ad8bf83 RK |
1528 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1529 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1530 | #unified-back-forward-button > #forward-button { | |
e8519ae0 | 1531 | /* border-top-right-radius: 0; |
8ad8bf83 | 1532 | border-bottom-right-radius: 0; |
e8519ae0 | 1533 | -moz-margin-end: 0; */ |
8ad8bf83 RK |
1534 | } |
1535 | ||
1536 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1537 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1538 | #unified-back-forward-button:not([switchingtabs]) > #forward-button { | |
71a617ff | 1539 | transition: opacity 150ms ease-out; |
8ad8bf83 RK |
1540 | } |
1541 | ||
1542 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1543 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1544 | #unified-back-forward-button:not(:hover) > #forward-button[disabled] { | |
1545 | opacity: 0; | |
1546 | } | |
1547 | ||
e8519ae0 RK |
1548 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1549 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
1550 | #unified-back-forward-button:hover > #forward-button[disabled] { | |
1551 | background-color: transparent; | |
1552 | } | |
1553 | ||
fd291cce RK |
1554 | /* A number of buttons use :-moz-any(#palette-box, #navigator-toolbox[iconsize]) - this makes it only apply pre-Australis as iconsize and the palette-box don't exist afterwards */ |
1555 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #stop-button { | |
319c6529 RK |
1556 | -moz-image-region: rect(0, 54px, 18px, 36px); |
1557 | } | |
1558 | ||
fd291cce | 1559 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #stop-button:not([disabled="true"]):hover { |
143c5409 RK |
1560 | -moz-image-region: rect(18px, 54px, 36px, 36px); |
1561 | } | |
1562 | ||
fd291cce | 1563 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #stop-button[disabled="true"] { |
143c5409 RK |
1564 | -moz-image-region: rect(36px, 54px, 54px, 36px); |
1565 | } | |
1566 | ||
fd291cce | 1567 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #reload-button { |
319c6529 RK |
1568 | -moz-image-region: rect(0, 72px, 18px, 54px); |
1569 | } | |
1570 | ||
fd291cce | 1571 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #reload-button:not([disabled="true"]):hover { |
143c5409 RK |
1572 | -moz-image-region: rect(18px, 72px, 36px, 54px); |
1573 | } | |
1574 | ||
fd291cce | 1575 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #reload-button[disabled="true"] { |
143c5409 RK |
1576 | -moz-image-region: rect(36px, 72px, 54px, 54px); |
1577 | } | |
1578 | ||
fd291cce | 1579 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #home-button.bookmark-item { |
a736ce46 | 1580 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
319c6529 | 1581 | } |
fd291cce | 1582 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #home-button { |
319c6529 RK |
1583 | -moz-image-region: rect(0, 90px, 18px, 72px); |
1584 | } | |
1585 | ||
fd291cce | 1586 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #home-button:not([disabled="true"]):hover { |
143c5409 RK |
1587 | -moz-image-region: rect(18px, 90px, 36px, 72px); |
1588 | } | |
1589 | ||
fd291cce | 1590 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #home-button[disabled="true"] { |
143c5409 RK |
1591 | -moz-image-region: rect(36px, 90px, 54px, 72px); |
1592 | } | |
1593 | ||
fd291cce | 1594 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #downloads-button { |
319c6529 RK |
1595 | -moz-image-region: rect(0, 108px, 18px, 90px); |
1596 | } | |
1597 | ||
fd291cce | 1598 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #downloads-button:not([disabled="true"]):hover { |
143c5409 RK |
1599 | -moz-image-region: rect(18px, 108px, 36px, 90px); |
1600 | } | |
1601 | ||
fd291cce | 1602 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #downloads-button[disabled="true"] { |
143c5409 RK |
1603 | -moz-image-region: rect(36px, 108px, 54px, 90px); |
1604 | } | |
1605 | ||
36759a51 RK |
1606 | #downloads-button > .toolbarbutton-icon { |
1607 | margin: 0; | |
1608 | } | |
1609 | ||
fd291cce | 1610 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #history-button { |
319c6529 RK |
1611 | -moz-image-region: rect(0, 126px, 18px, 108px); |
1612 | } | |
1613 | ||
fd291cce | 1614 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #history-button:not([disabled="true"]):hover { |
143c5409 RK |
1615 | -moz-image-region: rect(18px, 126px, 36px, 108px); |
1616 | } | |
1617 | ||
fd291cce | 1618 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #history-button[disabled="true"] { |
143c5409 RK |
1619 | -moz-image-region: rect(36px, 126px, 54px, 108px); |
1620 | } | |
1621 | ||
fd291cce RK |
1622 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-button, |
1623 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button { | |
a736ce46 | 1624 | list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */ |
319c6529 RK |
1625 | -moz-image-region: rect(0, 144px, 18px, 126px); |
1626 | } | |
1627 | ||
1628 | #bookmarks-menu-button.bookmark-item { | |
a736ce46 | 1629 | /* list-style-image: url("chrome://browser/skin/FxToolbar.png"); */ |
319c6529 RK |
1630 | } |
1631 | ||
fd291cce | 1632 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button.toolbarbutton-1 { |
319c6529 RK |
1633 | -moz-box-orient: horizontal; |
1634 | } | |
1635 | ||
fd291cce RK |
1636 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-button:not([disabled="true"]):hover, |
1637 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button[open="true"], | |
1638 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button:not([disabled="true"]):hover { | |
143c5409 RK |
1639 | -moz-image-region: rect(18px, 144px, 36px, 126px); |
1640 | } | |
1641 | ||
fd291cce RK |
1642 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-button[disabled="true"], |
1643 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #bookmarks-menu-button[disabled="true"] { | |
143c5409 RK |
1644 | -moz-image-region: rect(36px, 144px, 54px, 126px); |
1645 | } | |
1646 | ||
fd291cce | 1647 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #print-button { |
319c6529 RK |
1648 | -moz-image-region: rect(0, 162px, 18px, 144px); |
1649 | } | |
1650 | ||
fd291cce | 1651 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #print-button:not([disabled="true"]):hover { |
143c5409 RK |
1652 | -moz-image-region: rect(18px, 162px, 36px, 144px); |
1653 | } | |
1654 | ||
fd291cce | 1655 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #print-button[disabled="true"] { |
143c5409 RK |
1656 | -moz-image-region: rect(36px, 162px, 54px, 144px); |
1657 | } | |
1658 | ||
fd291cce | 1659 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-tab-button { |
319c6529 RK |
1660 | -moz-image-region: rect(0, 180px, 18px, 162px); |
1661 | } | |
1662 | ||
fd291cce | 1663 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-tab-button:not([disabled="true"]):hover { |
57fc408c | 1664 | -moz-image-region: rect(18px, 180px, 36px, 162px); |
143c5409 RK |
1665 | } |
1666 | ||
fd291cce | 1667 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-tab-button[disabled="true"] { |
57fc408c | 1668 | -moz-image-region: rect(36px, 180px, 54px, 162px); |
143c5409 RK |
1669 | } |
1670 | ||
fd291cce | 1671 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-window-button { |
319c6529 RK |
1672 | -moz-image-region: rect(0, 198px, 18px, 180px); |
1673 | } | |
1674 | ||
fd291cce | 1675 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-window-button:not([disabled="true"]):hover { |
143c5409 RK |
1676 | -moz-image-region: rect(18px, 198px, 36px, 180px); |
1677 | } | |
1678 | ||
fd291cce | 1679 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #new-window-button[disabled="true"] { |
143c5409 RK |
1680 | -moz-image-region: rect(36px, 198px, 54px, 180px); |
1681 | } | |
1682 | ||
319c6529 RK |
1683 | #cut-button { |
1684 | -moz-image-region: rect(0, 216px, 18px, 198px); | |
1685 | } | |
1686 | ||
143c5409 RK |
1687 | #cut-button:not([disabled="true"]):hover { |
1688 | -moz-image-region: rect(18px, 216px, 36px, 198px); | |
1689 | } | |
1690 | ||
1691 | #cut-button[disabled="true"] { | |
1692 | -moz-image-region: rect(36px, 216px, 54px, 198px); | |
1693 | } | |
1694 | ||
319c6529 RK |
1695 | #copy-button { |
1696 | -moz-image-region: rect(0, 234px, 18px, 216px); | |
1697 | } | |
1698 | ||
143c5409 RK |
1699 | #copy-button:not([disabled="true"]):hover { |
1700 | -moz-image-region: rect(18px, 234px, 36px, 216px); | |
1701 | } | |
1702 | ||
1703 | #copy-button[disabled="true"] { | |
1704 | -moz-image-region: rect(36px, 234px, 54px, 216px); | |
1705 | } | |
1706 | ||
319c6529 RK |
1707 | #paste-button { |
1708 | -moz-image-region: rect(0, 252px, 18px, 234px); | |
1709 | } | |
1710 | ||
143c5409 RK |
1711 | #paste-button:not([disabled="true"]):hover { |
1712 | -moz-image-region: rect(18px, 252px, 36px, 234px); | |
1713 | } | |
1714 | ||
1715 | #paste-button[disabled="true"] { | |
1716 | -moz-image-region: rect(36px, 252px, 54px, 234px); | |
1717 | } | |
1718 | ||
fd291cce | 1719 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #fullscreen-button { |
319c6529 RK |
1720 | -moz-image-region: rect(0, 270px, 18px, 252px); |
1721 | } | |
1722 | ||
fd291cce | 1723 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #fullscreen-button:not([disabled="true"]):hover { |
143c5409 RK |
1724 | -moz-image-region: rect(18px, 270px, 36px, 252px); |
1725 | } | |
1726 | ||
fd291cce | 1727 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #fullscreen-button[disabled="true"] { |
143c5409 RK |
1728 | -moz-image-region: rect(36px, 270px, 54px, 252px); |
1729 | } | |
1730 | ||
319c6529 RK |
1731 | #zoom-out-button { |
1732 | -moz-image-region: rect(0, 288px, 18px, 270px); | |
1733 | -moz-margin-end: 0; | |
1734 | } | |
1735 | ||
1736 | #zoom-in-button { | |
1737 | -moz-image-region: rect(0, 306px, 18px, 288px); | |
b36fc72e RK |
1738 | } |
1739 | ||
143c5409 RK |
1740 | #zoom-out-button:not([disabled="true"]):hover { |
1741 | -moz-image-region: rect(18px, 288px, 36px, 270px); | |
1742 | } | |
1743 | ||
1744 | #zoom-out-button[disabled="true"] { | |
1745 | -moz-image-region: rect(36px, 288px, 54px, 270px); | |
1746 | } | |
1747 | ||
1748 | #zoom-in-button:not([disabled="true"]):hover { | |
1749 | -moz-image-region: rect(18px, 306px, 36px, 288px); | |
1750 | } | |
1751 | ||
1752 | #zoom-in-button[disabled="true"] { | |
1753 | -moz-image-region: rect(36px, 306px, 54px, 288px); | |
1754 | } | |
1755 | ||
fd291cce | 1756 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #sync-button:not([status]) { |
a736ce46 | 1757 | list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */ |
319c6529 RK |
1758 | -moz-image-region: rect(0, 324px, 18px, 306px); |
1759 | } | |
1760 | ||
fd291cce | 1761 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #sync-button[status="active"] { |
319c6529 RK |
1762 | list-style-image: url("chrome://browser/skin/sync-throbber.png"); |
1763 | -moz-image-region: rect(0, 18px, 18px, 0); | |
1764 | } | |
1765 | ||
fd291cce | 1766 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #sync-button[disabled="true"] { |
143c5409 RK |
1767 | -moz-image-region: rect(36px, 324px, 54px, 306px); |
1768 | } | |
1769 | ||
fd291cce | 1770 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #feed-button { |
319c6529 RK |
1771 | -moz-image-region: rect(0, 342px, 18px, 324px); |
1772 | } | |
1773 | ||
fd291cce | 1774 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #feed-button[disabled="true"] { |
143c5409 RK |
1775 | -moz-image-region: rect(36px, 342px, 54px, 324px); |
1776 | } | |
1777 | ||
fd291cce | 1778 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #webrtc-status-button { |
6adbc9a6 RK |
1779 | -moz-image-region: rect(0, 360px, 18px, 342px); |
1780 | } | |
1781 | ||
fd291cce RK |
1782 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #webrtc-status-button:not([disabled="true"]):hover, |
1783 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #webrtc-status-button[open="true"] { | |
6adbc9a6 RK |
1784 | -moz-image-region: rect(18px, 360px, 36px, 342px); |
1785 | } | |
1786 | ||
fd291cce | 1787 | :-moz-any(#palette-box, #navigator-toolbox[iconsize]) #webrtc-status-button[disabled="true"] { |
6adbc9a6 RK |
1788 | -moz-image-region: rect(36px, 360px, 54px, 342px); |
1789 | } | |
1790 | ||
1791 | /* tabview button & menu item */ | |
1792 | ||
1793 | #tabview-button, | |
1794 | #menu_tabview { | |
fd291cce | 1795 | list-style-image: url("chrome://browser/skin/tabview/tabview.png") !important; |
6adbc9a6 RK |
1796 | } |
1797 | ||
1798 | #tabview-button { | |
1799 | -moz-image-region: rect(0, 90px, 18px, 72px); | |
1800 | } | |
1801 | ||
1802 | #tabview-button[groups="0"] { | |
1803 | -moz-image-region: rect(0, 18px, 18px, 0); | |
1804 | } | |
1805 | ||
1806 | #tabview-button[groups="1"] { | |
1807 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
1808 | } | |
1809 | ||
1810 | #tabview-button[groups="2"] { | |
1811 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
1812 | } | |
1813 | ||
1814 | #tabview-button[groups="3"] { | |
1815 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
1816 | } | |
1817 | ||
1818 | #menu_tabview { | |
1819 | -moz-image-region: rect(1px, 89px, 17px, 73px); | |
1820 | } | |
1821 | ||
1822 | #menu_tabview[groups="0"] { | |
1823 | -moz-image-region: rect(1px, 17px, 17px, 1px); | |
1824 | } | |
1825 | ||
1826 | #menu_tabview[groups="1"] { | |
1827 | -moz-image-region: rect(1px, 35px, 17px, 19px); | |
1828 | } | |
1829 | ||
1830 | #menu_tabview[groups="2"] { | |
1831 | -moz-image-region: rect(1px, 53px, 17px, 37px); | |
1832 | } | |
1833 | ||
1834 | #menu_tabview[groups="3"] { | |
1835 | -moz-image-region: rect(1px, 71px, 17px, 55px); | |
1836 | } | |
1837 | ||
319c6529 RK |
1838 | /* ::::: fullscreen window controls ::::: */ |
1839 | ||
8d7ef0d9 | 1840 | #window-controls { |
ab799a7a RK |
1841 | -moz-margin-start: 4px; |
1842 | } | |
1843 | ||
319c6529 RK |
1844 | #minimize-button, |
1845 | #restore-button, | |
1846 | #close-button { | |
1847 | /* padding: 0; */ | |
1848 | } | |
1849 | ||
1850 | #minimize-button { | |
1851 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
1852 | } | |
1853 | ||
1854 | #minimize-button:hover { | |
1855 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
1856 | } | |
1857 | ||
1858 | #restore-button { | |
1859 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
1860 | } | |
1861 | ||
1862 | #restore-button:hover { | |
1863 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
1864 | } | |
1865 | ||
1866 | #close-button { | |
1867 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
1868 | } | |
1869 | ||
1870 | #close-button:hover { | |
1871 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
1872 | } | |
1873 | ||
1874 | /* ::::: Location Bar ::::: */ | |
1875 | ||
319c6529 RK |
1876 | #urlbar, |
1877 | .searchbar-textbox { | |
1878 | border-radius: 5px; | |
1879 | margin: 0; | |
1880 | -moz-margin-start: 3px; | |
1881 | } | |
1882 | ||
ffce2402 RK |
1883 | #urlbar { |
1884 | width: 7em; | |
f0071a71 RK |
1885 | /* make color as light as possible to deal with dark non-domain parts */ |
1886 | color: #FFBFFF; | |
ffce2402 RK |
1887 | } |
1888 | ||
319c6529 RK |
1889 | #urlbar:-moz-lwtheme, |
1890 | .searchbar-textbox:-moz-lwtheme { | |
1891 | /* background-color: rgba(255,255,255,.8); | |
1892 | @navbarTextboxCustomBorder@ | |
1893 | color: black; */ | |
1894 | } | |
1895 | ||
8ad8bf83 RK |
1896 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1897 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1898 | #unified-back-forward-button + #urlbar-container { |
1899 | padding-left: 22px; | |
1900 | -moz-margin-start: -22px; | |
8ad8bf83 RK |
1901 | position: relative; |
1902 | pointer-events: none; | |
1903 | } | |
1904 | ||
1905 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1906 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1907 | #unified-back-forward-button + #urlbar-container > #urlbar { |
1908 | /* -moz-border-start: none; | |
1909 | margin-left: 0; */ | |
8ad8bf83 RK |
1910 | pointer-events: all; |
1911 | } | |
1912 | ||
1913 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1914 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1915 | #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar { |
71a617ff | 1916 | transition: margin-left 150ms ease-out; |
8ad8bf83 RK |
1917 | } |
1918 | ||
1919 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1920 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1921 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) { |
1922 | /* border-top-left-radius: 0; | |
1923 | border-bottom-left-radius: 0; */ | |
8ad8bf83 RK |
1924 | } |
1925 | ||
1926 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1927 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1928 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { |
1929 | /* border-top-right-radius: 0; | |
1930 | border-bottom-right-radius: 0; */ | |
8ad8bf83 RK |
1931 | } |
1932 | ||
8ad8bf83 RK |
1933 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1934 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1935 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar { |
1936 | margin-left: -22px; | |
8ad8bf83 RK |
1937 | } |
1938 | ||
1939 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1940 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1941 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar { |
8ad8bf83 | 1942 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ |
71a617ff | 1943 | transition-delay: 100s; |
8ad8bf83 RK |
1944 | } |
1945 | ||
1946 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1947 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1948 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar { |
8ad8bf83 | 1949 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ |
e8519ae0 | 1950 | margin-left: -22.01px; |
8ad8bf83 RK |
1951 | } |
1952 | ||
1953 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1954 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1955 | #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl), |
8ad8bf83 RK |
1956 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1957 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1958 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { |
85cfb236 | 1959 | /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */ |
71a617ff | 1960 | transform: scaleX(-1); |
8ad8bf83 RK |
1961 | } |
1962 | ||
a7145e95 RK |
1963 | html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, |
1964 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder { | |
319c6529 RK |
1965 | color: #E7ADE7; |
1966 | } | |
1967 | ||
1968 | #urlbar:-moz-lwtheme[focused="true"], | |
1969 | .searchbar-textbox:-moz-lwtheme[focused="true"] { | |
1970 | /* background-color: white; */ | |
1971 | } | |
1972 | ||
1973 | #urlbar-container { | |
1974 | -moz-box-orient: horizontal; | |
1975 | -moz-box-align: stretch; | |
1976 | } | |
1977 | ||
9abeb12c RK |
1978 | .urlbar-textbox-container { |
1979 | -moz-box-align: stretch; | |
1980 | } | |
1981 | ||
a40f6a79 RK |
1982 | .urlbar-input-box { |
1983 | -moz-margin-start: 0; | |
fcfb76ce | 1984 | min-width: 4em; |
a40f6a79 RK |
1985 | } |
1986 | ||
319c6529 | 1987 | #urlbar-icons { |
319c6529 RK |
1988 | -moz-box-align: center; |
1989 | } | |
1990 | ||
1991 | .urlbar-icon { | |
b8384c33 | 1992 | padding: 0 2px; |
ffce2402 RK |
1993 | } |
1994 | ||
1995 | .searchbar-engine-button, | |
1996 | .search-go-container { | |
4b686546 RK |
1997 | padding: 2px; |
1998 | } | |
1999 | ||
2000 | .search-go-container > .search-go-button { | |
2001 | padding: 0; | |
319c6529 RK |
2002 | } |
2003 | ||
ffce2402 RK |
2004 | .urlbar-icon:hover { |
2005 | } | |
2006 | ||
2007 | .urlbar-icon[open="true"], | |
2008 | .urlbar-icon:hover:active { | |
2009 | } | |
2010 | ||
319c6529 RK |
2011 | #urlbar-search-splitter { |
2012 | min-width: 6px; | |
2013 | -moz-margin-start: -3px; | |
2014 | border: none; | |
2015 | background: transparent; | |
2016 | } | |
2017 | ||
f0071a71 | 2018 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
319c6529 RK |
2019 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
2020 | -moz-margin-start: 0; | |
2021 | } | |
2022 | ||
319c6529 | 2023 | #urlbar-display { |
319c6529 RK |
2024 | -moz-border-end: 1px solid #9C9CFF; |
2025 | -moz-margin-end: 3px; | |
ab799a7a RK |
2026 | margin-top: 0; |
2027 | margin-bottom: 0; | |
a40f6a79 | 2028 | -moz-margin-start: 0; |
ab799a7a RK |
2029 | color: #8050B0; |
2030 | } | |
2031 | ||
319c6529 RK |
2032 | /* identity box */ |
2033 | ||
2034 | #identity-box { | |
319c6529 | 2035 | border-radius: 2px; |
85cfb236 | 2036 | font-size: .9em; |
319c6529 RK |
2037 | } |
2038 | ||
8ad8bf83 | 2039 | #notification-popup-box:not([hidden]) + #identity-box { |
5517da5a | 2040 | -moz-padding-start: 10px !important; |
8ad8bf83 RK |
2041 | border-radius: 0; |
2042 | } | |
2043 | ||
2044 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
2045 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2046 | #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box { |
d15d08bf | 2047 | /* border-radius: 0; */ |
2a5b7882 RK |
2048 | -moz-padding-start: 2px; |
2049 | -moz-padding-end: 2px; | |
2050 | -moz-margin-end: 1px; | |
8ad8bf83 RK |
2051 | } |
2052 | ||
2053 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
2054 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2055 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
2a5b7882 | 2056 | padding-left: 2px; |
71a617ff | 2057 | transition: padding-left; |
8ad8bf83 RK |
2058 | } |
2059 | ||
2060 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
2061 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2062 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
2a5b7882 | 2063 | padding-right: 2px; |
71a617ff | 2064 | transition: padding-right; |
8ad8bf83 RK |
2065 | } |
2066 | ||
2067 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
2068 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2069 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box { |
8ad8bf83 | 2070 | /* forward button hiding is delayed when hovered */ |
71a617ff | 2071 | transition-delay: 100s; |
8ad8bf83 RK |
2072 | } |
2073 | ||
2074 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
2075 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2076 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
8ad8bf83 | 2077 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 2078 | padding-left: 2.01px; |
8ad8bf83 RK |
2079 | } |
2080 | ||
2081 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
2082 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2083 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
8ad8bf83 | 2084 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
2a5b7882 | 2085 | padding-right: 2.01px; |
8ad8bf83 RK |
2086 | } |
2087 | ||
56859d76 RK |
2088 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, |
2089 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
a40f6a79 | 2090 | -moz-margin-end: 3px; |
319c6529 RK |
2091 | } |
2092 | ||
56859d76 | 2093 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr), |
37953ab4 | 2094 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) { |
a40f6a79 RK |
2095 | border-top-right-radius: 0; |
2096 | border-bottom-right-radius: 0; | |
319c6529 RK |
2097 | } |
2098 | ||
56859d76 | 2099 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl), |
37953ab4 | 2100 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
a40f6a79 RK |
2101 | border-top-left-radius: 0; |
2102 | border-bottom-left-radius: 0; | |
319c6529 RK |
2103 | } |
2104 | ||
a40f6a79 RK |
2105 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
2106 | background-color: #000000; | |
319c6529 RK |
2107 | } |
2108 | ||
2109 | #identity-box:-moz-focusring { | |
2110 | outline: 1px dotted #008484; | |
f993773d | 2111 | outline-offset: -1px; |
319c6529 RK |
2112 | } |
2113 | ||
2114 | #identity-box.verifiedDomain:-moz-focusring, | |
2115 | #identity-box.verifiedIdentity:-moz-focusring { | |
2116 | outline-color: #000000; | |
2117 | } | |
2118 | ||
2119 | #identity-icon-labels { | |
2120 | -moz-margin-start: 1px; | |
2121 | -moz-margin-end: 3px; | |
319c6529 RK |
2122 | } |
2123 | ||
2124 | /* Location bar dropmarker */ | |
2125 | ||
38cfeb47 | 2126 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
319c6529 | 2127 | background-color: transparent; |
319c6529 RK |
2128 | } |
2129 | ||
00f971bc RK |
2130 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker, |
2131 | #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker { | |
38cfeb47 RK |
2132 | border: none; |
2133 | border-radius: 0px; | |
319c6529 RK |
2134 | } |
2135 | ||
ffce2402 RK |
2136 | .urlbar-history-dropmarker:hover { |
2137 | } | |
2138 | ||
2139 | .urlbar-history-dropmarker:hover:active, | |
2140 | .urlbar-history-dropmarker[open="true"] { | |
2141 | } | |
2142 | ||
319c6529 RK |
2143 | /* page proxy icon */ |
2144 | ||
e7c8bab1 RK |
2145 | /* === BEGIN identity-block.inc.css === */ |
2146 | ||
2147 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI { | |
2148 | /* Default theme does different color per channel, we can't as they do it build-time. */ | |
2149 | color: #9C9CFF; | |
2150 | -moz-border-end: 1px solid #9C9CFF; | |
2151 | } | |
2152 | ||
2153 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
2154 | color: #008484; | |
2155 | -moz-border-end: 1px solid #008484; | |
2156 | } | |
2157 | ||
2158 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, | |
2159 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { | |
2160 | background-position: right; | |
2161 | background-size: 1px; | |
2162 | background-repeat: no-repeat; | |
2163 | } | |
2164 | ||
2165 | /* page proxy icon */ | |
2166 | ||
4d58ff64 | 2167 | #page-proxy-favicon { |
319c6529 RK |
2168 | width: 16px; |
2169 | height: 16px; | |
a40f6a79 | 2170 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
00f971bc | 2171 | margin: 2px; |
e7c8bab1 RK |
2172 | } |
2173 | ||
2174 | .chromeUI > #page-proxy-favicon[pageproxystate="valid"] { | |
2175 | list-style-image: url("chrome://branding/content/identity-icons-brand.png"); | |
319c6529 RK |
2176 | } |
2177 | ||
2a5b7882 | 2178 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
2179 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
2180 | } | |
2181 | ||
2a5b7882 | 2182 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
2183 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
2184 | } | |
2185 | ||
56ab361a RK |
2186 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
2187 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); | |
2188 | } | |
2189 | ||
e7c8bab1 RK |
2190 | .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] { |
2191 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); | |
2192 | } | |
2193 | ||
2194 | .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] { | |
2195 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png"); | |
2196 | } | |
2197 | ||
2198 | #page-proxy-favicon[pageproxystate="invalid"] { | |
2199 | opacity: 0.3; | |
2200 | } | |
2201 | ||
2202 | #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon { | |
2203 | list-style-image: url("chrome://branding/content/icon64.png"); | |
2204 | } | |
2205 | ||
2206 | #identity-popup-brandName { | |
2207 | font-weight: bold; | |
2208 | font-size: 1.25em; | |
2209 | margin-top: .5em; | |
2210 | margin-bottom: .5em; | |
2211 | } | |
2212 | ||
2213 | #identity-popup-content-box { | |
2214 | max-width: 50ch; | |
2215 | } | |
2216 | ||
2217 | /* === END identity-block.inc.css === */ | |
2218 | ||
2219 | #page-proxy-favicon { | |
2220 | -moz-image-region: rect(0, 16px, 16px, 0); | |
2221 | } | |
2222 | ||
2a5b7882 | 2223 | #identity-box:hover > #page-proxy-favicon { |
a40f6a79 RK |
2224 | -moz-image-region: rect(0, 32px, 16px, 16px); |
2225 | } | |
2226 | ||
2a5b7882 RK |
2227 | #identity-box:hover:active > #page-proxy-favicon, |
2228 | #identity-box[open=true] > #page-proxy-favicon { | |
a40f6a79 | 2229 | -moz-image-region: rect(0, 48px, 16px, 32px); |
acb0e9b8 | 2230 | } |
2231 | ||
2a5b7882 RK |
2232 | #identity-box:hover { |
2233 | background-color: #FFCF00; | |
7092015d | 2234 | color: #000000; |
2a5b7882 RK |
2235 | } |
2236 | ||
2237 | #identity-box:hover:active, | |
2238 | #identity-box[open=true] { | |
2239 | background-color: #FF9F00; | |
7092015d | 2240 | color: #000000; |
2a5b7882 RK |
2241 | } |
2242 | ||
56859d76 RK |
2243 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover, |
2244 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active, | |
2245 | #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] { | |
2246 | background-color: #9C9CFF; | |
2247 | color: #000000; | |
2248 | } | |
2249 | ||
387e6560 RK |
2250 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover, |
2251 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active, | |
2252 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] { | |
2a5b7882 RK |
2253 | background-color: #008484; |
2254 | color: #000000; | |
2255 | } | |
2256 | ||
319c6529 RK |
2257 | /* autocomplete */ |
2258 | ||
319c6529 RK |
2259 | #treecolAutoCompleteImage { |
2260 | max-width: 36px; | |
2261 | } | |
acb0e9b8 | 2262 | |
319c6529 RK |
2263 | .ac-result-type-bookmark, |
2264 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | |
71bac478 | 2265 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
319c6529 | 2266 | -moz-image-region: rect(0px 16px 16px 0px); |
c1f7cc84 | 2267 | width: 16px; |
319c6529 | 2268 | height: 16px; |
acb0e9b8 | 2269 | } |
2270 | ||
319c6529 RK |
2271 | .ac-result-type-keyword, |
2272 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { | |
2273 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); | |
2274 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 2275 | width: 16px; |
2276 | height: 16px; | |
2277 | } | |
2278 | ||
319c6529 RK |
2279 | .ac-result-type-tag, |
2280 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { | |
8da9da4e | 2281 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
c1f7cc84 | 2282 | width: 16px; |
319c6529 RK |
2283 | height: 16px; |
2284 | } | |
acb0e9b8 | 2285 | |
319c6529 RK |
2286 | .ac-comment { |
2287 | font-size: 1.15em; | |
acb0e9b8 | 2288 | } |
319c6529 RK |
2289 | |
2290 | .ac-extra > .ac-comment { | |
2291 | font-size: inherit; | |
acb0e9b8 | 2292 | } |
319c6529 RK |
2293 | |
2294 | .ac-url-text, | |
2295 | .ac-action-text { | |
2296 | color: #9C9CFF; | |
acb0e9b8 | 2297 | } |
319c6529 RK |
2298 | |
2299 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { | |
2300 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); | |
85cfb236 RK |
2301 | -moz-image-region: rect(0, 16px, 16px, 0); |
2302 | padding: 0 3px; | |
2303 | } | |
2304 | ||
2305 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { | |
2306 | -moz-image-region: rect(16px, 16px, 32px, 0); | |
acb0e9b8 | 2307 | } |
2308 | ||
319c6529 RK |
2309 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
2310 | color: #8050B0; | |
2311 | } | |
acb0e9b8 | 2312 | |
319c6529 RK |
2313 | .ac-comment[selected="true"], |
2314 | .ac-url-text[selected="true"], | |
2315 | .ac-action-text[selected="true"] { | |
2316 | color: inherit !important; | |
acb0e9b8 | 2317 | } |
2318 | ||
c1f7cc84 RK |
2319 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
2320 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) | |
319c6529 RK |
2321 | { |
2322 | color: #8050B0; | |
2323 | font-size: smaller; | |
acb0e9b8 | 2324 | } |
319c6529 RK |
2325 | |
2326 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
2327 | border-top: 1px solid #9C9CFF; | |
acb0e9b8 | 2328 | } |
2329 | ||
319c6529 RK |
2330 | /* combined go/reload/stop button in location bar */ |
2331 | ||
ffce2402 | 2332 | #go-button, |
319c6529 RK |
2333 | #urlbar > toolbarbutton { |
2334 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); | |
38cfeb47 | 2335 | /* margin: -2px; */ |
9abeb12c | 2336 | -moz-margin-start: 0; |
ffce2402 | 2337 | padding: 0 2px; |
319c6529 RK |
2338 | background-origin: border-box; |
2339 | border: none; | |
9abeb12c RK |
2340 | -moz-border-start: 1px solid #9C9CFF; |
2341 | } | |
2342 | ||
ffce2402 RK |
2343 | #go-button { |
2344 | padding: 0 3px; | |
2345 | } | |
2346 | ||
9abeb12c | 2347 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { |
38cfeb47 RK |
2348 | border-top-left-radius: 0px; |
2349 | border-bottom-left-radius: 0px; | |
acb0e9b8 | 2350 | } |
acb0e9b8 | 2351 | |
9abeb12c | 2352 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
38cfeb47 RK |
2353 | border-top-right-radius: 0px; |
2354 | border-bottom-right-radius: 0px; | |
9abeb12c RK |
2355 | } |
2356 | ||
dce90fef RK |
2357 | #urlbar > toolbarbutton:not([disabled]):active:hover, |
2358 | #urlbar-reload-button:not(:hover) { | |
2359 | -moz-border-start-style: none; | |
714b11f6 | 2360 | -moz-padding-start: 3px; |
dce90fef RK |
2361 | } |
2362 | ||
2363 | #urlbar > toolbarbutton:not([disabled]):active:hover { | |
acb0e9b8 | 2364 | } |
2365 | ||
319c6529 | 2366 | #urlbar-go-button { |
ffce2402 | 2367 | -moz-image-region: rect(0, 42px, 14px, 28px); |
acb0e9b8 | 2368 | } |
2369 | ||
ffce2402 RK |
2370 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
2371 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | |
71a617ff | 2372 | transform: scaleX(-1); |
ffce2402 RK |
2373 | } |
2374 | ||
2375 | #urlbar-go-button:hover, | |
2376 | #go-button:hover { | |
2377 | -moz-image-region: rect(14px, 42px, 28px, 28px); | |
acb0e9b8 | 2378 | } |
2379 | ||
319c6529 | 2380 | #urlbar-reload-button { |
ffce2402 | 2381 | -moz-image-region: rect(0px, 14px, 14px, 0px); |
38cfeb47 RK |
2382 | } |
2383 | ||
2384 | #urlbar-reload-button[disabled] { | |
ffce2402 | 2385 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
acb0e9b8 | 2386 | } |
2387 | ||
319c6529 | 2388 | #urlbar-reload-button:not([disabled]):hover { |
ffce2402 | 2389 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
acb0e9b8 | 2390 | } |
319c6529 RK |
2391 | |
2392 | #urlbar-stop-button { | |
ffce2402 | 2393 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
acb0e9b8 | 2394 | } |
319c6529 RK |
2395 | |
2396 | #urlbar-stop-button:hover { | |
ffce2402 | 2397 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
acb0e9b8 | 2398 | } |
2399 | ||
319c6529 RK |
2400 | /* popup blocker button */ |
2401 | ||
2402 | #page-report-button { | |
2403 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | |
2404 | -moz-image-region: rect(0, 16px, 16px, 0); | |
acb0e9b8 | 2405 | } |
319c6529 | 2406 | |
71bac478 | 2407 | #page-report-button:hover , |
319c6529 RK |
2408 | #page-report-button:hover:active, |
2409 | #page-report-button[open="true"] { | |
71bac478 | 2410 | -moz-image-region: rect(0, 32px, 16px, 16px); |
acb0e9b8 | 2411 | } |
2412 | ||
c4460289 RK |
2413 | /* social share panel */ |
2414 | ||
2415 | #social-share-panel > iframe { | |
2416 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/ | |
2417 | width: 300px; | |
2418 | height: 150px; | |
2419 | } | |
2420 | ||
2421 | #social-share-button { | |
2422 | list-style-image: url("chrome://browser/skin/social/share-button.png"); | |
2423 | -moz-image-region: rect(0, 16px, 16px, 0); | |
2424 | } | |
2425 | ||
2426 | .social-share-toolbar { | |
2427 | border-right: 1px solid #9C9CFF; | |
2428 | /* background-color: #000000; */ | |
2429 | } | |
2430 | ||
2431 | #social-share-provider-buttons { | |
2432 | padding: 6px; | |
2433 | } | |
2434 | ||
2435 | #social-share-provider-buttons > .share-provider-button { | |
2436 | -moz-appearance: none; | |
2437 | padding: 5px; | |
2438 | margin: 1px; | |
2439 | border: none; | |
2440 | background: none; | |
2441 | border-radius: 2px; | |
2442 | } | |
2443 | ||
2444 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]), | |
2445 | #social-share-provider-buttons > .share-provider-button:hover, | |
2446 | #social-share-provider-buttons > .share-provider-button:active { | |
2447 | padding: 4px; | |
2448 | } | |
2449 | ||
2450 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) { | |
2451 | } | |
2452 | ||
2453 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { | |
2454 | display: none; | |
2455 | } | |
2456 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { | |
2457 | width: 16px; | |
2458 | min-height: 16px; | |
2459 | max-height: 16px; | |
2460 | } | |
2461 | ||
2462 | /* fixup corners for share panel */ | |
2463 | .social-panel > .social-panel-frame { | |
2464 | border-radius: inherit; | |
2465 | } | |
2466 | ||
2467 | #social-share-panel { | |
2468 | max-height: 600px; | |
2469 | min-height: 100px; | |
2470 | max-width: 800px; | |
2471 | min-width: 300px; | |
2472 | } | |
2473 | ||
2474 | .social-share-frame { | |
2475 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */ | |
2476 | width: 330px; | |
2477 | height: 150px; | |
c4460289 RK |
2478 | /* we resize our panels dynamically, make it look nice */ |
2479 | transition: height 100ms ease-out, width 100ms ease-out; | |
2480 | } | |
2481 | ||
e2734cc7 RK |
2482 | .social-share-frame:-moz-locale-dir(ltr) { |
2483 | border-top-left-radius: 0; | |
2484 | border-bottom-left-radius: 0; | |
2485 | border-top-right-radius: inherit; | |
2486 | border-bottom-right-radius: inherit; | |
2487 | } | |
2488 | ||
2489 | .social-share-frame:-moz-locale-dir(rtl) { | |
c4460289 RK |
2490 | border-top-left-radius: inherit; |
2491 | border-bottom-left-radius: inherit; | |
e2734cc7 RK |
2492 | border-top-right-radius: 0; |
2493 | border-bottom-right-radius: 0; | |
c4460289 RK |
2494 | } |
2495 | ||
e2734cc7 RK |
2496 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) { |
2497 | border-top-left-radius: inherit; | |
2498 | border-bottom-left-radius: inherit; | |
2499 | } | |
2500 | ||
2501 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) { | |
2502 | border-top-right-radius: inherit; | |
2503 | border-bottom-right-radius: inherit; | |
2504 | } | |
2505 | ||
2506 | #social-share-provider-buttons:-moz-locale-dir(ltr) { | |
c4460289 RK |
2507 | border-top-left-radius: inherit; |
2508 | border-bottom-left-radius: inherit; | |
2509 | } | |
2510 | ||
e2734cc7 RK |
2511 | #social-share-provider-buttons:-moz-locale-dir(rtl) { |
2512 | border-top-right-radius: inherit; | |
2513 | border-bottom-right-radius: inherit; | |
2514 | } | |
2515 | ||
889649fd RK |
2516 | /* social recommending panel */ |
2517 | ||
a6757852 | 2518 | #social-mark-button { |
d7cfd768 | 2519 | -moz-image-region: rect(0, 16px, 16px, 0); |
889649fd RK |
2520 | } |
2521 | ||
319c6529 RK |
2522 | /* star button */ |
2523 | ||
00f971bc RK |
2524 | /* #urlbar-container only directly contains the urlbar pre-Australis, don't assign an icon in Australis */ |
2525 | #urlbar-container > #urlbar > #urlbar-icons > #star-button { | |
71bac478 RK |
2526 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); |
2527 | -moz-image-region: rect(16px 16px 32px 0px); | |
acb0e9b8 | 2528 | } |
319c6529 | 2529 | |
00f971bc | 2530 | #urlbar-container > #urlbar > #urlbar-icons > #star-button:hover { |
71bac478 | 2531 | -moz-image-region: rect(16px 32px 32px 16px); |
acb0e9b8 | 2532 | } |
319c6529 | 2533 | |
00f971bc | 2534 | #urlbar-container > #urlbar > #urlbar-icons > #star-button:hover:active { |
71bac478 | 2535 | -moz-image-region: rect(16px 48px 32px 32px); |
acb0e9b8 | 2536 | } |
2537 | ||
00f971bc | 2538 | #urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"] { |
71bac478 RK |
2539 | -moz-image-region: rect(0px 16px 16px 0px); |
2540 | } | |
2541 | ||
00f971bc | 2542 | #urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"]:hover { |
71bac478 RK |
2543 | -moz-image-region: rect(0px 32px 16px 16px); |
2544 | } | |
2545 | ||
00f971bc | 2546 | #urlbar-container > #urlbar > #urlbar-icons > #star-button[starred="true"]:hover:active { |
71bac478 | 2547 | -moz-image-region: rect(0px 48px 16px 32px); |
acb0e9b8 | 2548 | } |
319c6529 RK |
2549 | |
2550 | /* bookmarking panel */ | |
2551 | #editBookmarkPanelStarIcon { | |
2552 | list-style-image: url("chrome://browser/skin/places/starred48.png"); | |
2553 | width: 48px; | |
2554 | height: 48px; | |
acb0e9b8 | 2555 | } |
319c6529 RK |
2556 | |
2557 | #editBookmarkPanelStarIcon[unstarred] { | |
2558 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); | |
acb0e9b8 | 2559 | } |
2560 | ||
319c6529 RK |
2561 | #editBookmarkPanelTitle { |
2562 | font-size: 130%; | |
acb0e9b8 | 2563 | } |
319c6529 RK |
2564 | |
2565 | #editBookmarkPanelHeader, | |
2566 | #editBookmarkPanelContent { | |
2567 | margin-bottom: .5em; | |
acb0e9b8 | 2568 | } |
319c6529 RK |
2569 | |
2570 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ | |
2571 | #editBMPanel_folderTree { | |
2572 | min-width: 27em; | |
acb0e9b8 | 2573 | } |
2574 | ||
f993773d | 2575 | .panel-promo-box { |
5a3cfc14 | 2576 | margin: 5px -6px -6px; |
f0eab82c | 2577 | padding: 5px; |
889649fd | 2578 | border-top: 1px solid #9C9CFF; |
f0eab82c RK |
2579 | border-bottom-left-radius: 5px; |
2580 | border-bottom-right-radius: 5px; | |
f993773d RK |
2581 | } |
2582 | ||
2583 | .panel-promo-icon { | |
2584 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); | |
2585 | -moz-margin-end: 10px; | |
2586 | vertical-align: middle; | |
2587 | } | |
2588 | ||
2589 | .panel-promo-closebutton { | |
2590 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
f0eab82c RK |
2591 | -moz-margin-end: -3px; |
2592 | margin-top: -3px; | |
f993773d RK |
2593 | } |
2594 | ||
2595 | .panel-promo-closebutton:hover { | |
2596 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2597 | } | |
2598 | ||
2599 | .panel-promo-closebutton:hover:active { | |
2600 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
2601 | } | |
2602 | ||
2603 | .panel-promo-closebutton > .toolbarbutton-text { | |
2604 | padding: 0; | |
2605 | margin: 0; | |
2606 | } | |
2607 | ||
319c6529 RK |
2608 | /* ::::: content area ::::: */ |
2609 | ||
2610 | #sidebar { | |
2611 | background-color: Window; | |
acb0e9b8 | 2612 | } |
319c6529 RK |
2613 | |
2614 | #sidebar-title { | |
2615 | -moz-padding-start: 0px; | |
acb0e9b8 | 2616 | } |
319c6529 | 2617 | |
fe524e0c RK |
2618 | .browserContainer > findbar { |
2619 | /* | |
2620 | background-color: -moz-dialog; | |
2621 | color: -moz-DialogText; | |
2622 | */ | |
2623 | } | |
2624 | ||
319c6529 RK |
2625 | /* ::::: throbber ::::: */ |
2626 | ||
2627 | #navigator-throbber { | |
2628 | width: 16px; | |
2629 | min-height: 16px; | |
2630 | margin: 0 3px; | |
acb0e9b8 | 2631 | } |
2632 | ||
319c6529 | 2633 | #navigator-throbber[busy="true"] { |
95f333af | 2634 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
acb0e9b8 | 2635 | } |
319c6529 RK |
2636 | |
2637 | #navigator-throbber, | |
2638 | #wrapper-navigator-throbber > #navigator-throbber { | |
95f333af | 2639 | list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png"); |
acb0e9b8 | 2640 | } |
319c6529 RK |
2641 | |
2642 | /* Tabstrip */ | |
b36fc72e | 2643 | |
fd291cce RK |
2644 | /* Remove selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ |
2645 | #navigator-toolbox:not([iconsize]) > #TabsToolbar, | |
319c6529 RK |
2646 | #TabsToolbar { |
2647 | min-height: 0; | |
2648 | padding: 0; | |
b36fc72e RK |
2649 | -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); |
2650 | } | |
2651 | ||
2652 | #TabsToolbar .toolbar-holder { | |
c1f7cc84 | 2653 | background-color: #000000; /* correct effect of being an actual toolbar */ |
acb0e9b8 | 2654 | } |
2655 | ||
b36fc72e | 2656 | #main-window[disablechrome] #TabsToolbar, |
319c6529 | 2657 | #TabsToolbar[tabsontop="false"] { |
8b5fc82e | 2658 | border-bottom: 1px solid #008484; |
acb0e9b8 | 2659 | } |
319c6529 | 2660 | |
319c6529 RK |
2661 | .tabbrowser-tab, |
2662 | .tabs-newtab-button { | |
2663 | margin-top: 0px; | |
acb0e9b8 | 2664 | } |
319c6529 | 2665 | |
57fc408c RK |
2666 | .tabbrowser-tab{ |
2667 | padding: 1px 4px 2px; | |
2668 | } | |
2669 | ||
2670 | .tabbrowser-tab:first-of-type { | |
2671 | -moz-margin-start: 2px; | |
2672 | } | |
2673 | ||
2674 | .tabs-newtab-button { | |
2675 | border-radius: 8px 8px 0px 0px; | |
2676 | -moz-margin-start: 0; | |
2677 | } | |
2678 | ||
2679 | .tabs-newtab-button:not(:hover) { | |
2680 | background-color: #C09070; | |
2681 | } | |
2682 | ||
fe524e0c RK |
2683 | .tabbrowser-tab[remote] { |
2684 | text-decoration: underline; | |
2685 | } | |
2686 | ||
319c6529 RK |
2687 | .tabbrowser-tab:hover, |
2688 | .tabs-newtab-button:hover { | |
acb0e9b8 | 2689 | } |
319c6529 RK |
2690 | |
2691 | .tabbrowser-tab[selected="true"] { | |
acb0e9b8 | 2692 | } |
2693 | ||
9abeb12c RK |
2694 | #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { |
2695 | } | |
2696 | ||
319c6529 | 2697 | .tabbrowser-tab:-moz-lwtheme { |
acb0e9b8 | 2698 | } |
319c6529 RK |
2699 | |
2700 | .tabbrowser-tab[selected="true"]:-moz-lwtheme { | |
acb0e9b8 | 2701 | } |
319c6529 RK |
2702 | |
2703 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), | |
2704 | .tabs-newtab-button:-moz-lwtheme-brighttext { | |
acb0e9b8 | 2705 | } |
2706 | ||
319c6529 RK |
2707 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, |
2708 | .tabs-newtab-button:-moz-lwtheme-brighttext:hover { | |
acb0e9b8 | 2709 | } |
319c6529 RK |
2710 | |
2711 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), | |
2712 | .tabs-newtab-button:-moz-lwtheme-darktext { | |
acb0e9b8 | 2713 | } |
319c6529 RK |
2714 | |
2715 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, | |
2716 | .tabs-newtab-button:-moz-lwtheme-darktext:hover { | |
acb0e9b8 | 2717 | } |
2718 | ||
319c6529 RK |
2719 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { |
2720 | background-color: #E7ADE7; | |
613daf44 | 2721 | } |
319c6529 | 2722 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { |
dbd844cb | 2723 | background-color: #3333FF; |
319c6529 | 2724 | color: #000000; |
613daf44 | 2725 | } |
319c6529 RK |
2726 | |
2727 | .tab-throbber, | |
2728 | .tab-icon-image { | |
2729 | width: 16px; | |
2730 | height: 16px; | |
dce90fef | 2731 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 2732 | -moz-image-region: auto; |
319c6529 | 2733 | -moz-margin-end: 3px; |
613daf44 | 2734 | } |
2735 | ||
319c6529 | 2736 | .tab-throbber { |
95f333af | 2737 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); |
613daf44 | 2738 | } |
319c6529 RK |
2739 | |
2740 | .tab-throbber[progress] { | |
95f333af | 2741 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
613daf44 | 2742 | } |
319c6529 | 2743 | |
319c6529 RK |
2744 | .tab-throbber[pinned], |
2745 | .tab-icon-image[pinned] { | |
2746 | -moz-margin-start: 2px; | |
2747 | -moz-margin-end: 2px; | |
613daf44 | 2748 | } |
319c6529 RK |
2749 | |
2750 | /* tabbrowser-tab focus ring */ | |
2751 | .tabbrowser-tab:focus > .tab-stack { | |
2752 | outline: 1px dotted; | |
613daf44 | 2753 | } |
319c6529 | 2754 | |
8ad8bf83 | 2755 | /* Tab DnD indicator */ |
319c6529 RK |
2756 | .tab-drop-indicator { |
2757 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); | |
9abeb12c | 2758 | margin-bottom: -11px; |
613daf44 | 2759 | } |
2760 | ||
319c6529 RK |
2761 | /* Tab close button */ |
2762 | .tab-close-button { | |
2763 | border: none; | |
2764 | padding: 0px; | |
57fc408c | 2765 | margin-top: 1px; |
319c6529 RK |
2766 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
2767 | } | |
acb0e9b8 | 2768 | |
319c6529 RK |
2769 | .tab-close-button:hover, |
2770 | .tab-close-button:hover[selected="true"] { | |
2771 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2772 | } |
319c6529 RK |
2773 | |
2774 | .tab-close-button:hover:active, | |
2775 | .tab-close-button:hover:active[selected="true"] { | |
2776 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2777 | } |
319c6529 | 2778 | |
319c6529 RK |
2779 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
2780 | ||
319c6529 RK |
2781 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
2782 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
319c6529 RK |
2783 | margin: 0; |
2784 | padding-top: 0; | |
2785 | padding-bottom: 0; | |
acb0e9b8 | 2786 | } |
319c6529 | 2787 | |
319c6529 RK |
2788 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
2789 | background-color: #008484; | |
acb0e9b8 | 2790 | } |
319c6529 RK |
2791 | |
2792 | .tabs-newtab-button > .toolbarbutton-icon { | |
2793 | margin-top: -1px; | |
2794 | margin-bottom: -1px; | |
acb0e9b8 | 2795 | } |
319c6529 RK |
2796 | |
2797 | .tabs-newtab-button, | |
2798 | #TabsToolbar > #new-tab-button, | |
2799 | #TabsToolbar > toolbarpaletteitem > #new-tab-button { | |
38cfeb47 | 2800 | list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); |
319c6529 | 2801 | -moz-image-region: rect(0, 16px, 18px, 0); |
acb0e9b8 | 2802 | } |
2803 | ||
319c6529 | 2804 | .tabs-newtab-button { |
c1f7cc84 RK |
2805 | width: 28px; |
2806 | } | |
2807 | ||
2808 | #TabsToolbar > #new-tab-button { | |
2809 | width: 26px; | |
acb0e9b8 | 2810 | } |
319c6529 | 2811 | |
8b5fc82e | 2812 | .tabs-newtab-button, |
38cfeb47 RK |
2813 | .tabs-newtab-button:hover, |
2814 | #TabsToolbar > #new-tab-button:hover { | |
319c6529 | 2815 | -moz-image-region: rect(0, 32px, 18px, 16px); |
acb0e9b8 | 2816 | } |
319c6529 RK |
2817 | |
2818 | #alltabs-button { | |
8da9da4e | 2819 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
acb0e9b8 | 2820 | } |
2821 | ||
f9fc08c7 | 2822 | #alltabs-button > .toolbarbutton-menu-dropmarker { |
319c6529 | 2823 | display: none; |
acb0e9b8 | 2824 | } |
319c6529 | 2825 | |
f9fc08c7 RK |
2826 | #alltabs-button:hover, |
2827 | #alltabs-button:hover:active, | |
2828 | #alltabs-button[open="true"] { | |
8da9da4e | 2829 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
acb0e9b8 | 2830 | } |
319c6529 RK |
2831 | |
2832 | /* All tabs menupopup */ | |
2833 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
dce90fef | 2834 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 2835 | -moz-image-region: auto; |
acb0e9b8 | 2836 | } |
2837 | ||
319c6529 RK |
2838 | .alltabs-item[selected="true"] { |
2839 | font-weight: bold; | |
acb0e9b8 | 2840 | } |
319c6529 RK |
2841 | |
2842 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
2843 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 2844 | } |
319c6529 | 2845 | |
85cfb236 | 2846 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
b1234db8 RK |
2847 | background-color: #402800; |
2848 | } | |
2849 | ||
319c6529 RK |
2850 | /* Tabstrip close button */ |
2851 | .tabs-closebutton { | |
2852 | -moz-box-flex: 1; | |
2853 | margin: 0px; | |
2854 | padding: 2px; | |
2855 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
acb0e9b8 | 2856 | } |
2857 | ||
b36fc72e RK |
2858 | .tabs-closebutton > .toolbarbutton-icon { |
2859 | } | |
2860 | ||
8da9da4e RK |
2861 | .tabs-closebutton > .toolbarbutton-text { |
2862 | display: none; | |
2863 | } | |
2864 | ||
319c6529 RK |
2865 | .tabs-closebutton:hover, |
2866 | .tabs-closebutton:hover:active { | |
2867 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2868 | } |
319c6529 RK |
2869 | |
2870 | toolbarbutton.chevron { | |
2871 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
acb0e9b8 | 2872 | } |
319c6529 RK |
2873 | |
2874 | toolbarbutton.chevron:hover { | |
2875 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; | |
acb0e9b8 | 2876 | } |
2877 | ||
319c6529 RK |
2878 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
2879 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { | |
71a617ff | 2880 | transform: scaleX(-1); |
acb0e9b8 | 2881 | } |
319c6529 RK |
2882 | |
2883 | toolbarbutton.chevron > .toolbarbutton-text, | |
2884 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
2885 | display: none; | |
acb0e9b8 | 2886 | } |
319c6529 RK |
2887 | |
2888 | toolbarbutton.chevron > .toolbarbutton-icon { | |
2889 | margin: 0; | |
acb0e9b8 | 2890 | } |
2891 | ||
319c6529 RK |
2892 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { |
2893 | display: -moz-box; /* display chevron icon in text mode */ | |
acb0e9b8 | 2894 | } |
319c6529 RK |
2895 | |
2896 | #sidebar-throbber[loading="true"] { | |
2897 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
2898 | -moz-margin-end: 4px; | |
acb0e9b8 | 2899 | } |
319c6529 RK |
2900 | |
2901 | /* Bookmarks toolbar */ | |
2902 | #PlacesToolbarDropIndicator { | |
8da9da4e | 2903 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
acb0e9b8 | 2904 | } |
2905 | ||
319c6529 RK |
2906 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
2907 | background-color: #008484 !important; | |
2908 | color: #FFCF00 !important; | |
613daf44 | 2909 | } |
319c6529 RK |
2910 | |
2911 | /* rules for menupopup drop indicators */ | |
2912 | .menupopup-drop-indicator-bar { | |
2913 | position: relative; | |
2914 | /* these two margins must together compensate the indicator's height */ | |
2915 | margin-top: -1px; | |
2916 | margin-bottom: -1px; | |
613daf44 | 2917 | } |
319c6529 RK |
2918 | |
2919 | .menupopup-drop-indicator { | |
2920 | list-style-image: none; | |
2921 | height: 2px; | |
2922 | -moz-margin-end: -4em; | |
2923 | background-color: #008484; | |
613daf44 | 2924 | } |
2925 | ||
319c6529 RK |
2926 | /* ::::: Identity Indicator Styling ::::: */ |
2927 | ||
2928 | /* Popup Icons */ | |
2929 | #identity-popup-icon { | |
2930 | height: 64px; | |
2931 | width: 64px; | |
2932 | padding: 0; | |
2933 | list-style-image: url("chrome://browser/skin/identity.png"); | |
2934 | -moz-image-region: rect(0px, 64px, 64px, 0px); | |
613daf44 | 2935 | } |
319c6529 RK |
2936 | |
2937 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { | |
2938 | -moz-image-region: rect(64px, 64px, 128px, 0px); | |
613daf44 | 2939 | } |
319c6529 RK |
2940 | |
2941 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { | |
2942 | -moz-image-region: rect(128px, 64px, 192px, 0px); | |
613daf44 | 2943 | } |
2944 | ||
319c6529 RK |
2945 | /* Popup Body Text */ |
2946 | .identity-popup-description { | |
2947 | white-space: pre-wrap; | |
2948 | -moz-padding-start: 15px; | |
2949 | margin: 2px 0 4px; | |
613daf44 | 2950 | } |
319c6529 RK |
2951 | |
2952 | .identity-popup-label { | |
2953 | white-space: pre-wrap; | |
2954 | -moz-padding-start: 15px; | |
2955 | margin: 0; | |
613daf44 | 2956 | } |
319c6529 | 2957 | |
5517da5a | 2958 | #identity-popup-content-host, |
319c6529 RK |
2959 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
2960 | font-size: 1.2em; | |
613daf44 | 2961 | } |
2962 | ||
319c6529 RK |
2963 | #identity-popup-content-host { |
2964 | margin-top: 3px; | |
2965 | margin-bottom: 5px; | |
2966 | font-weight: bold; | |
2967 | max-width: 300px; | |
2968 | } | |
613daf44 | 2969 | |
319c6529 RK |
2970 | #identity-popup-content-owner { |
2971 | margin-top: 4px; | |
2972 | margin-bottom: 0 !important; | |
2973 | font-weight: bold; | |
2974 | max-width: 300px; | |
2975 | } | |
613daf44 | 2976 | |
319c6529 RK |
2977 | .verifiedDomain > #identity-popup-content-owner { |
2978 | font-weight: normal; | |
613daf44 | 2979 | } |
2980 | ||
319c6529 RK |
2981 | #identity-popup-content-verifier { |
2982 | margin: 4px 0 2px; | |
613daf44 | 2983 | } |
2984 | ||
319c6529 RK |
2985 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
2986 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { | |
2987 | margin-top: 10px; | |
2988 | -moz-margin-start: -24px; | |
613daf44 | 2989 | } |
2990 | ||
319c6529 RK |
2991 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
2992 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { | |
2993 | list-style-image: url("chrome://browser/skin/Secure24.png"); | |
613daf44 | 2994 | } |
2995 | ||
319c6529 RK |
2996 | #identity-popup-more-info-button { |
2997 | margin-top: 6px; | |
2998 | margin-bottom: 0; | |
2999 | -moz-margin-end: 0; | |
613daf44 | 3000 | } |
acb0e9b8 | 3001 | |
fe524e0c RK |
3002 | #identity-popup > .panel-arrowcontainer > .panel-arrowcontent { |
3003 | padding: 0; | |
3004 | } | |
3005 | ||
3006 | #identity-popup-container { | |
3007 | min-width: 280px; | |
3008 | padding: 10px; | |
3009 | } | |
3010 | ||
3011 | #identity-popup-button-container { | |
3012 | /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/ | |
3013 | padding: 10px; | |
3014 | margin-top: 5px; | |
3015 | } | |
3016 | ||
319c6529 RK |
3017 | .popup-notification-icon { |
3018 | width: 64px; | |
3019 | height: 64px; | |
3020 | -moz-margin-end: 10px; | |
3021 | } | |
acb0e9b8 | 3022 | |
319c6529 RK |
3023 | .popup-notification-icon[popupid="geolocation"] { |
3024 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); | |
acb0e9b8 | 3025 | } |
3026 | ||
319c6529 RK |
3027 | .popup-notification-icon[popupid="xpinstall-disabled"], |
3028 | .popup-notification-icon[popupid="addon-progress"], | |
3029 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
3030 | .popup-notification-icon[popupid="addon-install-blocked"], | |
3031 | .popup-notification-icon[popupid="addon-install-failed"], | |
a40f6a79 | 3032 | .popup-notification-icon[popupid="addon-install-complete"] { |
319c6529 RK |
3033 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
3034 | width: 32px; | |
3035 | height: 32px; | |
acb0e9b8 | 3036 | } |
319c6529 | 3037 | |
a40f6a79 | 3038 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
fcfb76ce | 3039 | list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); |
a40f6a79 RK |
3040 | } |
3041 | ||
a6757852 RK |
3042 | .popup-notification-icon[popupid="plugins-not-found"] { |
3043 | list-style-image: url("chrome://browser/skin/pluginInstall-64.png"); | |
3044 | } | |
3045 | ||
82b4252f RK |
3046 | .popup-notification-icon[popupid="web-notifications"] { |
3047 | list-style-image: url("chrome://browser/skin/notification-64.png"); | |
3048 | } | |
3049 | ||
319c6529 RK |
3050 | .addon-progress-description { |
3051 | width: 350px; | |
3052 | max-width: 350px; | |
acb0e9b8 | 3053 | } |
319c6529 RK |
3054 | |
3055 | .popup-progress-label, | |
3056 | .popup-progress-meter { | |
3057 | -moz-margin-start: 0; | |
3058 | -moz-margin-end: 0; | |
acb0e9b8 | 3059 | } |
319c6529 RK |
3060 | |
3061 | .popup-progress-cancel { | |
3062 | -moz-appearance: none; | |
3063 | background: transparent; | |
3064 | border: none; | |
3065 | padding: 0; | |
3066 | margin: 0; | |
3067 | min-height: 0; | |
3068 | min-width: 0; | |
3069 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); | |
3070 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
acb0e9b8 | 3071 | } |
319c6529 RK |
3072 | |
3073 | .popup-progress-cancel:hover { | |
3074 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
acb0e9b8 | 3075 | } |
3076 | ||
319c6529 RK |
3077 | .popup-progress-cancel:active { |
3078 | -moz-image-region: rect(32px, 32px, 48px, 16px); | |
3079 | } | |
acb0e9b8 | 3080 | |
319c6529 | 3081 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
a6757852 | 3082 | .popup-notification-icon[popupid="indexedDB-quota-prompt"], |
e2734cc7 RK |
3083 | .popup-notification-icon[popupid*="offline-app-requested"], |
3084 | .popup-notification-icon[popupid="offline-app-usage"] { | |
319c6529 | 3085 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
acb0e9b8 | 3086 | } |
3087 | ||
319c6529 RK |
3088 | .popup-notification-icon[popupid="password-save"], |
3089 | .popup-notification-icon[popupid="password-change"] { | |
3090 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
acb0e9b8 | 3091 | } |
3092 | ||
1b13529a | 3093 | .popup-notification-icon[popupid="webapps-install-progress"], |
8d7ef0d9 | 3094 | .popup-notification-icon[popupid="webapps-install"] { |
87a1144f | 3095 | list-style-image: url("chrome://global/skin/icons/webapps-64.png"); |
8d7ef0d9 RK |
3096 | } |
3097 | ||
56ab361a RK |
3098 | .popup-notification-icon[popupid="mixed-content-blocked"] { |
3099 | list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png"); | |
3100 | } | |
3101 | ||
0142a07b | 3102 | .popup-notification-icon[popupid="webRTC-sharingDevices"], |
7bc075b6 RK |
3103 | .popup-notification-icon[popupid="webRTC-shareDevices"] { |
3104 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); | |
3105 | } | |
3106 | ||
82b4252f RK |
3107 | .popup-notification-icon[popupid="pointerLock"] { |
3108 | list-style-image: url("chrome://browser/skin/pointerLock-64.png"); | |
3109 | } | |
3110 | ||
319c6529 RK |
3111 | /* Notification icon box */ |
3112 | #notification-popup-box { | |
f993773d RK |
3113 | position: relative; |
3114 | background-color: #000000; | |
3115 | background-clip: padding-box; | |
3116 | padding-left: 3px; | |
5517da5a | 3117 | padding-right: 8px; |
f0eab82c | 3118 | border-radius: 3px 0 0 3px; |
82b4252f | 3119 | border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
f993773d | 3120 | -moz-margin-end: -8px; |
5517da5a | 3121 | border-right-width: 8px; |
f993773d RK |
3122 | } |
3123 | ||
8ad8bf83 RK |
3124 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
3125 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 3126 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box { |
5517da5a | 3127 | /* padding-left: 5px; */ |
f993773d RK |
3128 | } |
3129 | ||
3130 | #notification-popup-box:-moz-locale-dir(rtl), | |
3131 | .notification-anchor-icon:-moz-locale-dir(rtl) { | |
71a617ff | 3132 | transform: scaleX(-1); |
319c6529 | 3133 | } |
acb0e9b8 | 3134 | |
319c6529 | 3135 | .notification-anchor-icon { |
acb0e9b8 | 3136 | width: 16px; |
3137 | height: 16px; | |
85cfb236 | 3138 | margin: 0 2px; |
acb0e9b8 | 3139 | } |
3140 | ||
319c6529 | 3141 | .notification-anchor-icon:-moz-focusring { |
f0eab82c RK |
3142 | outline: 1px dotted #008484; |
3143 | /* outline-offset: -3px; */ | |
acb0e9b8 | 3144 | } |
3145 | ||
e2734cc7 | 3146 | .default-notification-icon, |
ab799a7a RK |
3147 | #default-notification-icon { |
3148 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
3149 | } | |
3150 | ||
e2734cc7 | 3151 | .identity-notification-icon, |
9585a561 RK |
3152 | #identity-notification-icon { |
3153 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); | |
3154 | } | |
3155 | ||
e2734cc7 | 3156 | .geo-notification-icon, |
319c6529 RK |
3157 | #geo-notification-icon { |
3158 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); | |
acb0e9b8 | 3159 | } |
3160 | ||
319c6529 RK |
3161 | #addons-notification-icon { |
3162 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
acb0e9b8 | 3163 | } |
3164 | ||
e2734cc7 | 3165 | .indexedDB-notification-icon, |
319c6529 RK |
3166 | #indexedDB-notification-icon { |
3167 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
acb0e9b8 | 3168 | } |
3169 | ||
319c6529 RK |
3170 | #password-notification-icon { |
3171 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
acb0e9b8 | 3172 | } |
3173 | ||
8d7ef0d9 | 3174 | #webapps-notification-icon { |
87a1144f | 3175 | list-style-image: url("chrome://gobal/skin/icons/webapps-16.png"); |
8d7ef0d9 RK |
3176 | } |
3177 | ||
a40f6a79 | 3178 | #plugins-notification-icon { |
b27cc46e RK |
3179 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); |
3180 | } | |
3181 | ||
3182 | #alert-plugins-notification-icon { | |
3183 | list-style-image: url("chrome://browser/skin/notification-pluginAlert.png"); | |
a40f6a79 RK |
3184 | } |
3185 | ||
990cba4b | 3186 | #blocked-plugins-notification-icon { |
b27cc46e | 3187 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); |
990cba4b RK |
3188 | } |
3189 | ||
fe524e0c RK |
3190 | #plugins-notification-icon, |
3191 | #alert-plugins-notification-icon, | |
3192 | #blocked-plugins-notification-icon { | |
3193 | /* -moz-image-region: rect(0, 16px, 16px, 0);*/ | |
3194 | } | |
3195 | ||
3196 | #plugins-notification-icon:hover, | |
3197 | #alert-plugins-notification-icon:hover, | |
3198 | #blocked-plugins-notification-icon:hover { | |
3199 | /* -moz-image-region: rect(0, 32px, 16px, 16px);*/ | |
3200 | } | |
3201 | ||
a6757852 RK |
3202 | #plugin-install-notification-icon { |
3203 | list-style-image: url("chrome://browser/skin/pluginInstall-16.png"); | |
3204 | } | |
3205 | ||
6adbc9a6 RK |
3206 | #notification-popup-box[hidden] { |
3207 | /* Override display:none to make the pluginBlockedNotification animation work | |
3208 | when showing the notification repeatedly. */ | |
3209 | display: -moz-box; | |
3210 | visibility: collapse; | |
3211 | } | |
3212 | ||
990cba4b RK |
3213 | #blocked-plugins-notification-icon[showing] { |
3214 | animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; | |
3215 | } | |
3216 | ||
3217 | @keyframes pluginBlockedNotification { | |
3218 | from { | |
3219 | opacity: 0; | |
3220 | } | |
3221 | to { | |
3222 | opacity: 1; | |
3223 | } | |
3224 | } | |
3225 | ||
e2734cc7 | 3226 | .mixed-content-blocked-notification-icon, |
56ab361a RK |
3227 | #mixed-content-blocked-notification-icon { |
3228 | list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png"); | |
3229 | } | |
3230 | ||
e2734cc7 | 3231 | .webRTC-shareDevices-notification-icon, |
0142a07b | 3232 | #webRTC-shareDevices-notification-icon { |
7bc075b6 RK |
3233 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); |
3234 | } | |
3235 | ||
e2734cc7 | 3236 | .webRTC-sharingDevices-notification-icon, |
6adbc9a6 RK |
3237 | #webRTC-sharingDevices-notification-icon { |
3238 | list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); | |
3239 | } | |
3240 | ||
e2734cc7 | 3241 | .web-notifications-notification-icon, |
82b4252f RK |
3242 | #web-notifications-notification-icon { |
3243 | list-style-image: url("chrome://browser/skin/notification-16.png"); | |
3244 | } | |
3245 | ||
3246 | #pointerLock-notification-icon { | |
3247 | list-style-image: url("chrome://browser/skin/pointerLock-16.png"); | |
3248 | } | |
3249 | #pointerLock-cancel { | |
3250 | margin: 0px; | |
3251 | } | |
3252 | ||
319c6529 | 3253 | #download-monitor { |
a736ce46 | 3254 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
319c6529 | 3255 | -moz-image-region: rect(0, 108px, 18px, 90px); |
acb0e9b8 | 3256 | } |
3257 | ||
319c6529 RK |
3258 | /* Bookmarks roots menu-items */ |
3259 | #appmenu_subscribeToPage:not([disabled]), | |
3260 | #appmenu_subscribeToPageMenu, | |
3261 | #subscribeToPageMenuitem:not([disabled]), | |
3262 | #subscribeToPageMenupopup, | |
3263 | #BMB_subscribeToPageMenuitem:not([disabled]), | |
3264 | #BMB_subscribeToPageMenupopup { | |
3265 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); | |
613daf44 | 3266 | } |
3267 | ||
319c6529 RK |
3268 | #bookmarksToolbarFolderMenu, |
3269 | #appmenu_bookmarksToolbar, | |
3270 | #BMB_bookmarksToolbar { | |
8da9da4e | 3271 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
319c6529 RK |
3272 | -moz-image-region: auto; |
3273 | } | |
acb0e9b8 | 3274 | |
319c6529 RK |
3275 | #appmenu_unsortedBookmarks, |
3276 | #BMB_unsortedBookmarks { | |
8da9da4e | 3277 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
319c6529 | 3278 | -moz-image-region: auto; |
acb0e9b8 | 3279 | } |
3280 | ||
319c6529 | 3281 | /* ::::: Keyboard UI Panel ::::: */ |
acb0e9b8 | 3282 | |
319c6529 RK |
3283 | .KUI-panel { |
3284 | color: #FF9F00; | |
3285 | border-style: none; | |
3286 | border-radius: 20px; | |
acb0e9b8 | 3287 | } |
3288 | ||
319c6529 RK |
3289 | .KUI-panel[level="top"] { |
3290 | /*background-color: rgba(27%,27%,27%,.65);*/ | |
acb0e9b8 | 3291 | } |
3292 | ||
319c6529 RK |
3293 | /* Ctrl-Tab */ |
3294 | ||
3295 | #ctrlTab-panel { | |
3296 | padding: 20px 10px 10px; | |
3297 | font-weight: bold; | |
acb0e9b8 | 3298 | } |
3299 | ||
319c6529 RK |
3300 | .ctrlTab-favicon[src] { |
3301 | background-color: #000000; | |
3302 | width: 20px; | |
3303 | height: 20px; | |
3304 | padding: 2px; | |
3305 | } | |
acb0e9b8 | 3306 | |
319c6529 | 3307 | .ctrlTab-preview-inner > .tabPreview-canvas { |
acb0e9b8 | 3308 | } |
3309 | ||
319c6529 RK |
3310 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
3311 | margin-bottom: 2px; | |
acb0e9b8 | 3312 | } |
3313 | ||
319c6529 RK |
3314 | .ctrlTab-preview-inner { |
3315 | padding-bottom: 10px; | |
acb0e9b8 | 3316 | } |
3317 | ||
319c6529 RK |
3318 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
3319 | padding: 10px; | |
3320 | background-color: #000000; | |
3321 | border-radius: .5em; | |
acb0e9b8 | 3322 | } |
3323 | ||
319c6529 RK |
3324 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
3325 | color: white; | |
3326 | background-color: #000000; | |
3327 | text-shadow: none; | |
3328 | padding: 8px; | |
3329 | border: 2px solid #9C9CFF; | |
3330 | border-radius: .5em; | |
acb0e9b8 | 3331 | } |
3332 | ||
319c6529 RK |
3333 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
3334 | margin: -10px -10px 0; | |
acb0e9b8 | 3335 | } |
3336 | ||
319c6529 RK |
3337 | #ctrlTab-showAll { |
3338 | margin-top: .5em; | |
acb0e9b8 | 3339 | } |
3340 | ||
b36fc72e RK |
3341 | /* Add-on bar */ |
3342 | ||
3343 | #addon-bar { | |
3344 | min-height: 20px; | |
3345 | border-top: 3px solid #000000; | |
3e6e0e5c | 3346 | border-bottom-width: 0; |
b36fc72e RK |
3347 | } |
3348 | ||
3349 | #addon-bar .toolbar-holder { | |
3350 | background-color: #8050B0; | |
3351 | color: #FFCF00; | |
3352 | } | |
3353 | ||
3354 | #addon-bar .toolbar-holder { | |
3355 | background-color: #8050B0; | |
3356 | color: #FFCF00; | |
3357 | } | |
3358 | ||
3359 | #addon-bar .toolbar-startcap, | |
3360 | #addon-bar .toolbar-endcap{ | |
3361 | background-color: #6000CF; | |
3362 | } | |
3363 | ||
319c6529 | 3364 | #status-bar { |
b36fc72e | 3365 | -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar"); |
319c6529 RK |
3366 | margin-top: .3em; |
3367 | border-width: 0; | |
613daf44 | 3368 | } |
3369 | ||
e0c47e26 RK |
3370 | #addon-bar[customizing] > #status-bar { |
3371 | opacity: .5; | |
3372 | /* background-image: -moz-repeating-linear-gradient(-45deg, | |
3373 | rgba(255,255,255,.3), rgba(255,255,255,.3) 5px, | |
3374 | rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/ | |
3375 | } | |
3376 | ||
319c6529 RK |
3377 | /* Remove all borders from statusbarpanel children of |
3378 | the statusbar. | |
3379 | #status-bar > statusbarpanel { | |
3380 | border-width: 0; | |
3381 | } */ | |
3382 | ||
319c6529 RK |
3383 | #addonbar-closebutton { |
3384 | border: none; | |
3385 | padding: 3px 5px; | |
3386 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
613daf44 | 3387 | } |
3388 | ||
319c6529 RK |
3389 | #addonbar-closebutton:hover, |
3390 | #addonbar-closebutton:hover:active { | |
3391 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
613daf44 | 3392 | } |
9abeb12c RK |
3393 | |
3394 | /* Status panel */ | |
3395 | ||
3396 | .statuspanel-label { | |
3397 | margin: 0; | |
3398 | padding: 2px 4px; | |
38cfeb47 | 3399 | background: #404000; |
9abeb12c RK |
3400 | border: 1px none #9C9CFF; |
3401 | border-top-style: solid; | |
3402 | color: #FF9F00; | |
3403 | text-shadow: none; | |
3404 | } | |
3405 | ||
3406 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), | |
3407 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { | |
3408 | border-right-style: solid; | |
3409 | border-top-right-radius: .3em; | |
3410 | margin-right: 1em; | |
3411 | } | |
3412 | ||
3413 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), | |
3414 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { | |
3415 | border-left-style: solid; | |
3416 | border-top-left-radius: .3em; | |
3417 | margin-left: 1em; | |
3418 | } | |
3e6e0e5c RK |
3419 | |
3420 | /* HACK to abolish devily color on main content */ | |
3421 | ||
3422 | #content { | |
3423 | background-color: transparent !important; | |
3424 | } | |
dce90fef RK |
3425 | |
3426 | /* Highlighter */ | |
3427 | ||
0142a07b | 3428 | .highlighter-outline { |
fcfb76ce RK |
3429 | box-shadow: 0 0 0 1px black; |
3430 | outline: 1px dashed white; | |
dce90fef RK |
3431 | } |
3432 | ||
0142a07b | 3433 | .highlighter-outline[locked] { |
fcfb76ce RK |
3434 | box-shadow: 0 0 0 1px rgba(0,0,0,0.3); |
3435 | outline-color: rgba(255,255,255,0.7); | |
dce90fef | 3436 | } |
4c765db1 | 3437 | |
8ad8bf83 RK |
3438 | /* Highlighter - Node Infobar */ |
3439 | ||
0142a07b | 3440 | .highlighter-nodeinfobar { |
a40f6a79 RK |
3441 | color: #FF9F00; |
3442 | border: 1px solid rgba(156, 156, 255, .5); | |
3443 | border-radius: 3px; | |
3444 | background-color: #000000; | |
3445 | background-clip: padding-box; | |
3446 | } | |
3447 | ||
8ad8bf83 RK |
3448 | /* Highlighter - Node Infobar - text */ |
3449 | ||
0142a07b | 3450 | .highlighter-nodeinfobar-text { |
a40f6a79 | 3451 | /* 100% - size of the buttons and margins */ |
c29b709d | 3452 | max-width: calc(100% - 2 * (26px + 6px)); |
a40f6a79 RK |
3453 | padding-bottom: 1px; |
3454 | } | |
3455 | ||
0142a07b | 3456 | html|*.highlighter-nodeinfobar-tagname { |
8ad8bf83 RK |
3457 | color: #FFCF00; |
3458 | } | |
3459 | ||
0142a07b | 3460 | html|*.highlighter-nodeinfobar-id { |
8ad8bf83 RK |
3461 | color: #9C9CFF; |
3462 | } | |
3463 | ||
0142a07b | 3464 | html|*.highlighter-nodeinfobar-pseudo-classes { |
eec397be | 3465 | color: #FF9F00; |
8ad8bf83 RK |
3466 | } |
3467 | ||
a40f6a79 RK |
3468 | /* Highlighter - Node Infobar - buttons */ |
3469 | ||
3470 | .highlighter-nodeinfobar-button { | |
3471 | padding: 0; | |
3472 | width: 26px; | |
3473 | min-height: 26px; | |
3474 | } | |
3475 | ||
0142a07b | 3476 | .highlighter-nodeinfobar-inspectbutton { |
a40f6a79 RK |
3477 | list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); |
3478 | -moz-image-region: rect(0px 16px 16px 0px); | |
3479 | -moz-margin-start: 0px; | |
3480 | -moz-margin-end: 2px; | |
3481 | } | |
3482 | ||
0142a07b | 3483 | .highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) { |
a40f6a79 RK |
3484 | } |
3485 | ||
0142a07b RK |
3486 | .highlighter-nodeinfobar-inspectbutton:hover, |
3487 | .highlighter-nodeinfobar-inspectbutton:hover:active/*, | |
3488 | .highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton*/ { | |
a40f6a79 RK |
3489 | -moz-image-region: rect(0px 32px 16px 16px); |
3490 | } | |
3491 | ||
0142a07b | 3492 | .highlighter-nodeinfobar-menu { |
a40f6a79 RK |
3493 | } |
3494 | ||
0142a07b | 3495 | .highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) { |
a40f6a79 RK |
3496 | } |
3497 | ||
0142a07b | 3498 | .highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker { |
a40f6a79 RK |
3499 | -moz-box-align: center; |
3500 | -moz-margin-start: -1px; | |
3501 | } | |
3502 | ||
3503 | /* Highlighter - Node Infobar - box & arrow */ | |
3504 | ||
8ad8bf83 RK |
3505 | .highlighter-nodeinfobar-arrow { |
3506 | width: 14px; | |
3507 | height: 14px; | |
c29b709d | 3508 | -moz-margin-start: calc(50% - 7px); |
71a617ff | 3509 | transform: rotate(-45deg); |
8ad8bf83 RK |
3510 | border: 1px solid transparent; |
3511 | background-clip: padding-box; | |
3512 | background-repeat: no-repeat; | |
3513 | } | |
3514 | ||
0142a07b | 3515 | .highlighter-nodeinfobar-arrow-top { |
8ad8bf83 RK |
3516 | margin-bottom: -8px; |
3517 | margin-top: 8px; | |
3518 | border-right-color: rgba(0, 132, 132, .5); | |
3519 | border-top-color: rgba(0, 132, 132, .5); | |
fcaeefc2 | 3520 | background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
3521 | } |
3522 | ||
0142a07b | 3523 | .highlighter-nodeinfobar-arrow-bottom { |
8ad8bf83 RK |
3524 | margin-top: -8px; |
3525 | margin-bottom: 8px; | |
3526 | border-left-color: rgba(0, 132, 132, .5); | |
3527 | border-bottom-color: rgba(0, 132, 132, .5); | |
fcaeefc2 | 3528 | background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
3529 | } |
3530 | ||
0142a07b RK |
3531 | .highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar, |
3532 | .highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar { | |
8ad8bf83 RK |
3533 | box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset; |
3534 | } | |
3535 | ||
0142a07b | 3536 | .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { |
8ad8bf83 RK |
3537 | margin: 7px 0; |
3538 | } | |
3539 | ||
3540 | #full-screen-warning-message { | |
3541 | background-color: #000000; | |
3542 | color: #FF9F00; | |
8ad8bf83 RK |
3543 | border-radius: 8px; |
3544 | margin-top: 30px; | |
3545 | padding: 30px 50px; | |
3546 | box-shadow: 0 0 2px #9C9CFF; | |
3547 | } | |
3548 | ||
3549 | #full-screen-warning-container[obscure-browser] { | |
85cfb236 RK |
3550 | background-color: rgba(0,0,0,0.3); |
3551 | } | |
3552 | ||
3553 | .full-screen-description { | |
3554 | font-size: 150%; | |
3555 | } | |
3556 | ||
3557 | #full-screen-domain-text { | |
3558 | font-size: 300%; | |
8ad8bf83 RK |
3559 | } |
3560 | ||
85cfb236 RK |
3561 | .full-screen-approval-button, |
3562 | #full-screen-remember-decision { | |
3563 | font-size: 120%; | |
8ad8bf83 RK |
3564 | } |
3565 | ||
b27cc46e RK |
3566 | /* === BEGIN commandline.inc.css === */ |
3567 | ||
3568 | /* Developer toolbar */ | |
3569 | ||
3570 | #developer-toolbar { | |
3571 | border-top: 3px solid #000000; | |
3572 | border-bottom: none; | |
3573 | } | |
3574 | ||
3575 | #developer-toolbar .toolbar-holder { | |
3576 | background-color: #8050B0; | |
3577 | color: #FFCF00; | |
3578 | } | |
3579 | ||
3580 | #developer-toolbar .toolbar-holder { | |
3581 | background-color: #8050B0; | |
3582 | color: #FFCF00; | |
3583 | } | |
3584 | ||
3585 | #developer-toolbar .toolbar-startcap, | |
3586 | #developer-toolbar .toolbar-endcap{ | |
3587 | background-color: #6000CF; | |
3588 | } | |
3589 | ||
3590 | #developer-toolbar { | |
3591 | /* padding: 0; | |
3592 | min-height: 32px; */ | |
3593 | } | |
3594 | ||
3595 | .developer-toolbar-button { | |
3596 | /* margin: 0; | |
3597 | padding: 0 10px; | |
3598 | width: 32px; */ | |
3599 | } | |
3600 | ||
3601 | .developer-toolbar-button > image { | |
3602 | /* margin: auto 10px; */ | |
3603 | } | |
3604 | ||
fe524e0c RK |
3605 | #developer-toolbar-toolbox-button > label { |
3606 | display: none; | |
3607 | } | |
3608 | ||
b27cc46e RK |
3609 | #developer-toolbar-toolbox-button { |
3610 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); | |
3611 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
3612 | } | |
3613 | ||
3614 | #developer-toolbar-toolbox-button > label { | |
3615 | display: none; | |
3616 | } | |
3617 | ||
3618 | #developer-toolbar-toolbox-button:hover, | |
3619 | #developer-toolbar-toolbox-button:hover:active, | |
3620 | #developer-toolbar-toolbox-button[checked=true] { | |
3621 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
3622 | } | |
3623 | ||
3624 | /* GCLI */ | |
3625 | ||
37953ab4 RK |
3626 | html|*#gcli-tooltip-frame, |
3627 | html|*#gcli-output-frame { | |
85cfb236 | 3628 | padding: 0; |
37953ab4 RK |
3629 | border-width: 0; |
3630 | background-color: transparent; | |
3631 | } | |
3632 | ||
3633 | #gcli-output, | |
3634 | #gcli-tooltip { | |
3635 | border-width: 0; | |
3636 | background-color: transparent; | |
85cfb236 RK |
3637 | } |
3638 | ||
3639 | .gclitoolbar-input-node, | |
b27cc46e | 3640 | .gclitoolbar-complete-node { |
37953ab4 RK |
3641 | margin: 1px 3px; |
3642 | -moz-box-align: center; | |
3643 | padding-top: 0; | |
3644 | padding-bottom: 0; | |
b27cc46e | 3645 | padding-right: 8px; |
37953ab4 | 3646 | background-color: transparent; |
85cfb236 RK |
3647 | } |
3648 | ||
3649 | .gclitoolbar-input-node { | |
37953ab4 | 3650 | padding-left: 20px; |
b27cc46e RK |
3651 | /* line-height: 32px; |
3652 | outline-style: none; */ | |
3653 | background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0); | |
3654 | } | |
3655 | ||
3656 | .gclitoolbar-input-node[focused="true"] { | |
3657 | background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); | |
37953ab4 RK |
3658 | } |
3659 | ||
3660 | .gclitoolbar-input-node:not([focused="true"]) { | |
3661 | border-color: transparent; | |
85cfb236 RK |
3662 | } |
3663 | ||
7bc075b6 RK |
3664 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { |
3665 | background-color: #008484; | |
3666 | color: #000000; | |
3667 | text-shadow: none; | |
3668 | } | |
3669 | ||
85cfb236 | 3670 | .gclitoolbar-complete-node { |
37953ab4 | 3671 | padding-left: 21px; |
85cfb236 RK |
3672 | background-color: transparent; |
3673 | color: transparent; | |
b27cc46e RK |
3674 | z-index: 100; |
3675 | pointer-events: none; | |
85cfb236 RK |
3676 | } |
3677 | ||
85cfb236 RK |
3678 | .gcli-in-incomplete, |
3679 | .gcli-in-error, | |
3680 | .gcli-in-ontab, | |
3681 | .gcli-in-todo, | |
3682 | .gcli-in-closebrace, | |
3683 | .gcli-in-param, | |
3684 | .gcli-in-valid { | |
3685 | margin: 0; | |
3686 | padding: 0; | |
3687 | } | |
3688 | ||
3689 | .gcli-in-incomplete { | |
3690 | border-bottom: 2px dotted #8050B0; | |
3691 | } | |
3692 | ||
3693 | .gcli-in-error { | |
3694 | border-bottom: 2px dotted #FF0000; | |
3695 | } | |
3696 | ||
3697 | .gcli-in-ontab { | |
3698 | color: #9C9CFF; | |
3699 | } | |
3700 | ||
3701 | .gcli-in-todo { | |
3702 | color: #795900; | |
3703 | } | |
3704 | ||
3705 | .gcli-in-closebrace { | |
3706 | color: #8050B0; | |
3707 | } | |
3708 | ||
b27cc46e RK |
3709 | /* === END commandline.inc.css === */ |
3710 | ||
fe524e0c RK |
3711 | /* === BEGIN responsivedesign.inc.css === */ |
3712 | ||
37953ab4 | 3713 | /* Responsive Mode */ |
85cfb236 | 3714 | |
7bc075b6 RK |
3715 | .browserContainer[responsivemode] { |
3716 | background: #221500 url("chrome://browser/skin/devtools/responsive-background.png"); | |
37953ab4 RK |
3717 | padding: 0 20px 20px 20px; |
3718 | } | |
3719 | ||
7bc075b6 | 3720 | .browserStack[responsivemode] { |
37953ab4 RK |
3721 | box-shadow: 0 0 7px #9C9CFF; |
3722 | } | |
3723 | ||
3724 | .devtools-responsiveui-toolbar { | |
3725 | background: transparent; | |
3726 | margin: 10px 0; | |
3727 | padding: 0; | |
3728 | box-shadow: none; | |
3729 | border-bottom-width: 0; | |
3730 | } | |
3731 | ||
3732 | .devtools-responsiveui-toolbar > menulist, | |
3733 | .devtools-responsiveui-toolbar > toolbarbutton { | |
3734 | min-width: 22px; | |
fe524e0c | 3735 | /* border-radius: 0; */ |
37953ab4 RK |
3736 | } |
3737 | ||
3738 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, | |
3739 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { | |
fe524e0c RK |
3740 | margin-left: 3px; |
3741 | } | |
3742 | ||
3743 | .devtools-responsiveui-close { | |
3744 | list-style-image: url("chrome://browser/skin/devtools/close.png"); | |
3745 | -moz-image-region: rect(0px,16px,16px,0px); | |
3746 | } | |
3747 | ||
3748 | .devtools-responsiveui-close:hover { | |
3749 | -moz-image-region: rect(0px,32px,16px,16px); | |
3750 | } | |
3751 | ||
3752 | .devtools-responsiveui-rotate { | |
3753 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); | |
3754 | -moz-image-region: rect(0px,16px,16px,0px); | |
3755 | } | |
3756 | ||
3757 | .devtools-responsiveui-rotate:hover { | |
3758 | -moz-image-region: rect(0px,32px,16px,16px); | |
3759 | } | |
3760 | ||
3761 | .devtools-responsiveui-touch { | |
3762 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); | |
3763 | -moz-image-region: rect(0px,16px,16px,0px); | |
3764 | } | |
3765 | ||
3766 | .devtools-responsiveui-touch:hover, | |
3767 | .devtools-responsiveui-touch[checked], | |
3768 | .devtools-responsiveui-touch[checked]:hover { | |
3769 | -moz-image-region: rect(0px,32px,16px,16px); | |
3770 | } | |
3771 | ||
3772 | .devtools-responsiveui-screenshot { | |
3773 | list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); | |
3774 | -moz-image-region: rect(0px,16px,16px,0px); | |
3775 | } | |
3776 | ||
3777 | .devtools-responsiveui-screenshot:hover { | |
3778 | -moz-image-region: rect(0px,32px,16px,16px); | |
37953ab4 RK |
3779 | } |
3780 | ||
fe524e0c | 3781 | .devtools-responsiveui-resizebarV { |
37953ab4 RK |
3782 | width: 7px; |
3783 | height: 24px; | |
3784 | cursor: ew-resize; | |
71a617ff | 3785 | transform: translate(12px, -12px); |
37953ab4 RK |
3786 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); |
3787 | } | |
3788 | ||
fe524e0c RK |
3789 | .devtools-responsiveui-resizebarH { |
3790 | width: 24px; | |
3791 | height: 7px; | |
3792 | cursor: ns-resize; | |
3793 | transform: translate(-12px, 12px); | |
3794 | background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); | |
3795 | } | |
3796 | ||
37953ab4 RK |
3797 | .devtools-responsiveui-resizehandle { |
3798 | width: 16px; | |
3799 | height: 16px; | |
3800 | cursor: se-resize; | |
71a617ff | 3801 | transform: translate(12px, 12px); |
37953ab4 | 3802 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); |
8d7ef0d9 | 3803 | } |
889649fd | 3804 | |
fe524e0c | 3805 | /* === END responsivedesign.inc.css === */ |
fcaeefc2 RK |
3806 | |
3807 | /* === including indicator.css is done at the start of the file === */ | |
fe524e0c | 3808 | |
889649fd RK |
3809 | /* Error counter */ |
3810 | ||
0142a07b | 3811 | #developer-toolbar-toolbox-button[error-count]:before { |
889649fd RK |
3812 | color: #000000; |
3813 | min-width: 16px; | |
3814 | text-shadow: none; | |
3815 | background-color: #FF0000; | |
3816 | border-radius: 1px; | |
c29b709d | 3817 | -moz-margin-end: 5px; |
c54ac991 | 3818 | } |
e9c73590 | 3819 | |
348c0499 | 3820 | /* Social toolbar item */ |
e9c73590 | 3821 | |
0142a07b RK |
3822 | #social-provider-button { |
3823 | -moz-image-region: rect(0, 16px, 16px, 0); | |
a6757852 | 3824 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
0142a07b RK |
3825 | } |
3826 | ||
348c0499 RK |
3827 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
3828 | display: none; | |
e9c73590 RK |
3829 | } |
3830 | ||
82b4252f RK |
3831 | .toolbarbutton-badge-container { |
3832 | margin: 0; | |
3833 | padding: 0; | |
3834 | position: relative; | |
e9c73590 RK |
3835 | } |
3836 | ||
82b4252f | 3837 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container { |
ed1a91c6 | 3838 | padding: 2px 2px; |
82b4252f RK |
3839 | } |
3840 | ||
3841 | .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon { | |
3842 | position: absolute; | |
3843 | top: 2px; | |
3844 | right: 2px; | |
3845 | } | |
3846 | ||
3847 | .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { | |
3848 | -moz-margin-end: 0; | |
e9c73590 RK |
3849 | } |
3850 | ||
82b4252f RK |
3851 | .toolbarbutton-badge[badge=""] { |
3852 | display: none; | |
3853 | } | |
3854 | .toolbarbutton-badge[badge]:not([badge=""])::after { | |
6adbc9a6 | 3855 | /* The |content| property is set in the content stylesheet. */ |
348c0499 RK |
3856 | font-size: 9px; |
3857 | font-weight: bold; | |
3858 | padding: 0 1px; | |
3859 | color: #FF9F00; | |
3860 | background-color: #000000; | |
3861 | border: 1px solid #9C9CFF; | |
3862 | border-radius: 2px; | |
6adbc9a6 | 3863 | position: absolute; |
82b4252f RK |
3864 | top: 0; |
3865 | right: 0; | |
3866 | } | |
3867 | ||
3868 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after { | |
3869 | top: 1px; | |
3870 | right: 1px; | |
e9c73590 RK |
3871 | } |
3872 | ||
82b4252f RK |
3873 | .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
3874 | left: 0; | |
3875 | right: auto; | |
e9c73590 RK |
3876 | } |
3877 | ||
82b4252f RK |
3878 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
3879 | left: 1px; | |
6adbc9a6 | 3880 | right: auto; |
348c0499 RK |
3881 | } |
3882 | ||
3883 | #social-notification-icon-mentions { | |
e9c73590 | 3884 | background-color: #000000; |
348c0499 RK |
3885 | border-radius: 3px; |
3886 | -moz-margin-start: 2px; | |
e9c73590 RK |
3887 | } |
3888 | ||
348c0499 RK |
3889 | #social-notification-icon-mentions:hover { |
3890 | background-color: #FFCF00; | |
3891 | } | |
3892 | ||
3893 | #social-notification-icon-mentions[open="true"] { | |
3894 | background-color: #FF9F00; | |
e9c73590 RK |
3895 | } |
3896 | ||
3897 | #social-sidebar-splitter { | |
3898 | border: 0; | |
3899 | } | |
3900 | ||
ed1a91c6 RK |
3901 | .popup-notification-icon[popupid="servicesInstall"] { |
3902 | list-style-image: url("chrome://browser/skin/social/services-64.png"); | |
3903 | } | |
3904 | #servicesInstall-notification-icon { | |
3905 | list-style-image: url("chrome://browser/skin/social/services-16.png"); | |
3906 | } | |
3907 | #social-undoactivation-button, | |
3908 | #servicesInstall-learnmore-link { | |
3909 | -moz-margin-start: 0; /* override default label margin to match description margin */ | |
3910 | } | |
3911 | ||
3912 | #socialActivatedNotification .popup-notification-button-container { | |
3913 | margin-left: 6px; | |
3914 | } | |
3915 | ||
3916 | .social-activation-icon { | |
3917 | width: auto; | |
3918 | height: auto; | |
3919 | max-height: 64px; | |
3920 | max-width: 64px; | |
3921 | } | |
3922 | ||
3923 | #social-activation-message { | |
3924 | max-width: 250px; | |
3925 | } | |
3926 | ||
3927 | #social-activation-message > label { | |
3928 | margin: 0; | |
3929 | } | |
3930 | ||
e9c73590 | 3931 | /* social toolbar provider menu */ |
990cba4b | 3932 | .social-statusarea-popup { |
e9c73590 RK |
3933 | margin-top: 0; |
3934 | margin-left: -12px; | |
3935 | margin-right: -12px; | |
3936 | } | |
3937 | ||
990cba4b | 3938 | .social-statusarea-user { |
e9c73590 RK |
3939 | border-bottom: 1px solid #9C9CFF; |
3940 | background-color: #000000; | |
3941 | color: #FF9F00; | |
3942 | position: relative; | |
348c0499 | 3943 | cursor: pointer; |
e9c73590 RK |
3944 | } |
3945 | ||
990cba4b | 3946 | .social-statusarea-user-portrait { |
e9c73590 RK |
3947 | width: 32px; |
3948 | height: 32px; | |
3949 | border-radius: 2px; | |
3950 | margin: 10px; | |
e9c73590 RK |
3951 | } |
3952 | ||
990cba4b | 3953 | .social-statusarea-loggedInStatus { |
e9c73590 RK |
3954 | background: transparent; |
3955 | border: none; | |
b8384c33 | 3956 | color: #3333FF; |
e9c73590 RK |
3957 | min-width: 0; |
3958 | margin: 0 6px; | |
348c0499 | 3959 | list-style-image: none; |
e9c73590 | 3960 | } |
90a244b7 | 3961 | |
990cba4b | 3962 | #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { |
e9c73590 RK |
3963 | text-decoration: underline; |
3964 | } | |
3965 | ||
348c0499 RK |
3966 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
3967 | padding: 0; | |
3968 | } | |
3969 | ||
348c0499 RK |
3970 | .social-panel-frame { |
3971 | border-radius: inherit; | |
3972 | } | |
e9c73590 | 3973 | |
e7c8bab1 RK |
3974 | /* === BEGIN chat.inc.css === */ |
3975 | ||
e9c73590 RK |
3976 | .chat-status-icon { |
3977 | max-height: 16px; | |
3978 | max-width: 16px; | |
3979 | padding: 0; | |
3980 | } | |
3981 | ||
3982 | .chat-toolbarbutton { | |
3983 | -moz-appearance: none; | |
3984 | border: none; | |
3985 | padding: 0; | |
3986 | margin: 0; | |
3987 | background: none; | |
b27cc46e | 3988 | width: 16px; |
e9c73590 RK |
3989 | } |
3990 | ||
3991 | .chat-toolbarbutton > .toolbarbutton-text { | |
3992 | display: none; | |
3993 | } | |
3994 | ||
b27cc46e RK |
3995 | .chat-toolbarbutton > .toolbarbutton-icon { |
3996 | width: inherit; | |
3997 | } | |
3998 | ||
e7c8bab1 RK |
3999 | .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon { |
4000 | width: inherit; | |
4001 | margin-top: -2px; | |
4002 | } | |
4003 | ||
e9c73590 | 4004 | .chat-close-button { |
e2734cc7 | 4005 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); |
b27cc46e | 4006 | -moz-image-region: rect(0, 16px, 16px, 0); |
e9c73590 RK |
4007 | } |
4008 | ||
4009 | .chat-close-button:hover, | |
4010 | .chat-close-button:hover:active { | |
b27cc46e | 4011 | -moz-image-region: rect(0, 32px, 16px, 16px); |
e9c73590 RK |
4012 | } |
4013 | ||
e2734cc7 RK |
4014 | .chat-minimize-button { |
4015 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 4016 | -moz-image-region: rect(16px, 16px, 32px, 0); |
e2734cc7 RK |
4017 | } |
4018 | ||
4019 | .chat-minimize-button:hover:active, | |
4020 | .chat-minimize-button:hover { | |
b27cc46e | 4021 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
e2734cc7 RK |
4022 | } |
4023 | ||
4024 | .chat-swap-button { | |
4025 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 4026 | -moz-image-region: rect(48px, 16px, 64px, 0); |
e2734cc7 RK |
4027 | } |
4028 | ||
4029 | .chat-swap-button:hover:active, | |
4030 | .chat-swap-button:hover { | |
b27cc46e | 4031 | -moz-image-region: rect(48px, 32px, 64px, 16px); |
e2734cc7 RK |
4032 | } |
4033 | ||
4034 | chatbar > chatbox > .chat-titlebar > .chat-swap-button { | |
4035 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 4036 | -moz-image-region: rect(32px, 16px, 48px, 0); |
e2734cc7 RK |
4037 | } |
4038 | ||
4039 | chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active, | |
4040 | chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { | |
b27cc46e | 4041 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
e2734cc7 RK |
4042 | } |
4043 | ||
e9c73590 RK |
4044 | .chat-title { |
4045 | font-weight: bold; | |
4046 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; | |
90a244b7 | 4047 | text-shadow: none; |
348c0499 | 4048 | cursor: inherit; |
e9c73590 RK |
4049 | } |
4050 | ||
4051 | .chat-titlebar { | |
4052 | background-color: #9C9CFF; | |
4053 | color: #000000; | |
4054 | height: 20px; | |
fcfb76ce | 4055 | min-height: 16px; |
e9c73590 RK |
4056 | width: 100%; |
4057 | margin: 0; | |
4058 | padding: 2px; | |
348c0499 | 4059 | -moz-padding-start: 6px; |
e9c73590 RK |
4060 | border: none; |
4061 | border-bottom: 1px solid #008484; | |
348c0499 | 4062 | cursor: pointer; |
e9c73590 RK |
4063 | } |
4064 | ||
e2734cc7 RK |
4065 | .chat-titlebar > .notification-anchor-icon { |
4066 | margin-left: 2px; | |
4067 | margin-right: 2px; | |
4068 | } | |
4069 | ||
e9c73590 RK |
4070 | .chat-titlebar[minimized="true"] { |
4071 | border-bottom: none; | |
4072 | } | |
4073 | ||
348c0499 RK |
4074 | .chat-titlebar[selected] { |
4075 | background-color: #008484; | |
4076 | } | |
4077 | ||
4078 | .chat-titlebar[activity] { | |
4079 | background-color: #E7ADE7; | |
4080 | } | |
4081 | ||
e9c73590 RK |
4082 | .chat-frame { |
4083 | padding: 0; | |
4084 | margin: 0; | |
4085 | overflow: hidden; | |
4086 | } | |
4087 | ||
4088 | .chatbar-button { | |
ed1a91c6 | 4089 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
e9c73590 RK |
4090 | background-color: #000000; |
4091 | border: none; | |
4092 | margin: 0; | |
4093 | padding: 2px; | |
4094 | height: 21px; | |
4095 | width: 21px; | |
4096 | border-top: 1px solid #008484; | |
4097 | -moz-border-end: 1px solid #008484; | |
4098 | } | |
4099 | ||
ed1a91c6 RK |
4100 | @media (min-resolution: 2dppx) { |
4101 | .chatbar-button { | |
4102 | list-style-image: url("chrome://browser/skin/social/services-16@2x.png"); | |
4103 | } | |
4104 | } | |
4105 | ||
fe524e0c RK |
4106 | .chatbar-button > .toolbarbutton-icon { |
4107 | width: 16px; | |
4108 | } | |
4109 | ||
d7cfd768 RK |
4110 | .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { |
4111 | width: auto; | |
4112 | height: auto; | |
e9c73590 RK |
4113 | max-height: 16px; |
4114 | max-width: 16px; | |
e9c73590 RK |
4115 | } |
4116 | ||
90a244b7 RK |
4117 | .chatbar-button > .toolbarbutton-icon { |
4118 | opacity: .6; | |
4119 | -moz-margin-end: 0; | |
4120 | } | |
4121 | .chatbar-button:hover > .toolbarbutton-icon, | |
4122 | .chatbar-button[open="true"] > .toolbarbutton-icon { | |
4123 | opacity: 1; | |
4124 | } | |
4125 | ||
a6757852 | 4126 | .chatbar-button:hover, |
90a244b7 | 4127 | .chatbar-button[open="true"] { |
e9c73590 RK |
4128 | } |
4129 | ||
e9c73590 RK |
4130 | .chatbar-button > .toolbarbutton-text, |
4131 | .chatbar-button > .toolbarbutton-menu-dropmarker { | |
4132 | display: none; | |
4133 | } | |
4134 | ||
90a244b7 | 4135 | .chatbar-button[activity]:not([open="true"]) { |
348c0499 RK |
4136 | background-color: #E7ADE7; |
4137 | } | |
4138 | ||
4139 | .chatbar-button > menupopup > menuitem[activity] { | |
4140 | font-weight: bold; | |
4141 | } | |
4142 | ||
e9c73590 RK |
4143 | .chatbar-innerbox { |
4144 | background: transparent; | |
90a244b7 | 4145 | margin: -285px 0 0; |
e9c73590 RK |
4146 | overflow: hidden; |
4147 | } | |
4148 | ||
fcfb76ce RK |
4149 | chatbar { |
4150 | -moz-margin-end: 20px; | |
4151 | } | |
4152 | ||
e9c73590 | 4153 | chatbar > chatbox { |
fcfb76ce RK |
4154 | height: 285px; |
4155 | width: 260px; | |
4156 | -moz-margin-start: 4px; | |
e9c73590 RK |
4157 | background-color: #000000; |
4158 | border: 1px solid #9C9CFF; | |
4159 | border-bottom: none; | |
90a244b7 RK |
4160 | border-top-left-radius: 2.5px; |
4161 | border-top-right-radius: 2.5px; | |
e9c73590 RK |
4162 | } |
4163 | ||
fcfb76ce RK |
4164 | chatbox[minimized="true"] { |
4165 | width: 160px; | |
e9c73590 | 4166 | height: 20px; |
e9c73590 | 4167 | } |
348c0499 | 4168 | |
e2734cc7 RK |
4169 | window > chatbox { |
4170 | -moz-margin-start: 0px; | |
4171 | margin: 0px; | |
4172 | border: none; | |
4173 | padding: 0px; | |
4174 | } | |
4175 | ||
e7c8bab1 RK |
4176 | /* === END chat.inc.css === */ |
4177 | ||
b27cc46e | 4178 | /* === BEGIN plugin-doorhanger.inc.css === */ |
348c0499 | 4179 | |
b27cc46e RK |
4180 | /** |
4181 | * Plugin Doorhanger Styles | |
4182 | */ | |
348c0499 | 4183 | |
b27cc46e | 4184 | #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { |
1e32332f | 4185 | padding: 6px 1px 2px; |
348c0499 RK |
4186 | } |
4187 | ||
b27cc46e RK |
4188 | .click-to-play-plugins-notification-content { |
4189 | width: 28em; | |
348c0499 RK |
4190 | } |
4191 | ||
4192 | .click-to-play-plugins-notification-center-box { | |
348c0499 RK |
4193 | } |
4194 | ||
fe524e0c RK |
4195 | .plugin-popupnotification-centeritem:nth-child(odd) { |
4196 | /* background-color: rgba(0,0,0,0.1);*/ | |
348c0499 RK |
4197 | } |
4198 | ||
b27cc46e RK |
4199 | .center-item-label { |
4200 | margin-bottom: 0; | |
4201 | text-overflow: ellipsis; | |
348c0499 RK |
4202 | } |
4203 | ||
b27cc46e RK |
4204 | .center-item-warning-icon { |
4205 | background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); | |
348c0499 | 4206 | background-repeat: no-repeat; |
348c0499 | 4207 | width: 16px; |
b27cc46e RK |
4208 | height: 15px; |
4209 | -moz-margin-start: 6px; | |
348c0499 RK |
4210 | } |
4211 | ||
b27cc46e | 4212 | .click-to-play-plugins-notification-button-container { |
348c0499 RK |
4213 | } |
4214 | ||
b27cc46e RK |
4215 | .click-to-play-popup-button { |
4216 | width: 50%; | |
348c0499 RK |
4217 | } |
4218 | ||
b27cc46e | 4219 | .click-to-play-plugins-notification-description-box { |
1e32332f RK |
4220 | margin-left: 5px; |
4221 | margin-right: 5px; | |
4222 | margin-top: 0; | |
4223 | padding-bottom: 3px; | |
348c0499 RK |
4224 | } |
4225 | ||
b27cc46e | 4226 | .click-to-play-plugins-outer-description { |
1e32332f | 4227 | margin-top: 1px; |
348c0499 RK |
4228 | } |
4229 | ||
b27cc46e RK |
4230 | .click-to-play-plugins-notification-link, |
4231 | .center-item-link { | |
4232 | margin: 0; | |
348c0499 RK |
4233 | } |
4234 | ||
43cc2806 RK |
4235 | /* Customization mode */ |
4236 | ||
b27cc46e | 4237 | /* === END plugin-doorhanger.inc.css === */ |
0142a07b RK |
4238 | |
4239 | #main-window[privatebrowsingmode=temporary] #toolbar-menubar { | |
4240 | background-image: url("chrome://browser/skin/privatebrowsing-dark.png"); | |
4241 | background-position: top right; | |
4242 | background-repeat: no-repeat; | |
4243 | } | |
4244 | ||
4245 | #main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) { | |
4246 | background-position: top left; | |
4247 | } | |
4248 | ||
6adbc9a6 | 4249 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon { |
0142a07b | 4250 | list-style-image: url("chrome://browser/skin/privatebrowsing-light.png"); |
6adbc9a6 RK |
4251 | width: 20px; |
4252 | height: 16px; | |
0142a07b | 4253 | } |
43cc2806 RK |
4254 | |
4255 | /* === BEGIN customizeMode.inc.css === */ | |
4256 | ||
4257 | /* Customization mode */ | |
4258 | #nav-bar[customize-entered] > #nav-bar-customization-target { | |
4259 | margin: 1px 3px; | |
4260 | } | |
4261 | ||
4262 | #nav-bar[customize-entered] > #nav-bar-customization-target, | |
4263 | #PanelUI-contents > .panel-customization-placeholder { | |
4264 | outline: 1px dashed transparent; | |
4265 | } | |
4266 | ||
4267 | #main-window[customizing-movingItem] #nav-bar-customization-target, | |
4268 | #main-window[customizing-movingItem] .panel-customization-placeholder { | |
4269 | outline-color: #9C9CFF; | |
4270 | } | |
4271 | ||
4272 | #PanelUI-contents > .panel-customization-placeholder { | |
4273 | cursor: auto; | |
4274 | outline-offset: -5px; | |
4275 | } | |
4276 | ||
4277 | #main-window[customize-entered] .customization-target { | |
4278 | min-width: 100px; | |
4279 | padding-left: 10px; | |
4280 | padding-right: 10px; | |
4281 | } | |
4282 | ||
4283 | #customization-container { | |
4284 | background-color: #000000; | |
4285 | } | |
4286 | ||
4287 | #customization-palette-container { | |
4288 | padding: 25px; | |
4289 | } | |
4290 | ||
4291 | #customization-header { | |
4292 | font-size: 1.5em; | |
4293 | line-height: 1.5em; | |
4294 | color: #9C9CFF; | |
4295 | font-weight: lighter; | |
4296 | margin-bottom: 1em; | |
4297 | } | |
4298 | ||
4299 | #customization-panel-container { | |
4300 | padding: 15px 25px 25px; | |
4301 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); | |
4302 | background-position: left top; | |
4303 | background-repeat: repeat; | |
4304 | background-size: auto; | |
4305 | background-attachment: fixed; | |
4306 | } | |
4307 | ||
4308 | toolbarpaletteitem { | |
4309 | transition: background-color, border-color, box-shadow, border-width; | |
4310 | transition-duration: 10ms, 10ms, 10ms, 250ms; | |
4311 | transition-timing-function: linear, linear, linear, ease-in-out; | |
4312 | } | |
4313 | ||
4314 | toolbarpaletteitem[mousedown] { | |
4315 | outline: 1px solid #008484; | |
4316 | cursor: -moz-grabbing; | |
4317 | opacity: 0.8; | |
4318 | } | |
4319 | ||
4320 | .panel-customization-placeholder, | |
4321 | toolbarpaletteitem[place="palette"], | |
4322 | toolbarpaletteitem[place="panel"] { | |
4323 | transition: background-color, border-color, box-shadow, transform; | |
4324 | transition-duration: 10ms, 10ms, 10ms, 250ms; | |
4325 | transition-timing-function: linear, linear, linear, ease-in-out; | |
4326 | } | |
4327 | ||
4328 | toolbarpaletteitem[notransition][place="palette"], | |
4329 | toolbarpaletteitem[notransition][place="panel"] { | |
4330 | transition: background-color, border-color, box-shadow; | |
4331 | transition-duration: 10ms, 10ms, 10ms; | |
4332 | transition-timing-function: linear, linear, linear; | |
4333 | } | |
4334 | ||
4335 | toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon { | |
4336 | transition: transform 50ms ease-in-out; | |
4337 | } | |
4338 | ||
4339 | toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon { | |
4340 | transform: scale(1.1); | |
4341 | } | |
4342 | ||
4343 | /* Override the toolkit styling for items being dragged over. */ | |
4344 | toolbarpaletteitem[place="toolbar"] { | |
4345 | border-left-width: 0; | |
4346 | border-right-width: 0; | |
4347 | margin-right: 0; | |
4348 | margin-left: 0; | |
4349 | } | |
4350 | ||
4351 | #customization-palette:not([hidden]) { | |
4352 | margin-bottom: 25px; | |
4353 | } | |
4354 | ||
4355 | /* Remove |:-moz-any(#customization-palette, #panelUI-contents)| selector when Australis lands - this makes it only apply post-Australis as those elements only exist there */ | |
4356 | #customization-palette > #wrapper-edit-controls, | |
4357 | :-moz-any(#customization-palette, #panelUI-contents) > #customization-palette > #wrapper-zoom-controls { | |
4358 | width: 225px; | |
4359 | } | |
4360 | ||
4361 | #wrapper-edit-controls[place="palette"] > .toolbarpaletteitem-box, | |
4362 | #wrapper-zoom-controls[place="palette"] > .toolbarpaletteitem-box { | |
4363 | width: 225px; | |
4364 | max-width: 225px; | |
4365 | } | |
4366 | ||
4367 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, | |
4368 | #wrapper-edit-controls[place="palette"] > #edit-controls > separator, | |
4369 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton, | |
4370 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator { | |
4371 | margin-top: 24px; | |
4372 | } | |
4373 | ||
4374 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton, | |
4375 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton { | |
4376 | margin-left: 0; | |
4377 | margin-right: 0; | |
4378 | max-width: 70px; | |
4379 | min-width: 70px; | |
4380 | max-height: 24px; | |
4381 | height: 24px; | |
4382 | } | |
4383 | ||
4384 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-text, | |
4385 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button > .toolbarbutton-text { | |
4386 | display: inline; | |
4387 | } | |
4388 | ||
4389 | #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon, | |
4390 | :-moz-any(#customization-palette, #panelUI-contents) > #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon { | |
4391 | margin: 0; | |
4392 | -moz-margin-start: 5px; | |
4393 | } | |
4394 | ||
4395 | #customization-palette > toolbarpaletteitem > label { | |
4396 | text-align: center; | |
4397 | margin-left: 0; | |
4398 | margin-right: 0; | |
4399 | } | |
4400 | ||
4401 | /* === END customizeMode.inc.css === */ | |
4402 | ||
4403 | #main-window[customizing] { | |
4404 | background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png"); | |
4405 | background-attachment: fixed; | |
4406 | } | |
4407 | ||
4408 | #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck { | |
4409 | padding: 0 2em 2em; | |
4410 | } | |
4411 | ||
4412 | #customization-container { | |
4413 | border-left: 1px solid #9C9CFF; | |
4414 | border-right: 1px solid #9C9CFF; | |
4415 | background-clip: padding-box; | |
4416 | } | |
4417 | ||
4418 | /* End customization mode */ | |
4419 | ||
4420 | #main-window[privatebrowsingmode=temporary] #TabsToolbar::after { | |
4421 | content: ""; | |
4422 | display: -moz-box; | |
4423 | width: 40px; | |
4424 | background: url("chrome://browser/skin/privatebrowsing-indicator.png") no-repeat center center; | |
4425 | } | |
4426 | ||
4427 | /* === BEGIN UITour.inc.css === */ | |
4428 | ||
4429 | /* UI Tour */ | |
4430 | ||
4431 | html|div#UITourHighlight { | |
4432 | border-radius: 20px; | |
4433 | border: 2px #9C9CFF solid; | |
4434 | min-height: 32px; | |
4435 | min-width: 32px; | |
4436 | } | |
4437 | ||
4438 | #UITourTooltip { | |
4439 | max-width: 20em; | |
4440 | } | |
4441 | ||
4442 | #UITourTooltipTitle { | |
4443 | font-size: 130%; | |
4444 | font-weight: bold; | |
4445 | margin: 0 0 5px 0; | |
4446 | } | |
4447 | ||
4448 | #UITourTooltipDescription { | |
4449 | max-width: 20em; | |
4450 | } | |
4451 | ||
4452 | /* === END UITour.inc.css === */ |