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