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