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