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