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 | ||
37953ab4 | 1344 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { |
a40f6a79 RK |
1345 | color: #008484; |
1346 | -moz-border-end: 1px solid #008484; | |
1347 | -moz-margin-end: 3px; | |
319c6529 RK |
1348 | } |
1349 | ||
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 | ||
37953ab4 | 1355 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) { |
a40f6a79 RK |
1356 | border-top-left-radius: 0; |
1357 | border-bottom-left-radius: 0; | |
319c6529 RK |
1358 | } |
1359 | ||
a40f6a79 RK |
1360 | #identity-box.verifiedIdentity:not(:-moz-lwtheme) { |
1361 | background-color: #000000; | |
319c6529 RK |
1362 | } |
1363 | ||
1364 | #identity-box:-moz-focusring { | |
1365 | outline: 1px dotted #008484; | |
f993773d | 1366 | outline-offset: -1px; |
319c6529 RK |
1367 | } |
1368 | ||
1369 | #identity-box.verifiedDomain:-moz-focusring, | |
1370 | #identity-box.verifiedIdentity:-moz-focusring { | |
1371 | outline-color: #000000; | |
1372 | } | |
1373 | ||
1374 | #identity-icon-labels { | |
1375 | -moz-margin-start: 1px; | |
1376 | -moz-margin-end: 3px; | |
319c6529 RK |
1377 | } |
1378 | ||
1379 | /* Location bar dropmarker */ | |
1380 | ||
38cfeb47 | 1381 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
319c6529 | 1382 | background-color: transparent; |
319c6529 RK |
1383 | } |
1384 | ||
38cfeb47 RK |
1385 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker { |
1386 | border: none; | |
1387 | border-radius: 0px; | |
319c6529 RK |
1388 | } |
1389 | ||
ffce2402 RK |
1390 | .urlbar-history-dropmarker:hover { |
1391 | } | |
1392 | ||
1393 | .urlbar-history-dropmarker:hover:active, | |
1394 | .urlbar-history-dropmarker[open="true"] { | |
1395 | } | |
1396 | ||
319c6529 RK |
1397 | /* page proxy icon */ |
1398 | ||
4d58ff64 | 1399 | #page-proxy-favicon { |
319c6529 RK |
1400 | width: 16px; |
1401 | height: 16px; | |
a40f6a79 RK |
1402 | list-style-image: url("chrome://browser/skin/identity-icons-generic.png"); |
1403 | -moz-image-region: rect(0, 16px, 16px, 0); | |
319c6529 RK |
1404 | } |
1405 | ||
2a5b7882 | 1406 | .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
1407 | list-style-image: url("chrome://browser/skin/identity-icons-https.png"); |
1408 | } | |
1409 | ||
2a5b7882 | 1410 | .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] { |
a40f6a79 RK |
1411 | list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png"); |
1412 | } | |
1413 | ||
56ab361a RK |
1414 | .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] { |
1415 | list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png"); | |
1416 | } | |
1417 | ||
2a5b7882 | 1418 | #identity-box:hover > #page-proxy-favicon { |
a40f6a79 RK |
1419 | -moz-image-region: rect(0, 32px, 16px, 16px); |
1420 | } | |
1421 | ||
2a5b7882 RK |
1422 | #identity-box:hover:active > #page-proxy-favicon, |
1423 | #identity-box[open=true] > #page-proxy-favicon { | |
a40f6a79 | 1424 | -moz-image-region: rect(0, 48px, 16px, 32px); |
acb0e9b8 | 1425 | } |
1426 | ||
2a5b7882 RK |
1427 | #identity-box:hover { |
1428 | background-color: #FFCF00; | |
7092015d | 1429 | color: #000000; |
2a5b7882 RK |
1430 | } |
1431 | ||
1432 | #identity-box:hover:active, | |
1433 | #identity-box[open=true] { | |
1434 | background-color: #FF9F00; | |
7092015d | 1435 | color: #000000; |
2a5b7882 RK |
1436 | } |
1437 | ||
387e6560 RK |
1438 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover, |
1439 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active, | |
1440 | #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] { | |
2a5b7882 RK |
1441 | background-color: #008484; |
1442 | color: #000000; | |
1443 | } | |
1444 | ||
319c6529 | 1445 | #page-proxy-favicon[pageproxystate="invalid"] { |
37953ab4 | 1446 | opacity: 0.3; |
acb0e9b8 | 1447 | } |
1448 | ||
319c6529 RK |
1449 | /* autocomplete */ |
1450 | ||
319c6529 RK |
1451 | #treecolAutoCompleteImage { |
1452 | max-width: 36px; | |
1453 | } | |
acb0e9b8 | 1454 | |
319c6529 RK |
1455 | .ac-result-type-bookmark, |
1456 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | |
71bac478 | 1457 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
319c6529 | 1458 | -moz-image-region: rect(0px 16px 16px 0px); |
c1f7cc84 | 1459 | width: 16px; |
319c6529 | 1460 | height: 16px; |
acb0e9b8 | 1461 | } |
1462 | ||
319c6529 RK |
1463 | .ac-result-type-keyword, |
1464 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { | |
1465 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); | |
1466 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 1467 | width: 16px; |
1468 | height: 16px; | |
1469 | } | |
1470 | ||
319c6529 RK |
1471 | .ac-result-type-tag, |
1472 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { | |
8da9da4e | 1473 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
c1f7cc84 | 1474 | width: 16px; |
319c6529 RK |
1475 | height: 16px; |
1476 | } | |
acb0e9b8 | 1477 | |
319c6529 RK |
1478 | .ac-comment { |
1479 | font-size: 1.15em; | |
acb0e9b8 | 1480 | } |
319c6529 RK |
1481 | |
1482 | .ac-extra > .ac-comment { | |
1483 | font-size: inherit; | |
acb0e9b8 | 1484 | } |
319c6529 RK |
1485 | |
1486 | .ac-url-text, | |
1487 | .ac-action-text { | |
1488 | color: #9C9CFF; | |
acb0e9b8 | 1489 | } |
319c6529 RK |
1490 | |
1491 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { | |
1492 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); | |
85cfb236 RK |
1493 | -moz-image-region: rect(0, 16px, 16px, 0); |
1494 | padding: 0 3px; | |
1495 | } | |
1496 | ||
1497 | richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon { | |
1498 | -moz-image-region: rect(16px, 16px, 32px, 0); | |
acb0e9b8 | 1499 | } |
1500 | ||
319c6529 RK |
1501 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
1502 | color: #8050B0; | |
1503 | } | |
acb0e9b8 | 1504 | |
319c6529 RK |
1505 | .ac-comment[selected="true"], |
1506 | .ac-url-text[selected="true"], | |
1507 | .ac-action-text[selected="true"] { | |
1508 | color: inherit !important; | |
acb0e9b8 | 1509 | } |
1510 | ||
c1f7cc84 RK |
1511 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
1512 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) | |
319c6529 RK |
1513 | { |
1514 | color: #8050B0; | |
1515 | font-size: smaller; | |
acb0e9b8 | 1516 | } |
319c6529 RK |
1517 | |
1518 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
1519 | border-top: 1px solid #9C9CFF; | |
acb0e9b8 | 1520 | } |
1521 | ||
319c6529 RK |
1522 | /* combined go/reload/stop button in location bar */ |
1523 | ||
ffce2402 | 1524 | #go-button, |
319c6529 RK |
1525 | #urlbar > toolbarbutton { |
1526 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); | |
38cfeb47 | 1527 | /* margin: -2px; */ |
9abeb12c | 1528 | -moz-margin-start: 0; |
ffce2402 | 1529 | padding: 0 2px; |
319c6529 RK |
1530 | background-origin: border-box; |
1531 | border: none; | |
9abeb12c RK |
1532 | -moz-border-start: 1px solid #9C9CFF; |
1533 | } | |
1534 | ||
ffce2402 RK |
1535 | #go-button { |
1536 | padding: 0 3px; | |
1537 | } | |
1538 | ||
9abeb12c | 1539 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { |
38cfeb47 RK |
1540 | border-top-left-radius: 0px; |
1541 | border-bottom-left-radius: 0px; | |
acb0e9b8 | 1542 | } |
acb0e9b8 | 1543 | |
9abeb12c | 1544 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
38cfeb47 RK |
1545 | border-top-right-radius: 0px; |
1546 | border-bottom-right-radius: 0px; | |
9abeb12c RK |
1547 | } |
1548 | ||
dce90fef RK |
1549 | #urlbar > toolbarbutton:not([disabled]):active:hover, |
1550 | #urlbar-reload-button:not(:hover) { | |
1551 | -moz-border-start-style: none; | |
714b11f6 | 1552 | -moz-padding-start: 3px; |
dce90fef RK |
1553 | } |
1554 | ||
1555 | #urlbar > toolbarbutton:not([disabled]):active:hover { | |
acb0e9b8 | 1556 | } |
1557 | ||
319c6529 | 1558 | #urlbar-go-button { |
ffce2402 | 1559 | -moz-image-region: rect(0, 42px, 14px, 28px); |
acb0e9b8 | 1560 | } |
1561 | ||
ffce2402 RK |
1562 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
1563 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | |
71a617ff | 1564 | transform: scaleX(-1); |
ffce2402 RK |
1565 | } |
1566 | ||
1567 | #urlbar-go-button:hover, | |
1568 | #go-button:hover { | |
1569 | -moz-image-region: rect(14px, 42px, 28px, 28px); | |
acb0e9b8 | 1570 | } |
1571 | ||
319c6529 | 1572 | #urlbar-reload-button { |
ffce2402 | 1573 | -moz-image-region: rect(0px, 14px, 14px, 0px); |
38cfeb47 RK |
1574 | } |
1575 | ||
1576 | #urlbar-reload-button[disabled] { | |
ffce2402 | 1577 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
acb0e9b8 | 1578 | } |
1579 | ||
319c6529 | 1580 | #urlbar-reload-button:not([disabled]):hover { |
ffce2402 | 1581 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
acb0e9b8 | 1582 | } |
319c6529 RK |
1583 | |
1584 | #urlbar-stop-button { | |
ffce2402 | 1585 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
acb0e9b8 | 1586 | } |
319c6529 RK |
1587 | |
1588 | #urlbar-stop-button:hover { | |
ffce2402 | 1589 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
acb0e9b8 | 1590 | } |
1591 | ||
319c6529 RK |
1592 | /* popup blocker button */ |
1593 | ||
1594 | #page-report-button { | |
1595 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | |
1596 | -moz-image-region: rect(0, 16px, 16px, 0); | |
acb0e9b8 | 1597 | } |
319c6529 | 1598 | |
71bac478 | 1599 | #page-report-button:hover , |
319c6529 RK |
1600 | #page-report-button:hover:active, |
1601 | #page-report-button[open="true"] { | |
71bac478 | 1602 | -moz-image-region: rect(0, 32px, 16px, 16px); |
acb0e9b8 | 1603 | } |
1604 | ||
c4460289 RK |
1605 | /* social share panel */ |
1606 | ||
1607 | #social-share-panel > iframe { | |
1608 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/ | |
1609 | width: 300px; | |
1610 | height: 150px; | |
1611 | } | |
1612 | ||
1613 | #social-share-button { | |
1614 | list-style-image: url("chrome://browser/skin/social/share-button.png"); | |
1615 | -moz-image-region: rect(0, 16px, 16px, 0); | |
1616 | } | |
1617 | ||
1618 | .social-share-toolbar { | |
1619 | border-right: 1px solid #9C9CFF; | |
1620 | /* background-color: #000000; */ | |
1621 | } | |
1622 | ||
1623 | #social-share-provider-buttons { | |
1624 | padding: 6px; | |
1625 | } | |
1626 | ||
1627 | #social-share-provider-buttons > .share-provider-button { | |
1628 | -moz-appearance: none; | |
1629 | padding: 5px; | |
1630 | margin: 1px; | |
1631 | border: none; | |
1632 | background: none; | |
1633 | border-radius: 2px; | |
1634 | } | |
1635 | ||
1636 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]), | |
1637 | #social-share-provider-buttons > .share-provider-button:hover, | |
1638 | #social-share-provider-buttons > .share-provider-button:active { | |
1639 | padding: 4px; | |
1640 | } | |
1641 | ||
1642 | #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) { | |
1643 | } | |
1644 | ||
1645 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { | |
1646 | display: none; | |
1647 | } | |
1648 | #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { | |
1649 | width: 16px; | |
1650 | min-height: 16px; | |
1651 | max-height: 16px; | |
1652 | } | |
1653 | ||
1654 | /* fixup corners for share panel */ | |
1655 | .social-panel > .social-panel-frame { | |
1656 | border-radius: inherit; | |
1657 | } | |
1658 | ||
1659 | #social-share-panel { | |
1660 | max-height: 600px; | |
1661 | min-height: 100px; | |
1662 | max-width: 800px; | |
1663 | min-width: 300px; | |
1664 | } | |
1665 | ||
1666 | .social-share-frame { | |
1667 | /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */ | |
1668 | width: 330px; | |
1669 | height: 150px; | |
c4460289 RK |
1670 | /* we resize our panels dynamically, make it look nice */ |
1671 | transition: height 100ms ease-out, width 100ms ease-out; | |
1672 | } | |
1673 | ||
e2734cc7 RK |
1674 | .social-share-frame:-moz-locale-dir(ltr) { |
1675 | border-top-left-radius: 0; | |
1676 | border-bottom-left-radius: 0; | |
1677 | border-top-right-radius: inherit; | |
1678 | border-bottom-right-radius: inherit; | |
1679 | } | |
1680 | ||
1681 | .social-share-frame:-moz-locale-dir(rtl) { | |
c4460289 RK |
1682 | border-top-left-radius: inherit; |
1683 | border-bottom-left-radius: inherit; | |
e2734cc7 RK |
1684 | border-top-right-radius: 0; |
1685 | border-bottom-right-radius: 0; | |
c4460289 RK |
1686 | } |
1687 | ||
e2734cc7 RK |
1688 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) { |
1689 | border-top-left-radius: inherit; | |
1690 | border-bottom-left-radius: inherit; | |
1691 | } | |
1692 | ||
1693 | #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) { | |
1694 | border-top-right-radius: inherit; | |
1695 | border-bottom-right-radius: inherit; | |
1696 | } | |
1697 | ||
1698 | #social-share-provider-buttons:-moz-locale-dir(ltr) { | |
c4460289 RK |
1699 | border-top-left-radius: inherit; |
1700 | border-bottom-left-radius: inherit; | |
1701 | } | |
1702 | ||
e2734cc7 RK |
1703 | #social-share-provider-buttons:-moz-locale-dir(rtl) { |
1704 | border-top-right-radius: inherit; | |
1705 | border-bottom-right-radius: inherit; | |
1706 | } | |
1707 | ||
889649fd RK |
1708 | /* social recommending panel */ |
1709 | ||
a6757852 | 1710 | #social-mark-button { |
d7cfd768 | 1711 | -moz-image-region: rect(0, 16px, 16px, 0); |
889649fd RK |
1712 | } |
1713 | ||
319c6529 RK |
1714 | /* star button */ |
1715 | ||
1716 | #star-button { | |
71bac478 RK |
1717 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); |
1718 | -moz-image-region: rect(16px 16px 32px 0px); | |
acb0e9b8 | 1719 | } |
319c6529 RK |
1720 | |
1721 | #star-button:hover { | |
71bac478 | 1722 | -moz-image-region: rect(16px 32px 32px 16px); |
acb0e9b8 | 1723 | } |
319c6529 RK |
1724 | |
1725 | #star-button:hover:active { | |
71bac478 | 1726 | -moz-image-region: rect(16px 48px 32px 32px); |
acb0e9b8 | 1727 | } |
1728 | ||
319c6529 | 1729 | #star-button[starred="true"] { |
71bac478 RK |
1730 | -moz-image-region: rect(0px 16px 16px 0px); |
1731 | } | |
1732 | ||
1733 | #star-button[starred="true"]:hover { | |
1734 | -moz-image-region: rect(0px 32px 16px 16px); | |
1735 | } | |
1736 | ||
1737 | #star-button[starred="true"]:hover:active { | |
1738 | -moz-image-region: rect(0px 48px 16px 32px); | |
acb0e9b8 | 1739 | } |
319c6529 RK |
1740 | |
1741 | /* bookmarking panel */ | |
1742 | #editBookmarkPanelStarIcon { | |
1743 | list-style-image: url("chrome://browser/skin/places/starred48.png"); | |
1744 | width: 48px; | |
1745 | height: 48px; | |
acb0e9b8 | 1746 | } |
319c6529 RK |
1747 | |
1748 | #editBookmarkPanelStarIcon[unstarred] { | |
1749 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); | |
acb0e9b8 | 1750 | } |
1751 | ||
319c6529 RK |
1752 | #editBookmarkPanelTitle { |
1753 | font-size: 130%; | |
acb0e9b8 | 1754 | } |
319c6529 RK |
1755 | |
1756 | #editBookmarkPanelHeader, | |
1757 | #editBookmarkPanelContent { | |
1758 | margin-bottom: .5em; | |
acb0e9b8 | 1759 | } |
319c6529 RK |
1760 | |
1761 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ | |
1762 | #editBMPanel_folderTree { | |
1763 | min-width: 27em; | |
acb0e9b8 | 1764 | } |
1765 | ||
f993773d | 1766 | .panel-promo-box { |
5a3cfc14 | 1767 | margin: 5px -6px -6px; |
f0eab82c | 1768 | padding: 5px; |
889649fd | 1769 | border-top: 1px solid #9C9CFF; |
f0eab82c RK |
1770 | border-bottom-left-radius: 5px; |
1771 | border-bottom-right-radius: 5px; | |
f993773d RK |
1772 | } |
1773 | ||
1774 | .panel-promo-icon { | |
1775 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); | |
1776 | -moz-margin-end: 10px; | |
1777 | vertical-align: middle; | |
1778 | } | |
1779 | ||
1780 | .panel-promo-closebutton { | |
1781 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
f0eab82c RK |
1782 | -moz-margin-end: -3px; |
1783 | margin-top: -3px; | |
f993773d RK |
1784 | } |
1785 | ||
1786 | .panel-promo-closebutton:hover { | |
1787 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
1788 | } | |
1789 | ||
1790 | .panel-promo-closebutton:hover:active { | |
1791 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
1792 | } | |
1793 | ||
1794 | .panel-promo-closebutton > .toolbarbutton-text { | |
1795 | padding: 0; | |
1796 | margin: 0; | |
1797 | } | |
1798 | ||
319c6529 RK |
1799 | /* ::::: content area ::::: */ |
1800 | ||
1801 | #sidebar { | |
1802 | background-color: Window; | |
acb0e9b8 | 1803 | } |
319c6529 RK |
1804 | |
1805 | #sidebar-title { | |
1806 | -moz-padding-start: 0px; | |
acb0e9b8 | 1807 | } |
319c6529 RK |
1808 | |
1809 | /* ::::: throbber ::::: */ | |
1810 | ||
1811 | #navigator-throbber { | |
1812 | width: 16px; | |
1813 | min-height: 16px; | |
1814 | margin: 0 3px; | |
acb0e9b8 | 1815 | } |
1816 | ||
319c6529 | 1817 | #navigator-throbber[busy="true"] { |
95f333af | 1818 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
acb0e9b8 | 1819 | } |
319c6529 RK |
1820 | |
1821 | #navigator-throbber, | |
1822 | #wrapper-navigator-throbber > #navigator-throbber { | |
95f333af | 1823 | list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png"); |
acb0e9b8 | 1824 | } |
319c6529 RK |
1825 | |
1826 | /* Tabstrip */ | |
b36fc72e | 1827 | |
319c6529 RK |
1828 | #TabsToolbar { |
1829 | min-height: 0; | |
1830 | padding: 0; | |
b36fc72e RK |
1831 | -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); |
1832 | } | |
1833 | ||
1834 | #TabsToolbar .toolbar-holder { | |
c1f7cc84 | 1835 | background-color: #000000; /* correct effect of being an actual toolbar */ |
acb0e9b8 | 1836 | } |
1837 | ||
b36fc72e | 1838 | #main-window[disablechrome] #TabsToolbar, |
319c6529 | 1839 | #TabsToolbar[tabsontop="false"] { |
8b5fc82e | 1840 | border-bottom: 1px solid #008484; |
acb0e9b8 | 1841 | } |
319c6529 | 1842 | |
319c6529 RK |
1843 | .tabbrowser-tab, |
1844 | .tabs-newtab-button { | |
1845 | margin-top: 0px; | |
acb0e9b8 | 1846 | } |
319c6529 | 1847 | |
57fc408c RK |
1848 | .tabbrowser-tab{ |
1849 | padding: 1px 4px 2px; | |
1850 | } | |
1851 | ||
1852 | .tabbrowser-tab:first-of-type { | |
1853 | -moz-margin-start: 2px; | |
1854 | } | |
1855 | ||
1856 | .tabs-newtab-button { | |
1857 | border-radius: 8px 8px 0px 0px; | |
1858 | -moz-margin-start: 0; | |
1859 | } | |
1860 | ||
1861 | .tabs-newtab-button:not(:hover) { | |
1862 | background-color: #C09070; | |
1863 | } | |
1864 | ||
319c6529 RK |
1865 | .tabbrowser-tab:hover, |
1866 | .tabs-newtab-button:hover { | |
acb0e9b8 | 1867 | } |
319c6529 RK |
1868 | |
1869 | .tabbrowser-tab[selected="true"] { | |
acb0e9b8 | 1870 | } |
1871 | ||
9abeb12c RK |
1872 | #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { |
1873 | } | |
1874 | ||
319c6529 | 1875 | .tabbrowser-tab:-moz-lwtheme { |
acb0e9b8 | 1876 | } |
319c6529 RK |
1877 | |
1878 | .tabbrowser-tab[selected="true"]:-moz-lwtheme { | |
acb0e9b8 | 1879 | } |
319c6529 RK |
1880 | |
1881 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), | |
1882 | .tabs-newtab-button:-moz-lwtheme-brighttext { | |
acb0e9b8 | 1883 | } |
1884 | ||
319c6529 RK |
1885 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, |
1886 | .tabs-newtab-button:-moz-lwtheme-brighttext:hover { | |
acb0e9b8 | 1887 | } |
319c6529 RK |
1888 | |
1889 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), | |
1890 | .tabs-newtab-button:-moz-lwtheme-darktext { | |
acb0e9b8 | 1891 | } |
319c6529 RK |
1892 | |
1893 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, | |
1894 | .tabs-newtab-button:-moz-lwtheme-darktext:hover { | |
acb0e9b8 | 1895 | } |
1896 | ||
319c6529 RK |
1897 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { |
1898 | background-color: #E7ADE7; | |
613daf44 | 1899 | } |
319c6529 | 1900 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { |
dbd844cb | 1901 | background-color: #3333FF; |
319c6529 | 1902 | color: #000000; |
613daf44 | 1903 | } |
319c6529 RK |
1904 | |
1905 | .tab-throbber, | |
1906 | .tab-icon-image { | |
1907 | width: 16px; | |
1908 | height: 16px; | |
dce90fef | 1909 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 1910 | -moz-image-region: auto; |
319c6529 | 1911 | -moz-margin-end: 3px; |
613daf44 | 1912 | } |
1913 | ||
319c6529 | 1914 | .tab-throbber { |
95f333af | 1915 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png"); |
613daf44 | 1916 | } |
319c6529 RK |
1917 | |
1918 | .tab-throbber[progress] { | |
95f333af | 1919 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png"); |
613daf44 | 1920 | } |
319c6529 | 1921 | |
319c6529 RK |
1922 | .tab-throbber[pinned], |
1923 | .tab-icon-image[pinned] { | |
1924 | -moz-margin-start: 2px; | |
1925 | -moz-margin-end: 2px; | |
613daf44 | 1926 | } |
319c6529 RK |
1927 | |
1928 | /* tabbrowser-tab focus ring */ | |
1929 | .tabbrowser-tab:focus > .tab-stack { | |
1930 | outline: 1px dotted; | |
613daf44 | 1931 | } |
319c6529 | 1932 | |
8ad8bf83 | 1933 | /* Tab DnD indicator */ |
319c6529 RK |
1934 | .tab-drop-indicator { |
1935 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); | |
9abeb12c | 1936 | margin-bottom: -11px; |
613daf44 | 1937 | } |
1938 | ||
319c6529 RK |
1939 | /* Tab close button */ |
1940 | .tab-close-button { | |
1941 | border: none; | |
1942 | padding: 0px; | |
57fc408c | 1943 | margin-top: 1px; |
319c6529 RK |
1944 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
1945 | } | |
acb0e9b8 | 1946 | |
319c6529 RK |
1947 | .tab-close-button:hover, |
1948 | .tab-close-button:hover[selected="true"] { | |
1949 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1950 | } |
319c6529 RK |
1951 | |
1952 | .tab-close-button:hover:active, | |
1953 | .tab-close-button:hover:active[selected="true"] { | |
1954 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1955 | } |
319c6529 | 1956 | |
319c6529 RK |
1957 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
1958 | ||
319c6529 RK |
1959 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
1960 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
319c6529 RK |
1961 | margin: 0; |
1962 | padding-top: 0; | |
1963 | padding-bottom: 0; | |
acb0e9b8 | 1964 | } |
319c6529 | 1965 | |
319c6529 RK |
1966 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
1967 | background-color: #008484; | |
acb0e9b8 | 1968 | } |
319c6529 RK |
1969 | |
1970 | .tabs-newtab-button > .toolbarbutton-icon { | |
1971 | margin-top: -1px; | |
1972 | margin-bottom: -1px; | |
acb0e9b8 | 1973 | } |
319c6529 RK |
1974 | |
1975 | .tabs-newtab-button, | |
1976 | #TabsToolbar > #new-tab-button, | |
1977 | #TabsToolbar > toolbarpaletteitem > #new-tab-button { | |
38cfeb47 | 1978 | list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); |
319c6529 | 1979 | -moz-image-region: rect(0, 16px, 18px, 0); |
acb0e9b8 | 1980 | } |
1981 | ||
319c6529 | 1982 | .tabs-newtab-button { |
c1f7cc84 RK |
1983 | width: 28px; |
1984 | } | |
1985 | ||
1986 | #TabsToolbar > #new-tab-button { | |
1987 | width: 26px; | |
acb0e9b8 | 1988 | } |
319c6529 | 1989 | |
8b5fc82e | 1990 | .tabs-newtab-button, |
38cfeb47 RK |
1991 | .tabs-newtab-button:hover, |
1992 | #TabsToolbar > #new-tab-button:hover { | |
319c6529 | 1993 | -moz-image-region: rect(0, 32px, 18px, 16px); |
acb0e9b8 | 1994 | } |
319c6529 RK |
1995 | |
1996 | #alltabs-button { | |
8da9da4e | 1997 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
acb0e9b8 | 1998 | } |
1999 | ||
f9fc08c7 | 2000 | #alltabs-button > .toolbarbutton-menu-dropmarker { |
319c6529 | 2001 | display: none; |
acb0e9b8 | 2002 | } |
319c6529 | 2003 | |
f9fc08c7 RK |
2004 | #alltabs-button:hover, |
2005 | #alltabs-button:hover:active, | |
2006 | #alltabs-button[open="true"] { | |
8da9da4e | 2007 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
acb0e9b8 | 2008 | } |
319c6529 RK |
2009 | |
2010 | /* All tabs menupopup */ | |
2011 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
dce90fef | 2012 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 2013 | -moz-image-region: auto; |
acb0e9b8 | 2014 | } |
2015 | ||
319c6529 RK |
2016 | .alltabs-item[selected="true"] { |
2017 | font-weight: bold; | |
acb0e9b8 | 2018 | } |
319c6529 RK |
2019 | |
2020 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
2021 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 2022 | } |
319c6529 | 2023 | |
85cfb236 | 2024 | .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) { |
b1234db8 RK |
2025 | background-color: #402800; |
2026 | } | |
2027 | ||
319c6529 RK |
2028 | /* Tabstrip close button */ |
2029 | .tabs-closebutton { | |
2030 | -moz-box-flex: 1; | |
2031 | margin: 0px; | |
2032 | padding: 2px; | |
2033 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
acb0e9b8 | 2034 | } |
2035 | ||
b36fc72e RK |
2036 | .tabs-closebutton > .toolbarbutton-icon { |
2037 | } | |
2038 | ||
8da9da4e RK |
2039 | .tabs-closebutton > .toolbarbutton-text { |
2040 | display: none; | |
2041 | } | |
2042 | ||
319c6529 RK |
2043 | .tabs-closebutton:hover, |
2044 | .tabs-closebutton:hover:active { | |
2045 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 2046 | } |
319c6529 RK |
2047 | |
2048 | toolbarbutton.chevron { | |
2049 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
acb0e9b8 | 2050 | } |
319c6529 RK |
2051 | |
2052 | toolbarbutton.chevron:hover { | |
2053 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; | |
acb0e9b8 | 2054 | } |
2055 | ||
319c6529 RK |
2056 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
2057 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { | |
71a617ff | 2058 | transform: scaleX(-1); |
acb0e9b8 | 2059 | } |
319c6529 RK |
2060 | |
2061 | toolbarbutton.chevron > .toolbarbutton-text, | |
2062 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
2063 | display: none; | |
acb0e9b8 | 2064 | } |
319c6529 RK |
2065 | |
2066 | toolbarbutton.chevron > .toolbarbutton-icon { | |
2067 | margin: 0; | |
acb0e9b8 | 2068 | } |
2069 | ||
319c6529 RK |
2070 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { |
2071 | display: -moz-box; /* display chevron icon in text mode */ | |
acb0e9b8 | 2072 | } |
319c6529 RK |
2073 | |
2074 | #sidebar-throbber[loading="true"] { | |
2075 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
2076 | -moz-margin-end: 4px; | |
acb0e9b8 | 2077 | } |
319c6529 RK |
2078 | |
2079 | /* Bookmarks toolbar */ | |
2080 | #PlacesToolbarDropIndicator { | |
8da9da4e | 2081 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
acb0e9b8 | 2082 | } |
2083 | ||
319c6529 RK |
2084 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
2085 | background-color: #008484 !important; | |
2086 | color: #FFCF00 !important; | |
613daf44 | 2087 | } |
319c6529 RK |
2088 | |
2089 | /* rules for menupopup drop indicators */ | |
2090 | .menupopup-drop-indicator-bar { | |
2091 | position: relative; | |
2092 | /* these two margins must together compensate the indicator's height */ | |
2093 | margin-top: -1px; | |
2094 | margin-bottom: -1px; | |
613daf44 | 2095 | } |
319c6529 RK |
2096 | |
2097 | .menupopup-drop-indicator { | |
2098 | list-style-image: none; | |
2099 | height: 2px; | |
2100 | -moz-margin-end: -4em; | |
2101 | background-color: #008484; | |
613daf44 | 2102 | } |
2103 | ||
319c6529 RK |
2104 | /* ::::: Identity Indicator Styling ::::: */ |
2105 | ||
2106 | /* Popup Icons */ | |
2107 | #identity-popup-icon { | |
2108 | height: 64px; | |
2109 | width: 64px; | |
2110 | padding: 0; | |
2111 | list-style-image: url("chrome://browser/skin/identity.png"); | |
2112 | -moz-image-region: rect(0px, 64px, 64px, 0px); | |
613daf44 | 2113 | } |
319c6529 RK |
2114 | |
2115 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { | |
2116 | -moz-image-region: rect(64px, 64px, 128px, 0px); | |
613daf44 | 2117 | } |
319c6529 RK |
2118 | |
2119 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { | |
2120 | -moz-image-region: rect(128px, 64px, 192px, 0px); | |
613daf44 | 2121 | } |
2122 | ||
319c6529 RK |
2123 | /* Popup Body Text */ |
2124 | .identity-popup-description { | |
2125 | white-space: pre-wrap; | |
2126 | -moz-padding-start: 15px; | |
2127 | margin: 2px 0 4px; | |
613daf44 | 2128 | } |
319c6529 RK |
2129 | |
2130 | .identity-popup-label { | |
2131 | white-space: pre-wrap; | |
2132 | -moz-padding-start: 15px; | |
2133 | margin: 0; | |
613daf44 | 2134 | } |
319c6529 | 2135 | |
5517da5a | 2136 | #identity-popup-content-host, |
319c6529 RK |
2137 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { |
2138 | font-size: 1.2em; | |
613daf44 | 2139 | } |
2140 | ||
319c6529 RK |
2141 | #identity-popup-content-host { |
2142 | margin-top: 3px; | |
2143 | margin-bottom: 5px; | |
2144 | font-weight: bold; | |
2145 | max-width: 300px; | |
2146 | } | |
613daf44 | 2147 | |
319c6529 RK |
2148 | #identity-popup-content-owner { |
2149 | margin-top: 4px; | |
2150 | margin-bottom: 0 !important; | |
2151 | font-weight: bold; | |
2152 | max-width: 300px; | |
2153 | } | |
613daf44 | 2154 | |
319c6529 RK |
2155 | .verifiedDomain > #identity-popup-content-owner { |
2156 | font-weight: normal; | |
613daf44 | 2157 | } |
2158 | ||
319c6529 RK |
2159 | #identity-popup-content-verifier { |
2160 | margin: 4px 0 2px; | |
613daf44 | 2161 | } |
2162 | ||
319c6529 RK |
2163 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
2164 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { | |
2165 | margin-top: 10px; | |
2166 | -moz-margin-start: -24px; | |
613daf44 | 2167 | } |
2168 | ||
319c6529 RK |
2169 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
2170 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { | |
2171 | list-style-image: url("chrome://browser/skin/Secure24.png"); | |
613daf44 | 2172 | } |
2173 | ||
319c6529 RK |
2174 | #identity-popup-more-info-button { |
2175 | margin-top: 6px; | |
2176 | margin-bottom: 0; | |
2177 | -moz-margin-end: 0; | |
613daf44 | 2178 | } |
acb0e9b8 | 2179 | |
319c6529 RK |
2180 | .popup-notification-icon { |
2181 | width: 64px; | |
2182 | height: 64px; | |
2183 | -moz-margin-end: 10px; | |
2184 | } | |
acb0e9b8 | 2185 | |
319c6529 RK |
2186 | .popup-notification-icon[popupid="geolocation"] { |
2187 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); | |
acb0e9b8 | 2188 | } |
2189 | ||
319c6529 RK |
2190 | .popup-notification-icon[popupid="xpinstall-disabled"], |
2191 | .popup-notification-icon[popupid="addon-progress"], | |
2192 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
2193 | .popup-notification-icon[popupid="addon-install-blocked"], | |
2194 | .popup-notification-icon[popupid="addon-install-failed"], | |
a40f6a79 | 2195 | .popup-notification-icon[popupid="addon-install-complete"] { |
319c6529 RK |
2196 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
2197 | width: 32px; | |
2198 | height: 32px; | |
acb0e9b8 | 2199 | } |
319c6529 | 2200 | |
a40f6a79 | 2201 | .popup-notification-icon[popupid="click-to-play-plugins"] { |
fcfb76ce | 2202 | list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); |
a40f6a79 RK |
2203 | } |
2204 | ||
a6757852 RK |
2205 | .popup-notification-icon[popupid="plugins-not-found"] { |
2206 | list-style-image: url("chrome://browser/skin/pluginInstall-64.png"); | |
2207 | } | |
2208 | ||
82b4252f RK |
2209 | .popup-notification-icon[popupid="web-notifications"] { |
2210 | list-style-image: url("chrome://browser/skin/notification-64.png"); | |
2211 | } | |
2212 | ||
319c6529 RK |
2213 | .addon-progress-description { |
2214 | width: 350px; | |
2215 | max-width: 350px; | |
acb0e9b8 | 2216 | } |
319c6529 RK |
2217 | |
2218 | .popup-progress-label, | |
2219 | .popup-progress-meter { | |
2220 | -moz-margin-start: 0; | |
2221 | -moz-margin-end: 0; | |
acb0e9b8 | 2222 | } |
319c6529 RK |
2223 | |
2224 | .popup-progress-cancel { | |
2225 | -moz-appearance: none; | |
2226 | background: transparent; | |
2227 | border: none; | |
2228 | padding: 0; | |
2229 | margin: 0; | |
2230 | min-height: 0; | |
2231 | min-width: 0; | |
2232 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); | |
2233 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
acb0e9b8 | 2234 | } |
319c6529 RK |
2235 | |
2236 | .popup-progress-cancel:hover { | |
2237 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
acb0e9b8 | 2238 | } |
2239 | ||
319c6529 RK |
2240 | .popup-progress-cancel:active { |
2241 | -moz-image-region: rect(32px, 32px, 48px, 16px); | |
2242 | } | |
acb0e9b8 | 2243 | |
319c6529 | 2244 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
a6757852 | 2245 | .popup-notification-icon[popupid="indexedDB-quota-prompt"], |
e2734cc7 RK |
2246 | .popup-notification-icon[popupid*="offline-app-requested"], |
2247 | .popup-notification-icon[popupid="offline-app-usage"] { | |
319c6529 | 2248 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
acb0e9b8 | 2249 | } |
2250 | ||
319c6529 RK |
2251 | .popup-notification-icon[popupid="password-save"], |
2252 | .popup-notification-icon[popupid="password-change"] { | |
2253 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
acb0e9b8 | 2254 | } |
2255 | ||
8d7ef0d9 RK |
2256 | .popup-notification-icon[popupid="webapps-install"] { |
2257 | list-style-image: url("chrome://browser/skin/webapps-64.png"); | |
2258 | } | |
2259 | ||
56ab361a RK |
2260 | .popup-notification-icon[popupid="mixed-content-blocked"] { |
2261 | list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png"); | |
2262 | } | |
2263 | ||
0142a07b | 2264 | .popup-notification-icon[popupid="webRTC-sharingDevices"], |
7bc075b6 RK |
2265 | .popup-notification-icon[popupid="webRTC-shareDevices"] { |
2266 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); | |
2267 | } | |
2268 | ||
82b4252f RK |
2269 | .popup-notification-icon[popupid="pointerLock"] { |
2270 | list-style-image: url("chrome://browser/skin/pointerLock-64.png"); | |
2271 | } | |
2272 | ||
319c6529 RK |
2273 | /* Notification icon box */ |
2274 | #notification-popup-box { | |
f993773d RK |
2275 | position: relative; |
2276 | background-color: #000000; | |
2277 | background-clip: padding-box; | |
2278 | padding-left: 3px; | |
5517da5a | 2279 | padding-right: 8px; |
f0eab82c | 2280 | border-radius: 3px 0 0 3px; |
82b4252f | 2281 | border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
f993773d | 2282 | -moz-margin-end: -8px; |
5517da5a | 2283 | border-right-width: 8px; |
f993773d RK |
2284 | } |
2285 | ||
8ad8bf83 RK |
2286 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
2287 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2288 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box { |
5517da5a | 2289 | /* padding-left: 5px; */ |
f993773d RK |
2290 | } |
2291 | ||
2292 | #notification-popup-box:-moz-locale-dir(rtl), | |
2293 | .notification-anchor-icon:-moz-locale-dir(rtl) { | |
71a617ff | 2294 | transform: scaleX(-1); |
319c6529 | 2295 | } |
acb0e9b8 | 2296 | |
319c6529 | 2297 | .notification-anchor-icon { |
acb0e9b8 | 2298 | width: 16px; |
2299 | height: 16px; | |
85cfb236 | 2300 | margin: 0 2px; |
acb0e9b8 | 2301 | } |
2302 | ||
319c6529 | 2303 | .notification-anchor-icon:-moz-focusring { |
f0eab82c RK |
2304 | outline: 1px dotted #008484; |
2305 | /* outline-offset: -3px; */ | |
acb0e9b8 | 2306 | } |
2307 | ||
e2734cc7 | 2308 | .default-notification-icon, |
ab799a7a RK |
2309 | #default-notification-icon { |
2310 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
2311 | } | |
2312 | ||
e2734cc7 | 2313 | .identity-notification-icon, |
9585a561 RK |
2314 | #identity-notification-icon { |
2315 | list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); | |
2316 | } | |
2317 | ||
e2734cc7 | 2318 | .geo-notification-icon, |
319c6529 RK |
2319 | #geo-notification-icon { |
2320 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); | |
acb0e9b8 | 2321 | } |
2322 | ||
319c6529 RK |
2323 | #addons-notification-icon { |
2324 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
acb0e9b8 | 2325 | } |
2326 | ||
e2734cc7 | 2327 | .indexedDB-notification-icon, |
319c6529 RK |
2328 | #indexedDB-notification-icon { |
2329 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
acb0e9b8 | 2330 | } |
2331 | ||
319c6529 RK |
2332 | #password-notification-icon { |
2333 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
acb0e9b8 | 2334 | } |
2335 | ||
8d7ef0d9 RK |
2336 | #webapps-notification-icon { |
2337 | list-style-image: url("chrome://browser/skin/webapps-16.png"); | |
2338 | } | |
2339 | ||
a40f6a79 | 2340 | #plugins-notification-icon { |
b27cc46e RK |
2341 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); |
2342 | } | |
2343 | ||
2344 | #alert-plugins-notification-icon { | |
2345 | list-style-image: url("chrome://browser/skin/notification-pluginAlert.png"); | |
a40f6a79 RK |
2346 | } |
2347 | ||
990cba4b | 2348 | #blocked-plugins-notification-icon { |
b27cc46e | 2349 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); |
990cba4b RK |
2350 | } |
2351 | ||
a6757852 RK |
2352 | #plugin-install-notification-icon { |
2353 | list-style-image: url("chrome://browser/skin/pluginInstall-16.png"); | |
2354 | } | |
2355 | ||
6adbc9a6 RK |
2356 | #notification-popup-box[hidden] { |
2357 | /* Override display:none to make the pluginBlockedNotification animation work | |
2358 | when showing the notification repeatedly. */ | |
2359 | display: -moz-box; | |
2360 | visibility: collapse; | |
2361 | } | |
2362 | ||
990cba4b RK |
2363 | #blocked-plugins-notification-icon[showing] { |
2364 | animation: pluginBlockedNotification 500ms ease 0s 5 alternate both; | |
2365 | } | |
2366 | ||
2367 | @keyframes pluginBlockedNotification { | |
2368 | from { | |
2369 | opacity: 0; | |
2370 | } | |
2371 | to { | |
2372 | opacity: 1; | |
2373 | } | |
2374 | } | |
2375 | ||
e2734cc7 | 2376 | .mixed-content-blocked-notification-icon, |
56ab361a RK |
2377 | #mixed-content-blocked-notification-icon { |
2378 | list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png"); | |
2379 | } | |
2380 | ||
e2734cc7 | 2381 | .webRTC-shareDevices-notification-icon, |
0142a07b | 2382 | #webRTC-shareDevices-notification-icon { |
7bc075b6 RK |
2383 | list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); |
2384 | } | |
2385 | ||
e2734cc7 | 2386 | .webRTC-sharingDevices-notification-icon, |
6adbc9a6 RK |
2387 | #webRTC-sharingDevices-notification-icon { |
2388 | list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); | |
2389 | } | |
2390 | ||
e2734cc7 | 2391 | .web-notifications-notification-icon, |
82b4252f RK |
2392 | #web-notifications-notification-icon { |
2393 | list-style-image: url("chrome://browser/skin/notification-16.png"); | |
2394 | } | |
2395 | ||
2396 | #pointerLock-notification-icon { | |
2397 | list-style-image: url("chrome://browser/skin/pointerLock-16.png"); | |
2398 | } | |
2399 | #pointerLock-cancel { | |
2400 | margin: 0px; | |
2401 | } | |
2402 | ||
319c6529 RK |
2403 | #identity-popup-container { |
2404 | min-width: 280px; | |
2405 | } | |
acb0e9b8 | 2406 | |
319c6529 | 2407 | #download-monitor { |
a736ce46 | 2408 | list-style-image: url("chrome://browser/skin/FxToolbar.png"); |
319c6529 | 2409 | -moz-image-region: rect(0, 108px, 18px, 90px); |
acb0e9b8 | 2410 | } |
2411 | ||
319c6529 RK |
2412 | /* Bookmarks roots menu-items */ |
2413 | #appmenu_subscribeToPage:not([disabled]), | |
2414 | #appmenu_subscribeToPageMenu, | |
2415 | #subscribeToPageMenuitem:not([disabled]), | |
2416 | #subscribeToPageMenupopup, | |
2417 | #BMB_subscribeToPageMenuitem:not([disabled]), | |
2418 | #BMB_subscribeToPageMenupopup { | |
2419 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); | |
613daf44 | 2420 | } |
2421 | ||
319c6529 RK |
2422 | #bookmarksToolbarFolderMenu, |
2423 | #appmenu_bookmarksToolbar, | |
2424 | #BMB_bookmarksToolbar { | |
8da9da4e | 2425 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
319c6529 RK |
2426 | -moz-image-region: auto; |
2427 | } | |
acb0e9b8 | 2428 | |
319c6529 RK |
2429 | #appmenu_unsortedBookmarks, |
2430 | #BMB_unsortedBookmarks { | |
8da9da4e | 2431 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
319c6529 | 2432 | -moz-image-region: auto; |
acb0e9b8 | 2433 | } |
2434 | ||
319c6529 | 2435 | /* ::::: Keyboard UI Panel ::::: */ |
acb0e9b8 | 2436 | |
319c6529 RK |
2437 | .KUI-panel { |
2438 | color: #FF9F00; | |
2439 | border-style: none; | |
2440 | border-radius: 20px; | |
acb0e9b8 | 2441 | } |
2442 | ||
319c6529 RK |
2443 | .KUI-panel[level="top"] { |
2444 | /*background-color: rgba(27%,27%,27%,.65);*/ | |
acb0e9b8 | 2445 | } |
2446 | ||
319c6529 RK |
2447 | /* Ctrl-Tab */ |
2448 | ||
2449 | #ctrlTab-panel { | |
2450 | padding: 20px 10px 10px; | |
2451 | font-weight: bold; | |
acb0e9b8 | 2452 | } |
2453 | ||
319c6529 RK |
2454 | .ctrlTab-favicon[src] { |
2455 | background-color: #000000; | |
2456 | width: 20px; | |
2457 | height: 20px; | |
2458 | padding: 2px; | |
2459 | } | |
acb0e9b8 | 2460 | |
319c6529 | 2461 | .ctrlTab-preview-inner > .tabPreview-canvas { |
acb0e9b8 | 2462 | } |
2463 | ||
319c6529 RK |
2464 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
2465 | margin-bottom: 2px; | |
acb0e9b8 | 2466 | } |
2467 | ||
319c6529 RK |
2468 | .ctrlTab-preview-inner { |
2469 | padding-bottom: 10px; | |
acb0e9b8 | 2470 | } |
2471 | ||
319c6529 RK |
2472 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
2473 | padding: 10px; | |
2474 | background-color: #000000; | |
2475 | border-radius: .5em; | |
acb0e9b8 | 2476 | } |
2477 | ||
319c6529 RK |
2478 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
2479 | color: white; | |
2480 | background-color: #000000; | |
2481 | text-shadow: none; | |
2482 | padding: 8px; | |
2483 | border: 2px solid #9C9CFF; | |
2484 | border-radius: .5em; | |
acb0e9b8 | 2485 | } |
2486 | ||
319c6529 RK |
2487 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
2488 | margin: -10px -10px 0; | |
acb0e9b8 | 2489 | } |
2490 | ||
319c6529 RK |
2491 | #ctrlTab-showAll { |
2492 | margin-top: .5em; | |
acb0e9b8 | 2493 | } |
2494 | ||
b36fc72e RK |
2495 | /* Add-on bar */ |
2496 | ||
2497 | #addon-bar { | |
2498 | min-height: 20px; | |
2499 | border-top: 3px solid #000000; | |
3e6e0e5c | 2500 | border-bottom-width: 0; |
b36fc72e RK |
2501 | } |
2502 | ||
2503 | #addon-bar .toolbar-holder { | |
2504 | background-color: #8050B0; | |
2505 | color: #FFCF00; | |
2506 | } | |
2507 | ||
2508 | #addon-bar .toolbar-holder { | |
2509 | background-color: #8050B0; | |
2510 | color: #FFCF00; | |
2511 | } | |
2512 | ||
2513 | #addon-bar .toolbar-startcap, | |
2514 | #addon-bar .toolbar-endcap{ | |
2515 | background-color: #6000CF; | |
2516 | } | |
2517 | ||
319c6529 | 2518 | #status-bar { |
b36fc72e | 2519 | -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar"); |
319c6529 RK |
2520 | margin-top: .3em; |
2521 | border-width: 0; | |
613daf44 | 2522 | } |
2523 | ||
e0c47e26 RK |
2524 | #addon-bar[customizing] > #status-bar { |
2525 | opacity: .5; | |
2526 | /* background-image: -moz-repeating-linear-gradient(-45deg, | |
2527 | rgba(255,255,255,.3), rgba(255,255,255,.3) 5px, | |
2528 | rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/ | |
2529 | } | |
2530 | ||
319c6529 RK |
2531 | /* Remove all borders from statusbarpanel children of |
2532 | the statusbar. | |
2533 | #status-bar > statusbarpanel { | |
2534 | border-width: 0; | |
2535 | } */ | |
2536 | ||
319c6529 RK |
2537 | #addonbar-closebutton { |
2538 | border: none; | |
2539 | padding: 3px 5px; | |
2540 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
613daf44 | 2541 | } |
2542 | ||
319c6529 RK |
2543 | #addonbar-closebutton:hover, |
2544 | #addonbar-closebutton:hover:active { | |
2545 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
613daf44 | 2546 | } |
9abeb12c RK |
2547 | |
2548 | /* Status panel */ | |
2549 | ||
2550 | .statuspanel-label { | |
2551 | margin: 0; | |
2552 | padding: 2px 4px; | |
38cfeb47 | 2553 | background: #404000; |
9abeb12c RK |
2554 | border: 1px none #9C9CFF; |
2555 | border-top-style: solid; | |
2556 | color: #FF9F00; | |
2557 | text-shadow: none; | |
2558 | } | |
2559 | ||
2560 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), | |
2561 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { | |
2562 | border-right-style: solid; | |
2563 | border-top-right-radius: .3em; | |
2564 | margin-right: 1em; | |
2565 | } | |
2566 | ||
2567 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), | |
2568 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { | |
2569 | border-left-style: solid; | |
2570 | border-top-left-radius: .3em; | |
2571 | margin-left: 1em; | |
2572 | } | |
3e6e0e5c RK |
2573 | |
2574 | /* HACK to abolish devily color on main content */ | |
2575 | ||
2576 | #content { | |
2577 | background-color: transparent !important; | |
2578 | } | |
dce90fef RK |
2579 | |
2580 | /* Highlighter */ | |
2581 | ||
0142a07b | 2582 | .highlighter-outline { |
fcfb76ce RK |
2583 | box-shadow: 0 0 0 1px black; |
2584 | outline: 1px dashed white; | |
dce90fef RK |
2585 | } |
2586 | ||
0142a07b | 2587 | .highlighter-outline[locked] { |
fcfb76ce RK |
2588 | box-shadow: 0 0 0 1px rgba(0,0,0,0.3); |
2589 | outline-color: rgba(255,255,255,0.7); | |
dce90fef | 2590 | } |
4c765db1 | 2591 | |
8ad8bf83 RK |
2592 | /* Highlighter - Node Infobar */ |
2593 | ||
0142a07b | 2594 | .highlighter-nodeinfobar { |
a40f6a79 RK |
2595 | color: #FF9F00; |
2596 | border: 1px solid rgba(156, 156, 255, .5); | |
2597 | border-radius: 3px; | |
2598 | background-color: #000000; | |
2599 | background-clip: padding-box; | |
2600 | } | |
2601 | ||
8ad8bf83 RK |
2602 | /* Highlighter - Node Infobar - text */ |
2603 | ||
0142a07b | 2604 | .highlighter-nodeinfobar-text { |
a40f6a79 | 2605 | /* 100% - size of the buttons and margins */ |
c29b709d | 2606 | max-width: calc(100% - 2 * (26px + 6px)); |
a40f6a79 RK |
2607 | padding-bottom: 1px; |
2608 | } | |
2609 | ||
0142a07b | 2610 | html|*.highlighter-nodeinfobar-tagname { |
8ad8bf83 RK |
2611 | color: #FFCF00; |
2612 | } | |
2613 | ||
0142a07b | 2614 | html|*.highlighter-nodeinfobar-id { |
8ad8bf83 RK |
2615 | color: #9C9CFF; |
2616 | } | |
2617 | ||
0142a07b | 2618 | html|*.highlighter-nodeinfobar-pseudo-classes { |
eec397be | 2619 | color: #FF9F00; |
8ad8bf83 RK |
2620 | } |
2621 | ||
a40f6a79 RK |
2622 | /* Highlighter - Node Infobar - buttons */ |
2623 | ||
2624 | .highlighter-nodeinfobar-button { | |
2625 | padding: 0; | |
2626 | width: 26px; | |
2627 | min-height: 26px; | |
2628 | } | |
2629 | ||
0142a07b | 2630 | .highlighter-nodeinfobar-inspectbutton { |
a40f6a79 RK |
2631 | list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); |
2632 | -moz-image-region: rect(0px 16px 16px 0px); | |
2633 | -moz-margin-start: 0px; | |
2634 | -moz-margin-end: 2px; | |
2635 | } | |
2636 | ||
0142a07b | 2637 | .highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) { |
a40f6a79 RK |
2638 | } |
2639 | ||
0142a07b RK |
2640 | .highlighter-nodeinfobar-inspectbutton:hover, |
2641 | .highlighter-nodeinfobar-inspectbutton:hover:active/*, | |
2642 | .highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton*/ { | |
a40f6a79 RK |
2643 | -moz-image-region: rect(0px 32px 16px 16px); |
2644 | } | |
2645 | ||
0142a07b | 2646 | .highlighter-nodeinfobar-menu { |
a40f6a79 RK |
2647 | } |
2648 | ||
0142a07b | 2649 | .highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) { |
a40f6a79 RK |
2650 | } |
2651 | ||
0142a07b | 2652 | .highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker { |
a40f6a79 RK |
2653 | -moz-box-align: center; |
2654 | -moz-margin-start: -1px; | |
2655 | } | |
2656 | ||
2657 | /* Highlighter - Node Infobar - box & arrow */ | |
2658 | ||
8ad8bf83 RK |
2659 | .highlighter-nodeinfobar-arrow { |
2660 | width: 14px; | |
2661 | height: 14px; | |
c29b709d | 2662 | -moz-margin-start: calc(50% - 7px); |
71a617ff | 2663 | transform: rotate(-45deg); |
8ad8bf83 RK |
2664 | border: 1px solid transparent; |
2665 | background-clip: padding-box; | |
2666 | background-repeat: no-repeat; | |
2667 | } | |
2668 | ||
0142a07b | 2669 | .highlighter-nodeinfobar-arrow-top { |
8ad8bf83 RK |
2670 | margin-bottom: -8px; |
2671 | margin-top: 8px; | |
2672 | border-right-color: rgba(0, 132, 132, .5); | |
2673 | border-top-color: rgba(0, 132, 132, .5); | |
0142a07b | 2674 | background-image: linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
2675 | } |
2676 | ||
0142a07b | 2677 | .highlighter-nodeinfobar-arrow-bottom { |
8ad8bf83 RK |
2678 | margin-top: -8px; |
2679 | margin-bottom: 8px; | |
2680 | border-left-color: rgba(0, 132, 132, .5); | |
2681 | border-bottom-color: rgba(0, 132, 132, .5); | |
0142a07b | 2682 | background-image: linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%); |
8ad8bf83 RK |
2683 | } |
2684 | ||
0142a07b RK |
2685 | .highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar, |
2686 | .highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar { | |
8ad8bf83 RK |
2687 | box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset; |
2688 | } | |
2689 | ||
0142a07b | 2690 | .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { |
8ad8bf83 RK |
2691 | margin: 7px 0; |
2692 | } | |
2693 | ||
2694 | #full-screen-warning-message { | |
2695 | background-color: #000000; | |
2696 | color: #FF9F00; | |
8ad8bf83 RK |
2697 | border-radius: 8px; |
2698 | margin-top: 30px; | |
2699 | padding: 30px 50px; | |
2700 | box-shadow: 0 0 2px #9C9CFF; | |
2701 | } | |
2702 | ||
2703 | #full-screen-warning-container[obscure-browser] { | |
85cfb236 RK |
2704 | background-color: rgba(0,0,0,0.3); |
2705 | } | |
2706 | ||
2707 | .full-screen-description { | |
2708 | font-size: 150%; | |
2709 | } | |
2710 | ||
2711 | #full-screen-domain-text { | |
2712 | font-size: 300%; | |
8ad8bf83 RK |
2713 | } |
2714 | ||
85cfb236 RK |
2715 | .full-screen-approval-button, |
2716 | #full-screen-remember-decision { | |
2717 | font-size: 120%; | |
8ad8bf83 RK |
2718 | } |
2719 | ||
b27cc46e RK |
2720 | /* === BEGIN commandline.inc.css === */ |
2721 | ||
2722 | /* Developer toolbar */ | |
2723 | ||
2724 | #developer-toolbar { | |
2725 | border-top: 3px solid #000000; | |
2726 | border-bottom: none; | |
2727 | } | |
2728 | ||
2729 | #developer-toolbar .toolbar-holder { | |
2730 | background-color: #8050B0; | |
2731 | color: #FFCF00; | |
2732 | } | |
2733 | ||
2734 | #developer-toolbar .toolbar-holder { | |
2735 | background-color: #8050B0; | |
2736 | color: #FFCF00; | |
2737 | } | |
2738 | ||
2739 | #developer-toolbar .toolbar-startcap, | |
2740 | #developer-toolbar .toolbar-endcap{ | |
2741 | background-color: #6000CF; | |
2742 | } | |
2743 | ||
2744 | #developer-toolbar { | |
2745 | /* padding: 0; | |
2746 | min-height: 32px; */ | |
2747 | } | |
2748 | ||
2749 | .developer-toolbar-button { | |
2750 | /* margin: 0; | |
2751 | padding: 0 10px; | |
2752 | width: 32px; */ | |
2753 | } | |
2754 | ||
2755 | .developer-toolbar-button > image { | |
2756 | /* margin: auto 10px; */ | |
2757 | } | |
2758 | ||
2759 | #developer-toolbar-toolbox-button { | |
2760 | list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png"); | |
2761 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
2762 | } | |
2763 | ||
2764 | #developer-toolbar-toolbox-button > label { | |
2765 | display: none; | |
2766 | } | |
2767 | ||
2768 | #developer-toolbar-toolbox-button:hover, | |
2769 | #developer-toolbar-toolbox-button:hover:active, | |
2770 | #developer-toolbar-toolbox-button[checked=true] { | |
2771 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
2772 | } | |
2773 | ||
2774 | /* GCLI */ | |
2775 | ||
37953ab4 RK |
2776 | html|*#gcli-tooltip-frame, |
2777 | html|*#gcli-output-frame { | |
85cfb236 | 2778 | padding: 0; |
37953ab4 RK |
2779 | border-width: 0; |
2780 | background-color: transparent; | |
2781 | } | |
2782 | ||
2783 | #gcli-output, | |
2784 | #gcli-tooltip { | |
2785 | border-width: 0; | |
2786 | background-color: transparent; | |
85cfb236 RK |
2787 | } |
2788 | ||
2789 | .gclitoolbar-input-node, | |
b27cc46e | 2790 | .gclitoolbar-complete-node { |
37953ab4 RK |
2791 | margin: 1px 3px; |
2792 | -moz-box-align: center; | |
2793 | padding-top: 0; | |
2794 | padding-bottom: 0; | |
b27cc46e | 2795 | padding-right: 8px; |
37953ab4 | 2796 | background-color: transparent; |
85cfb236 RK |
2797 | } |
2798 | ||
2799 | .gclitoolbar-input-node { | |
37953ab4 | 2800 | padding-left: 20px; |
b27cc46e RK |
2801 | /* line-height: 32px; |
2802 | outline-style: none; */ | |
2803 | background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0); | |
2804 | } | |
2805 | ||
2806 | .gclitoolbar-input-node[focused="true"] { | |
2807 | background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); | |
37953ab4 RK |
2808 | } |
2809 | ||
2810 | .gclitoolbar-input-node:not([focused="true"]) { | |
2811 | border-color: transparent; | |
85cfb236 RK |
2812 | } |
2813 | ||
7bc075b6 RK |
2814 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { |
2815 | background-color: #008484; | |
2816 | color: #000000; | |
2817 | text-shadow: none; | |
2818 | } | |
2819 | ||
85cfb236 | 2820 | .gclitoolbar-complete-node { |
37953ab4 | 2821 | padding-left: 21px; |
85cfb236 RK |
2822 | background-color: transparent; |
2823 | color: transparent; | |
b27cc46e RK |
2824 | z-index: 100; |
2825 | pointer-events: none; | |
85cfb236 RK |
2826 | } |
2827 | ||
85cfb236 RK |
2828 | .gcli-in-incomplete, |
2829 | .gcli-in-error, | |
2830 | .gcli-in-ontab, | |
2831 | .gcli-in-todo, | |
2832 | .gcli-in-closebrace, | |
2833 | .gcli-in-param, | |
2834 | .gcli-in-valid { | |
2835 | margin: 0; | |
2836 | padding: 0; | |
2837 | } | |
2838 | ||
2839 | .gcli-in-incomplete { | |
2840 | border-bottom: 2px dotted #8050B0; | |
2841 | } | |
2842 | ||
2843 | .gcli-in-error { | |
2844 | border-bottom: 2px dotted #FF0000; | |
2845 | } | |
2846 | ||
2847 | .gcli-in-ontab { | |
2848 | color: #9C9CFF; | |
2849 | } | |
2850 | ||
2851 | .gcli-in-todo { | |
2852 | color: #795900; | |
2853 | } | |
2854 | ||
2855 | .gcli-in-closebrace { | |
2856 | color: #8050B0; | |
2857 | } | |
2858 | ||
b27cc46e RK |
2859 | /* === END commandline.inc.css === */ |
2860 | ||
37953ab4 | 2861 | /* Responsive Mode */ |
85cfb236 | 2862 | |
7bc075b6 RK |
2863 | .browserContainer[responsivemode] { |
2864 | background: #221500 url("chrome://browser/skin/devtools/responsive-background.png"); | |
37953ab4 RK |
2865 | padding: 0 20px 20px 20px; |
2866 | } | |
2867 | ||
7bc075b6 | 2868 | .browserStack[responsivemode] { |
37953ab4 RK |
2869 | box-shadow: 0 0 7px #9C9CFF; |
2870 | } | |
2871 | ||
2872 | .devtools-responsiveui-toolbar { | |
2873 | background: transparent; | |
2874 | margin: 10px 0; | |
2875 | padding: 0; | |
2876 | box-shadow: none; | |
2877 | border-bottom-width: 0; | |
2878 | } | |
2879 | ||
2880 | .devtools-responsiveui-toolbar > menulist, | |
2881 | .devtools-responsiveui-toolbar > toolbarbutton { | |
2882 | min-width: 22px; | |
2883 | border-radius: 0; | |
2884 | } | |
2885 | ||
2886 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, | |
2887 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { | |
2888 | margin-left: 0; | |
2889 | } | |
2890 | ||
2891 | .devtools-responsiveui-resizebar { | |
2892 | width: 7px; | |
2893 | height: 24px; | |
2894 | cursor: ew-resize; | |
71a617ff | 2895 | transform: translate(12px, -12px); |
37953ab4 RK |
2896 | background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); |
2897 | } | |
2898 | ||
2899 | .devtools-responsiveui-resizehandle { | |
2900 | width: 16px; | |
2901 | height: 16px; | |
2902 | cursor: se-resize; | |
71a617ff | 2903 | transform: translate(12px, 12px); |
37953ab4 | 2904 | background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); |
8d7ef0d9 | 2905 | } |
889649fd | 2906 | |
889649fd RK |
2907 | /* Error counter */ |
2908 | ||
0142a07b | 2909 | #developer-toolbar-toolbox-button[error-count]:before { |
889649fd RK |
2910 | color: #000000; |
2911 | min-width: 16px; | |
2912 | text-shadow: none; | |
2913 | background-color: #FF0000; | |
2914 | border-radius: 1px; | |
c29b709d | 2915 | -moz-margin-end: 5px; |
c54ac991 | 2916 | } |
e9c73590 | 2917 | |
348c0499 | 2918 | /* Social toolbar item */ |
e9c73590 | 2919 | |
0142a07b RK |
2920 | #social-provider-button { |
2921 | -moz-image-region: rect(0, 16px, 16px, 0); | |
a6757852 | 2922 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
0142a07b RK |
2923 | } |
2924 | ||
348c0499 RK |
2925 | #social-provider-button > .toolbarbutton-menu-dropmarker { |
2926 | display: none; | |
e9c73590 RK |
2927 | } |
2928 | ||
82b4252f RK |
2929 | .toolbarbutton-badge-container { |
2930 | margin: 0; | |
2931 | padding: 0; | |
2932 | position: relative; | |
e9c73590 RK |
2933 | } |
2934 | ||
82b4252f | 2935 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container { |
ed1a91c6 | 2936 | padding: 2px 2px; |
82b4252f RK |
2937 | } |
2938 | ||
2939 | .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon { | |
2940 | position: absolute; | |
2941 | top: 2px; | |
2942 | right: 2px; | |
2943 | } | |
2944 | ||
2945 | .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { | |
2946 | -moz-margin-end: 0; | |
e9c73590 RK |
2947 | } |
2948 | ||
82b4252f RK |
2949 | .toolbarbutton-badge[badge=""] { |
2950 | display: none; | |
2951 | } | |
2952 | .toolbarbutton-badge[badge]:not([badge=""])::after { | |
6adbc9a6 | 2953 | /* The |content| property is set in the content stylesheet. */ |
348c0499 RK |
2954 | font-size: 9px; |
2955 | font-weight: bold; | |
2956 | padding: 0 1px; | |
2957 | color: #FF9F00; | |
2958 | background-color: #000000; | |
2959 | border: 1px solid #9C9CFF; | |
2960 | border-radius: 2px; | |
6adbc9a6 | 2961 | position: absolute; |
82b4252f RK |
2962 | top: 0; |
2963 | right: 0; | |
2964 | } | |
2965 | ||
2966 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after { | |
2967 | top: 1px; | |
2968 | right: 1px; | |
e9c73590 RK |
2969 | } |
2970 | ||
82b4252f RK |
2971 | .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
2972 | left: 0; | |
2973 | right: auto; | |
e9c73590 RK |
2974 | } |
2975 | ||
82b4252f RK |
2976 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { |
2977 | left: 1px; | |
6adbc9a6 | 2978 | right: auto; |
348c0499 RK |
2979 | } |
2980 | ||
2981 | #social-notification-icon-mentions { | |
e9c73590 | 2982 | background-color: #000000; |
348c0499 RK |
2983 | border-radius: 3px; |
2984 | -moz-margin-start: 2px; | |
e9c73590 RK |
2985 | } |
2986 | ||
348c0499 RK |
2987 | #social-notification-icon-mentions:hover { |
2988 | background-color: #FFCF00; | |
2989 | } | |
2990 | ||
2991 | #social-notification-icon-mentions[open="true"] { | |
2992 | background-color: #FF9F00; | |
e9c73590 RK |
2993 | } |
2994 | ||
2995 | #social-sidebar-splitter { | |
2996 | border: 0; | |
2997 | } | |
2998 | ||
ed1a91c6 RK |
2999 | .popup-notification-icon[popupid="servicesInstall"] { |
3000 | list-style-image: url("chrome://browser/skin/social/services-64.png"); | |
3001 | } | |
3002 | #servicesInstall-notification-icon { | |
3003 | list-style-image: url("chrome://browser/skin/social/services-16.png"); | |
3004 | } | |
3005 | #social-undoactivation-button, | |
3006 | #servicesInstall-learnmore-link { | |
3007 | -moz-margin-start: 0; /* override default label margin to match description margin */ | |
3008 | } | |
3009 | ||
3010 | #socialActivatedNotification .popup-notification-button-container { | |
3011 | margin-left: 6px; | |
3012 | } | |
3013 | ||
3014 | .social-activation-icon { | |
3015 | width: auto; | |
3016 | height: auto; | |
3017 | max-height: 64px; | |
3018 | max-width: 64px; | |
3019 | } | |
3020 | ||
3021 | #social-activation-message { | |
3022 | max-width: 250px; | |
3023 | } | |
3024 | ||
3025 | #social-activation-message > label { | |
3026 | margin: 0; | |
3027 | } | |
3028 | ||
e9c73590 | 3029 | /* social toolbar provider menu */ |
990cba4b | 3030 | .social-statusarea-popup { |
e9c73590 RK |
3031 | margin-top: 0; |
3032 | margin-left: -12px; | |
3033 | margin-right: -12px; | |
3034 | } | |
3035 | ||
990cba4b | 3036 | .social-statusarea-user { |
e9c73590 RK |
3037 | border-bottom: 1px solid #9C9CFF; |
3038 | background-color: #000000; | |
3039 | color: #FF9F00; | |
3040 | position: relative; | |
348c0499 | 3041 | cursor: pointer; |
e9c73590 RK |
3042 | } |
3043 | ||
990cba4b | 3044 | .social-statusarea-user-portrait { |
e9c73590 RK |
3045 | width: 32px; |
3046 | height: 32px; | |
3047 | border-radius: 2px; | |
3048 | margin: 10px; | |
e9c73590 RK |
3049 | } |
3050 | ||
990cba4b | 3051 | .social-statusarea-loggedInStatus { |
e9c73590 RK |
3052 | background: transparent; |
3053 | border: none; | |
b8384c33 | 3054 | color: #3333FF; |
e9c73590 RK |
3055 | min-width: 0; |
3056 | margin: 0 6px; | |
348c0499 | 3057 | list-style-image: none; |
e9c73590 | 3058 | } |
90a244b7 | 3059 | |
990cba4b | 3060 | #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus { |
e9c73590 RK |
3061 | text-decoration: underline; |
3062 | } | |
3063 | ||
348c0499 RK |
3064 | .social-panel > .panel-arrowcontainer > .panel-arrowcontent { |
3065 | padding: 0; | |
3066 | } | |
3067 | ||
348c0499 RK |
3068 | .social-panel-frame { |
3069 | border-radius: inherit; | |
3070 | } | |
e9c73590 RK |
3071 | |
3072 | .chat-status-icon { | |
3073 | max-height: 16px; | |
3074 | max-width: 16px; | |
3075 | padding: 0; | |
3076 | } | |
3077 | ||
3078 | .chat-toolbarbutton { | |
3079 | -moz-appearance: none; | |
3080 | border: none; | |
3081 | padding: 0; | |
3082 | margin: 0; | |
3083 | background: none; | |
b27cc46e | 3084 | width: 16px; |
e9c73590 RK |
3085 | } |
3086 | ||
3087 | .chat-toolbarbutton > .toolbarbutton-text { | |
3088 | display: none; | |
3089 | } | |
3090 | ||
b27cc46e RK |
3091 | .chat-toolbarbutton > .toolbarbutton-icon { |
3092 | width: inherit; | |
3093 | } | |
3094 | ||
e9c73590 | 3095 | .chat-close-button { |
e2734cc7 | 3096 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); |
b27cc46e | 3097 | -moz-image-region: rect(0, 16px, 16px, 0); |
e9c73590 RK |
3098 | } |
3099 | ||
3100 | .chat-close-button:hover, | |
3101 | .chat-close-button:hover:active { | |
b27cc46e | 3102 | -moz-image-region: rect(0, 32px, 16px, 16px); |
e9c73590 RK |
3103 | } |
3104 | ||
e2734cc7 RK |
3105 | .chat-minimize-button { |
3106 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 3107 | -moz-image-region: rect(16px, 16px, 32px, 0); |
e2734cc7 RK |
3108 | } |
3109 | ||
3110 | .chat-minimize-button:hover:active, | |
3111 | .chat-minimize-button:hover { | |
b27cc46e | 3112 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
e2734cc7 RK |
3113 | } |
3114 | ||
3115 | .chat-swap-button { | |
3116 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 3117 | -moz-image-region: rect(48px, 16px, 64px, 0); |
e2734cc7 RK |
3118 | } |
3119 | ||
3120 | .chat-swap-button:hover:active, | |
3121 | .chat-swap-button:hover { | |
b27cc46e | 3122 | -moz-image-region: rect(48px, 32px, 64px, 16px); |
e2734cc7 RK |
3123 | } |
3124 | ||
3125 | chatbar > chatbox > .chat-titlebar > .chat-swap-button { | |
3126 | list-style-image: url('chrome://browser/skin/social/chat-icons.png'); | |
b27cc46e | 3127 | -moz-image-region: rect(32px, 16px, 48px, 0); |
e2734cc7 RK |
3128 | } |
3129 | ||
3130 | chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active, | |
3131 | chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { | |
b27cc46e | 3132 | -moz-image-region: rect(32px, 32px, 48px, 16px); |
e2734cc7 RK |
3133 | } |
3134 | ||
e9c73590 RK |
3135 | .chat-title { |
3136 | font-weight: bold; | |
3137 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; | |
90a244b7 | 3138 | text-shadow: none; |
348c0499 | 3139 | cursor: inherit; |
e9c73590 RK |
3140 | } |
3141 | ||
3142 | .chat-titlebar { | |
3143 | background-color: #9C9CFF; | |
3144 | color: #000000; | |
3145 | height: 20px; | |
fcfb76ce | 3146 | min-height: 16px; |
e9c73590 RK |
3147 | width: 100%; |
3148 | margin: 0; | |
3149 | padding: 2px; | |
348c0499 | 3150 | -moz-padding-start: 6px; |
e9c73590 RK |
3151 | border: none; |
3152 | border-bottom: 1px solid #008484; | |
348c0499 | 3153 | cursor: pointer; |
e9c73590 RK |
3154 | } |
3155 | ||
e2734cc7 RK |
3156 | .chat-titlebar > .notification-anchor-icon { |
3157 | margin-left: 2px; | |
3158 | margin-right: 2px; | |
3159 | } | |
3160 | ||
e9c73590 RK |
3161 | .chat-titlebar[minimized="true"] { |
3162 | border-bottom: none; | |
3163 | } | |
3164 | ||
348c0499 RK |
3165 | .chat-titlebar[selected] { |
3166 | background-color: #008484; | |
3167 | } | |
3168 | ||
3169 | .chat-titlebar[activity] { | |
3170 | background-color: #E7ADE7; | |
3171 | } | |
3172 | ||
e9c73590 RK |
3173 | .chat-frame { |
3174 | padding: 0; | |
3175 | margin: 0; | |
3176 | overflow: hidden; | |
3177 | } | |
3178 | ||
3179 | .chatbar-button { | |
ed1a91c6 | 3180 | list-style-image: url("chrome://browser/skin/social/services-16.png"); |
e9c73590 RK |
3181 | background-color: #000000; |
3182 | border: none; | |
3183 | margin: 0; | |
3184 | padding: 2px; | |
3185 | height: 21px; | |
3186 | width: 21px; | |
3187 | border-top: 1px solid #008484; | |
3188 | -moz-border-end: 1px solid #008484; | |
3189 | } | |
3190 | ||
ed1a91c6 RK |
3191 | @media (min-resolution: 2dppx) { |
3192 | .chatbar-button { | |
3193 | list-style-image: url("chrome://browser/skin/social/services-16@2x.png"); | |
3194 | } | |
3195 | } | |
3196 | ||
d7cfd768 RK |
3197 | .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon { |
3198 | width: auto; | |
3199 | height: auto; | |
e9c73590 RK |
3200 | max-height: 16px; |
3201 | max-width: 16px; | |
e9c73590 RK |
3202 | } |
3203 | ||
90a244b7 RK |
3204 | .chatbar-button > .toolbarbutton-icon { |
3205 | opacity: .6; | |
3206 | -moz-margin-end: 0; | |
3207 | } | |
3208 | .chatbar-button:hover > .toolbarbutton-icon, | |
3209 | .chatbar-button[open="true"] > .toolbarbutton-icon { | |
3210 | opacity: 1; | |
3211 | } | |
3212 | ||
a6757852 | 3213 | .chatbar-button:hover, |
90a244b7 | 3214 | .chatbar-button[open="true"] { |
e9c73590 RK |
3215 | } |
3216 | ||
e9c73590 RK |
3217 | .chatbar-button > .toolbarbutton-text, |
3218 | .chatbar-button > .toolbarbutton-menu-dropmarker { | |
3219 | display: none; | |
3220 | } | |
3221 | ||
90a244b7 | 3222 | .chatbar-button[activity]:not([open="true"]) { |
348c0499 RK |
3223 | background-color: #E7ADE7; |
3224 | } | |
3225 | ||
3226 | .chatbar-button > menupopup > menuitem[activity] { | |
3227 | font-weight: bold; | |
3228 | } | |
3229 | ||
e9c73590 RK |
3230 | .chatbar-innerbox { |
3231 | background: transparent; | |
90a244b7 | 3232 | margin: -285px 0 0; |
e9c73590 RK |
3233 | overflow: hidden; |
3234 | } | |
3235 | ||
fcfb76ce RK |
3236 | chatbar { |
3237 | -moz-margin-end: 20px; | |
3238 | } | |
3239 | ||
e9c73590 | 3240 | chatbar > chatbox { |
fcfb76ce RK |
3241 | height: 285px; |
3242 | width: 260px; | |
3243 | -moz-margin-start: 4px; | |
e9c73590 RK |
3244 | background-color: #000000; |
3245 | border: 1px solid #9C9CFF; | |
3246 | border-bottom: none; | |
90a244b7 RK |
3247 | border-top-left-radius: 2.5px; |
3248 | border-top-right-radius: 2.5px; | |
e9c73590 RK |
3249 | } |
3250 | ||
fcfb76ce RK |
3251 | chatbox[minimized="true"] { |
3252 | width: 160px; | |
e9c73590 | 3253 | height: 20px; |
e9c73590 | 3254 | } |
348c0499 | 3255 | |
e2734cc7 RK |
3256 | window > chatbox { |
3257 | -moz-margin-start: 0px; | |
3258 | margin: 0px; | |
3259 | border: none; | |
3260 | padding: 0px; | |
3261 | } | |
3262 | ||
b27cc46e | 3263 | /* === BEGIN plugin-doorhanger.inc.css === */ |
348c0499 | 3264 | |
b27cc46e RK |
3265 | /** |
3266 | * Plugin Doorhanger Styles | |
3267 | */ | |
348c0499 | 3268 | |
b27cc46e | 3269 | #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { |
1e32332f | 3270 | padding: 6px 1px 2px; |
348c0499 RK |
3271 | } |
3272 | ||
b27cc46e RK |
3273 | .click-to-play-plugins-notification-content { |
3274 | width: 28em; | |
348c0499 RK |
3275 | } |
3276 | ||
3277 | .click-to-play-plugins-notification-center-box { | |
b27cc46e | 3278 | /* background-color: rgba(255,255,255,0.3); */ |
348c0499 RK |
3279 | } |
3280 | ||
b27cc46e | 3281 | .plugin-popupnotification-centeritem { |
1e32332f | 3282 | /* border-top: 1px solid #9C9CFF; */ |
348c0499 RK |
3283 | } |
3284 | ||
b27cc46e RK |
3285 | .center-item-label { |
3286 | margin-bottom: 0; | |
3287 | text-overflow: ellipsis; | |
348c0499 RK |
3288 | } |
3289 | ||
b27cc46e RK |
3290 | .center-item-warning-icon { |
3291 | background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); | |
348c0499 | 3292 | background-repeat: no-repeat; |
348c0499 | 3293 | width: 16px; |
b27cc46e RK |
3294 | height: 15px; |
3295 | -moz-margin-start: 6px; | |
348c0499 RK |
3296 | } |
3297 | ||
b27cc46e | 3298 | .click-to-play-plugins-notification-button-container { |
348c0499 RK |
3299 | } |
3300 | ||
b27cc46e RK |
3301 | .click-to-play-popup-button { |
3302 | width: 50%; | |
348c0499 RK |
3303 | } |
3304 | ||
b27cc46e | 3305 | .click-to-play-plugins-notification-description-box { |
1e32332f RK |
3306 | margin-left: 5px; |
3307 | margin-right: 5px; | |
3308 | margin-top: 0; | |
3309 | padding-bottom: 3px; | |
348c0499 RK |
3310 | } |
3311 | ||
b27cc46e | 3312 | .click-to-play-plugins-outer-description { |
1e32332f | 3313 | margin-top: 1px; |
348c0499 RK |
3314 | } |
3315 | ||
b27cc46e RK |
3316 | .click-to-play-plugins-notification-link, |
3317 | .center-item-link { | |
3318 | margin: 0; | |
348c0499 RK |
3319 | } |
3320 | ||
b27cc46e | 3321 | /* === END plugin-doorhanger.inc.css === */ |
0142a07b RK |
3322 | |
3323 | #main-window[privatebrowsingmode=temporary] #toolbar-menubar { | |
3324 | background-image: url("chrome://browser/skin/privatebrowsing-dark.png"); | |
3325 | background-position: top right; | |
3326 | background-repeat: no-repeat; | |
3327 | } | |
3328 | ||
3329 | #main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) { | |
3330 | background-position: top left; | |
3331 | } | |
3332 | ||
6adbc9a6 | 3333 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon { |
0142a07b | 3334 | list-style-image: url("chrome://browser/skin/privatebrowsing-light.png"); |
6adbc9a6 RK |
3335 | width: 20px; |
3336 | height: 16px; | |
0142a07b | 3337 | } |