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