Commit | Line | Data |
---|---|---|
acb0e9b8 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
319c6529 | 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
acb0e9b8 | 3 | * |
319c6529 RK |
4 | * The contents of this file are subject to the Mozilla Public License Version |
5 | * 1.1 (the "License"); you may not use this file except in compliance with | |
6 | * the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/MPL/ | |
acb0e9b8 | 8 | * |
9 | * Software distributed under the License is distributed on an "AS IS" basis, | |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
11 | * for the specific language governing rights and limitations under the | |
12 | * License. | |
13 | * | |
14 | * The Original Code is mozilla.org code. | |
15 | * | |
16 | * The Initial Developer of the Original Code is | |
17 | * Netscape Communications Corporation. | |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Joe Hewitt (hewitt@netscape.com) | |
23 | * Jason Kersey (kerz@netscape.com) | |
24 | * Pierre Chanial (chanial@noos.fr) | |
613daf44 | 25 | * Dean Tessman (dean_tessman@hotmail.com) |
319c6529 RK |
26 | * Blake Ross (blake@cs.stanford.edu) |
27 | * Pamela Greene (pamg.bugs@gmail.com) | |
28 | * Dão Gottwald (dao@mozilla.com) | |
29 | * Jim Mathies (jmathies@mozilla.com) | |
30 | * Drew Willcoxon (adw@mozilla.com) | |
8ad8bf83 | 31 | * Paul Rouget (paul@mozilla.com) |
e0c47e26 | 32 | * Rob Campbell (rcampbell@mozilla.com) |
acb0e9b8 | 33 | * |
34 | * Alternatively, the contents of this file may be used under the terms of | |
35 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
36 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
37 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
38 | * of those above. If you wish to allow use of your version of this file only | |
39 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
319c6529 | 40 | * use your version of this file under the terms of the MPL, indicate your |
acb0e9b8 | 41 | * decision by deleting the provisions above and replace them with the notice |
42 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
43 | * the provisions above, a recipient may use your version of this file under | |
319c6529 | 44 | * the terms of any one of the MPL, the GPL or the LGPL. |
acb0e9b8 | 45 | * |
46 | * ***** END LICENSE BLOCK ***** */ | |
47 | ||
48 | @import url("chrome://global/skin/"); | |
49 | ||
50 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
319c6529 RK |
51 | @namespace html url("http://www.w3.org/1999/xhtml"); |
52 | ||
53 | toolbar { | |
54 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); | |
55 | } | |
acb0e9b8 | 56 | |
41279e76 RK |
57 | toolbar[type="menubar"][autohide="true"] { |
58 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); | |
59 | } | |
60 | ||
acb0e9b8 | 61 | menubar { |
319c6529 | 62 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
acb0e9b8 | 63 | } |
64 | ||
319c6529 RK |
65 | #menubar-items { |
66 | -moz-box-orient: vertical; /* for flex hack */ | |
acb0e9b8 | 67 | } |
68 | ||
319c6529 RK |
69 | #main-menubar { |
70 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ | |
71 | } | |
72 | ||
63ada306 RK |
73 | /* ::::: primary toolbar ::::: */ |
74 | ||
75 | .toolbar-primary > .toolbar-box > .toolbar-holder { | |
76 | background-color: #FF9F00; | |
77 | } | |
78 | ||
79 | .toolbar-primary > .toolbar-box > .toolbar-startcap, | |
80 | .toolbar-primary > .toolbar-box > .toolbar-endcap { | |
81 | background-color: #9C9CFF; | |
82 | } | |
83 | ||
84 | ||
319c6529 RK |
85 | #navigator-toolbox { |
86 | } | |
87 | ||
9abeb12c RK |
88 | #navigator-toolbox::after { |
89 | content: ""; | |
90 | display: -moz-box; | |
91 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ | |
92 | height: 1px; | |
93 | } | |
94 | #navigator-toolbox[tabsontop=false]::after, | |
95 | #main-window[disablechrome] #navigator-toolbox::after { | |
96 | visibility: collapse; | |
97 | } | |
98 | ||
319c6529 RK |
99 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
100 | } | |
101 | ||
d54f5b23 | 102 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) { |
319c6529 RK |
103 | /* like menubar */ |
104 | background-color: #6000CF; | |
105 | color: #FF9F00; | |
106 | } | |
d54f5b23 | 107 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { |
319c6529 RK |
108 | background-color: #8050B0; |
109 | color: #FF9F00; | |
110 | } | |
111 | ||
112 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { | |
113 | visibility: hidden; | |
114 | } | |
115 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { | |
116 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); | |
117 | visibility: visible; | |
118 | } | |
119 | ||
319c6529 RK |
120 | #navigator-toolbox[tabsontop="true"] > #nav-bar, |
121 | #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar, | |
122 | #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar { | |
123 | /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ | |
124 | } | |
125 | ||
319c6529 | 126 | #personal-bookmarks { |
38cfeb47 | 127 | /* min-height: 24px; */ |
319c6529 RK |
128 | } |
129 | ||
130 | #print-preview-toolbar:not(:-moz-lwtheme) { | |
131 | /* -moz-appearance: toolbox; */ | |
acb0e9b8 | 132 | } |
133 | ||
319c6529 RK |
134 | /* ::::: app menu button ::::: */ |
135 | ||
136 | #appmenu-button { | |
acb0e9b8 | 137 | background-color: #FF9F00; |
319c6529 RK |
138 | background-clip: padding-box; |
139 | border-radius: 0; | |
140 | border: none; | |
319c6529 RK |
141 | border-right: 3px solid #000000; |
142 | color: #000000; | |
143 | font-weight: bold; | |
5305ef8d RK |
144 | padding: 1px 1.5em; |
145 | margin: 0; | |
146 | } | |
147 | ||
148 | #appmenu-button:-moz-locale-dir(rtl) { | |
149 | border-left: 3px solid #000000; | |
150 | border-right: none; | |
acb0e9b8 | 151 | } |
152 | ||
319c6529 RK |
153 | #main-window[privatebrowsingmode=temporary] #appmenu-button { |
154 | background-color: #6000CF; | |
155 | color: #FFCF00; | |
156 | } | |
157 | ||
b36fc72e RK |
158 | #appmenu-button:hover:not(:active):not([open]) { |
159 | } | |
160 | ||
161 | #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) { | |
162 | } | |
163 | ||
319c6529 RK |
164 | #appmenu-button:hover, |
165 | #appmenu-button:hover:active, | |
166 | #appmenu-button[open] { | |
167 | background-color: #FFCF00; | |
168 | color: #000000; | |
169 | } | |
170 | ||
171 | #appmenu-button > .button-box > .button-menu-dropmarker { | |
db6435b4 | 172 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
319c6529 RK |
173 | width: auto; |
174 | height: auto; | |
175 | padding: 0; | |
176 | margin: 0; | |
5305ef8d RK |
177 | border: none; |
178 | background-color: transparent; | |
319c6529 RK |
179 | -moz-margin-start: .5em; |
180 | } | |
181 | ||
db6435b4 RK |
182 | #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker { |
183 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
184 | } | |
185 | ||
38cfeb47 RK |
186 | #appmenuPrimaryPane > menuitem, |
187 | #appmenuSecondaryPane > menuitem, | |
188 | #appmenuPrimaryPane > menu { | |
189 | padding: 2px; | |
190 | } | |
191 | ||
d54f5b23 | 192 | .splitmenu-menuitem { |
38cfeb47 RK |
193 | -moz-padding-start: 2px; |
194 | padding-top: 2px; | |
195 | padding-bottom: 2px; | |
d54f5b23 RK |
196 | -moz-margin-end: 1px; |
197 | } | |
198 | ||
ab799a7a | 199 | .splitmenu-menu { |
38cfeb47 RK |
200 | padding-top: 2px; |
201 | padding-bottom: 2px; | |
319c6529 RK |
202 | -moz-box-pack: end; |
203 | } | |
204 | ||
205 | .appmenu-edit-button { | |
206 | } | |
207 | ||
208 | .appmenu-edit-button[disabled="true"] { | |
209 | } | |
210 | ||
211 | #appmenuPrimaryPane { | |
212 | -moz-border-end: 1px solid #9C9CFF; | |
213 | } | |
214 | /* | |
215 | #appmenu-popup { | |
216 | } | |
217 | #appmenuPrimaryPane { | |
218 | } | |
219 | #appmenuSecondaryPane { | |
220 | } | |
221 | #appmenuSecondaryPane:-moz-locale-dir(rtl) { | |
222 | } | |
223 | ||
224 | #appmenuSecondaryPane menupopup { | |
225 | } | |
226 | ||
227 | .appmenu-menuseparator { | |
228 | } | |
229 | ||
230 | .appmenu-edit-button:not([disabled]):hover { | |
231 | } | |
232 | */ | |
233 | #appmenuSecondaryPane-spacer { | |
234 | min-height: 1em; | |
235 | } | |
236 | ||
9abeb12c RK |
237 | #appmenu-editmenu { |
238 | -moz-box-pack: end; | |
239 | } | |
240 | ||
319c6529 RK |
241 | #appmenu_print, |
242 | #appmenu_print_popup, | |
243 | .appmenu-edit-button, | |
9abeb12c RK |
244 | #appmenu-editmenu-cut, |
245 | #appmenu-editmenu-copy, | |
246 | #appmenu-editmenu-paste, | |
319c6529 RK |
247 | #appmenu-quit { |
248 | list-style-image: url("appmenu-icons.png"); | |
249 | } | |
250 | ||
9abeb12c RK |
251 | #appmenu-cut, |
252 | #appmenu-editmenu-cut { | |
319c6529 | 253 | -moz-image-region: rect(0 16px 16px 0); |
acb0e9b8 | 254 | } |
255 | ||
143c5409 RK |
256 | #appmenu-cut:hover:not([disabled="true"]), |
257 | #appmenu-editmenu-cut:hover:not([disabled="true"]) { | |
258 | -moz-image-region: rect(16px 16px 32px 0); | |
259 | } | |
260 | ||
261 | #appmenu-cut[disabled="true"], | |
262 | #appmenu-editmenu-cut[disabled="true"] { | |
263 | -moz-image-region: rect(32px 16px 48px 0); | |
264 | } | |
265 | ||
9abeb12c RK |
266 | #appmenu-copy, |
267 | #appmenu-editmenu-copy { | |
319c6529 RK |
268 | -moz-image-region: rect(0 32px 16px 16px); |
269 | } | |
270 | ||
143c5409 RK |
271 | #appmenu-copy:hover:not([disabled="true"]), |
272 | #appmenu-editmenu-copy:hover:not([disabled="true"]) { | |
273 | -moz-image-region: rect(16px 32px 32px 16px); | |
274 | } | |
275 | ||
276 | #appmenu-copy[disabled="true"], | |
277 | #appmenu-editmenu-copy[disabled="true"] { | |
278 | -moz-image-region: rect(32px 32px 48px 16px); | |
279 | } | |
280 | ||
9abeb12c RK |
281 | #appmenu-paste, |
282 | #appmenu-editmenu-paste { | |
319c6529 RK |
283 | -moz-image-region: rect(0 48px 16px 32px); |
284 | } | |
285 | ||
143c5409 RK |
286 | #appmenu-paste:hover:not([disabled="true"]), |
287 | #appmenu-editmenu-paste:hover:not([disabled="true"]) { | |
288 | -moz-image-region: rect(16px 48px 32px 32px); | |
289 | } | |
290 | ||
291 | #appmenu-paste[disabled="true"], | |
292 | #appmenu-editmenu-paste[disabled="true"] { | |
293 | -moz-image-region: rect(32px 48px 48px 32px); | |
294 | } | |
295 | ||
319c6529 RK |
296 | #appmenu_print, |
297 | #appmenu_print_popup { | |
298 | -moz-image-region: rect(0 64px 16px 48px); | |
299 | } | |
300 | ||
143c5409 RK |
301 | #appmenu_print:hover:not([disabled="true"]), |
302 | #appmenu_print[open="true"], | |
303 | #appmenu_print_popup:hover:not([disabled="true"]) { | |
304 | -moz-image-region: rect(16px 64px 32px 48px); | |
305 | } | |
306 | ||
307 | #appmenu-print[disabled="true"], | |
308 | #appmenu_print_popup[disabled="true"] { | |
309 | -moz-image-region: rect(32px 64px 48px 48px); | |
310 | } | |
311 | ||
319c6529 RK |
312 | #appmenu-quit { |
313 | -moz-image-region: rect(0 80px 16px 64px); | |
314 | } | |
315 | ||
143c5409 RK |
316 | #appmenu-quit:hover { |
317 | -moz-image-region: rect(16px 80px 32px 64px); | |
318 | } | |
319 | ||
319c6529 RK |
320 | #appmenu-edit-label { |
321 | -moz-appearance: none; | |
322 | background: transparent; | |
323 | font-style: italic; | |
324 | } | |
325 | ||
326 | #appmenu_bookmarks { | |
327 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
328 | -moz-image-region: rect(0px 48px 16px 32px); | |
329 | } | |
330 | ||
331 | #appmenu_privateBrowsing { | |
332 | list-style-image: url("chrome://browser/skin/Privacy-16.png"); | |
333 | } | |
334 | ||
335 | #appmenu_addons { | |
336 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
337 | } | |
338 | ||
339 | #BMB_bookmarkThisPage, | |
340 | #appmenu_bookmarkThisPage { | |
341 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
342 | -moz-image-region: rect(0 16px 16px 0); | |
343 | } | |
344 | ||
345 | /* ::::: titlebar ::::: */ | |
346 | ||
5305ef8d RK |
347 | #titlebar { |
348 | /* like menubar */ | |
349 | background-color: #6000CF; | |
350 | color: #FF9F00; | |
351 | } | |
352 | #titlebar:-moz-window-inactive { | |
353 | background-color: #8050B0; | |
354 | color: #FF9F00; | |
355 | } | |
356 | ||
319c6529 | 357 | #main-window[sizemode="normal"] > #titlebar { |
5305ef8d RK |
358 | margin-top: -3px; |
359 | margin-bottom: 3px; | |
319c6529 RK |
360 | } |
361 | ||
362 | #main-window[sizemode="maximized"] > #titlebar { | |
5305ef8d | 363 | margin-top: 4px; |
319c6529 RK |
364 | } |
365 | ||
366 | #titlebar-buttonbox { | |
5305ef8d RK |
367 | margin-top: 5px; |
368 | -moz-margin-end: 3px; | |
319c6529 RK |
369 | } |
370 | ||
371 | #main-window[sizemode="maximized"] #titlebar-buttonbox { | |
372 | } | |
373 | ||
374 | .titlebar-placeholder[type="appmenu-button"] { | |
375 | margin-left: 4px; | |
376 | } | |
377 | ||
378 | .titlebar-placeholder[type="caption-buttons"] { | |
379 | margin-left: 10px; | |
380 | } | |
381 | ||
382 | /* titlebar command buttons */ | |
383 | ||
384 | #titlebar-min { | |
5305ef8d RK |
385 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
386 | } | |
387 | ||
388 | #titlebar-min:hover { | |
389 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
319c6529 RK |
390 | } |
391 | ||
392 | #titlebar-max { | |
5305ef8d RK |
393 | list-style-image: url("chrome://browser/skin/win-maximize.gif"); |
394 | } | |
395 | ||
396 | #titlebar-max:hover { | |
397 | list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); | |
319c6529 RK |
398 | } |
399 | ||
400 | #main-window[sizemode="maximized"] #titlebar-max { | |
5305ef8d RK |
401 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
402 | } | |
403 | ||
404 | #main-window[sizemode="maximized"] #titlebar-max:hover { | |
405 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
319c6529 RK |
406 | } |
407 | ||
408 | #titlebar-close { | |
5305ef8d RK |
409 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
410 | } | |
411 | ||
412 | #titlebar-close:hover { | |
413 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
acb0e9b8 | 414 | } |
415 | ||
416 | /* ::::: bookmark buttons ::::: */ | |
417 | ||
fb1aad97 RK |
418 | /*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */ |
419 | .bookmark-item > .toolbarbutton-icon { | |
acb0e9b8 | 420 | width: 16px; |
421 | height: 16px; | |
422 | } | |
423 | ||
424 | /* Prevent [mode="icons"] from hiding the label */ | |
425 | .bookmark-item > .toolbarbutton-text { | |
426 | display: -moz-box !important; | |
427 | } | |
428 | ||
319c6529 RK |
429 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
430 | display: none; | |
431 | } | |
432 | ||
433 | #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { | |
434 | width: 16px; | |
435 | height: 16px; | |
8da9da4e | 436 | background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat; |
319c6529 RK |
437 | } |
438 | ||
439 | .bookmarks-toolbar-customize { | |
440 | max-width: 15em !important; | |
8da9da4e | 441 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; |
319c6529 RK |
442 | } |
443 | ||
444 | /* ::::: bookmark menus ::::: */ | |
445 | ||
446 | menu.bookmark-item, | |
447 | menuitem.bookmark-item { | |
448 | min-width: 0; | |
ab799a7a | 449 | max-width: 32em; |
319c6529 RK |
450 | } |
451 | ||
452 | .bookmark-item > .menu-iconic-left { | |
453 | margin-top: 0; | |
454 | margin-bottom: 0; | |
455 | } | |
456 | ||
457 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { | |
458 | -moz-padding-start: 0px; | |
459 | } | |
460 | ||
461 | /* ::::: bookmark items ::::: */ | |
462 | ||
463 | .bookmark-item { | |
dce90fef | 464 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 465 | -moz-image-region: auto; |
319c6529 RK |
466 | } |
467 | ||
468 | .bookmark-item[container] { | |
469 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 470 | -moz-image-region: auto; |
319c6529 RK |
471 | } |
472 | ||
473 | .bookmark-item[container][open] { | |
474 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 475 | -moz-image-region: auto; |
319c6529 RK |
476 | } |
477 | ||
8da9da4e RK |
478 | .bookmark-item[container][livemark] { |
479 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png"); | |
319c6529 RK |
480 | -moz-image-region: auto; |
481 | } | |
482 | ||
483 | .bookmark-item[container][livemark] .bookmark-item { | |
8da9da4e | 484 | list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); |
319c6529 RK |
485 | -moz-image-region: auto; |
486 | } | |
487 | ||
488 | .bookmark-item[container][query] { | |
8da9da4e | 489 | list-style-image: url("chrome://communicator/skin/bookmarks/query.png"); |
319c6529 RK |
490 | -moz-image-region: auto; |
491 | } | |
492 | ||
493 | .bookmark-item[query][tagContainer] { | |
494 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); | |
495 | -moz-image-region: auto; | |
496 | } | |
497 | ||
498 | .bookmark-item[query][dayContainer] { | |
8da9da4e | 499 | list-style-image: url("chrome://communicator/skin/history/calendar.png"); |
319c6529 RK |
500 | -moz-image-region: auto; |
501 | } | |
502 | ||
503 | .bookmark-item[query][hostContainer] { | |
504 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
8da9da4e | 505 | -moz-image-region: auto; |
319c6529 RK |
506 | } |
507 | ||
508 | .bookmark-item[query][hostContainer][open] { | |
509 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
8da9da4e | 510 | -moz-image-region: auto; |
319c6529 RK |
511 | } |
512 | ||
b1234db8 RK |
513 | .bookmark-item[cutting] > .toolbarbutton-icon, |
514 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon { | |
515 | opacity: 0.5; | |
516 | } | |
517 | ||
518 | .bookmark-item[cutting] > .toolbarbutton-text, | |
519 | .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text { | |
520 | opacity: 0.7; | |
521 | } | |
522 | ||
319c6529 RK |
523 | /* ::::: primary toolbar buttons ::::: */ |
524 | ||
63ada306 RK |
525 | .toolbarbutton-1 { |
526 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
527 | } | |
528 | ||
529 | .toolbarbutton-1:not([type="menu-button"]) { | |
530 | -moz-box-orient: vertical; | |
531 | } | |
532 | ||
319c6529 RK |
533 | .toolbarbutton-1, |
534 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
535 | min-width: 36px; | |
536 | min-height: 36px; | |
319c6529 RK |
537 | } |
538 | ||
ab799a7a RK |
539 | .toolbarbutton-1:not([type="menu-button"]) { |
540 | -moz-box-orient: vertical; | |
319c6529 RK |
541 | } |
542 | ||
543 | .toolbarbutton-1, | |
544 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
545 | .toolbarbutton-1[disabled="true"]:hover:active, | |
546 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { | |
547 | padding: 1px 2px; | |
548 | } | |
549 | ||
550 | .toolbarbutton-1:hover:active, | |
551 | .toolbarbutton-1[open="true"], | |
552 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { | |
553 | padding-top: 2px; | |
554 | padding-bottom: 0px; | |
555 | -moz-padding-start: 3px; | |
556 | -moz-padding-end: 1px; | |
557 | } | |
558 | ||
319c6529 RK |
559 | /* ::::: small primary toolbar buttons ::::: */ |
560 | ||
9abeb12c RK |
561 | #nav-bar { |
562 | /* force iconsize="small" on this toolbar */ | |
563 | counter-reset: smallicons; | |
564 | } | |
565 | ||
319c6529 RK |
566 | toolbar[mode="text"] .toolbarbutton-1, |
567 | toolbar[mode="icons"] .toolbarbutton-1, | |
568 | toolbar[iconsize="small"] .toolbarbutton-1, | |
569 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1, | |
570 | toolbar[mode="text"] .toolbarbutton-menubutton-button, | |
571 | toolbar[mode="icons"] .toolbarbutton-menubutton-button, | |
572 | toolbar[iconsize="small"] .toolbarbutton-menubutton-button, | |
573 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
574 | min-width: 0px; | |
575 | min-height: 0px; | |
576 | } | |
577 | ||
578 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker { | |
579 | padding-top: 4px; | |
580 | padding-bottom: 8px; | |
581 | -moz-padding-start: 1px; | |
582 | -moz-padding-end: 1px; | |
583 | } | |
584 | ||
585 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker, | |
586 | toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker, | |
587 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
588 | padding-top: 0px; | |
589 | padding-bottom: 13px; | |
590 | -moz-padding-start: 1px; | |
591 | -moz-padding-end: 1px; | |
592 | } | |
593 | ||
594 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
595 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
596 | padding-top: 5px; | |
597 | padding-bottom: 7px; | |
598 | -moz-padding-start: 0px; | |
599 | -moz-padding-end: 2px; | |
600 | } | |
601 | ||
602 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
603 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, | |
604 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
605 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, | |
606 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
607 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
608 | padding-top: 1px; | |
609 | padding-bottom: 12px; | |
610 | -moz-padding-start: 0px; | |
611 | -moz-padding-end: 2px; | |
612 | } | |
613 | ||
614 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { | |
615 | padding-top: 4px !important; | |
616 | padding-bottom: 8px !important; | |
617 | -moz-padding-start: 1px !important; | |
618 | -moz-padding-end: 1px !important; | |
619 | } | |
620 | ||
621 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"], | |
622 | toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { | |
623 | padding-top: 0px !important; | |
624 | padding-bottom: 13px !important; | |
625 | -moz-padding-start: 1px !important; | |
626 | -moz-padding-end: 1px !important; | |
627 | } | |
628 | ||
629 | toolbar[mode="icons"] .toolbarbutton-text, | |
630 | toolbar[mode="text"] .toolbarbutton-icon { | |
631 | display: none; | |
632 | } | |
633 | ||
634 | toolbar[mode="text"] .toolbarbutton-text { | |
635 | padding: 4px 0; | |
636 | } | |
637 | ||
638 | toolbar[mode="text"] .toolbarbutton-1, | |
639 | toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
640 | -moz-box-orient: horizontal; | |
641 | } | |
642 | ||
643 | toolbar[mode="full"] .toolbarbutton-1, | |
644 | toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
645 | min-width: 30px; | |
646 | } | |
647 | ||
d54f5b23 | 648 | #navigator-toolbox[iconsize=small] > #nav-bar { |
d54f5b23 RK |
649 | } |
650 | ||
651 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar { | |
d54f5b23 RK |
652 | } |
653 | ||
654 | ||
319c6529 RK |
655 | /* unified back/forward button */ |
656 | ||
657 | #back-button { | |
658 | -moz-image-region: rect(0, 18px, 18px, 0); | |
659 | -moz-margin-end: 0; | |
660 | } | |
661 | ||
38cfeb47 RK |
662 | #back-button:not([disabled="true"]):hover { |
663 | -moz-image-region: rect(18px, 18px, 36px, 0); | |
664 | } | |
665 | ||
666 | #back-button[disabled="true"] { | |
667 | -moz-image-region: rect(36px, 18px, 54px, 0); | |
668 | } | |
669 | ||
319c6529 RK |
670 | #forward-button { |
671 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
672 | border-left: none; | |
673 | -moz-margin-start: 0; | |
674 | } | |
675 | ||
38cfeb47 RK |
676 | #forward-button:not([disabled="true"]):hover { |
677 | -moz-image-region: rect(18px, 36px, 36px, 18px); | |
678 | } | |
679 | ||
680 | #forward-button[disabled="true"] { | |
681 | -moz-image-region: rect(36px, 36px, 54px, 18px); | |
b36fc72e RK |
682 | } |
683 | ||
319c6529 RK |
684 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
685 | #forward-button:-moz-locale-dir(rtl), | |
686 | #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text { | |
687 | -moz-transform: scaleX(-1); | |
688 | } | |
689 | ||
b36fc72e RK |
690 | #nav-bar #back-button { |
691 | -moz-margin-end: 0 !important; | |
692 | } | |
693 | ||
694 | #nav-bar #forward-button { | |
695 | border-left-style: none; | |
696 | -moz-margin-start: 0 !important; | |
697 | } | |
698 | ||
699 | #nav-bar #back-button:-moz-locale-dir(ltr) { | |
319c6529 RK |
700 | border-top-right-radius: 0; |
701 | border-bottom-right-radius: 0; | |
702 | } | |
703 | ||
b36fc72e RK |
704 | #nav-bar #back-button:-moz-locale-dir(rtl), |
705 | #nav-bar #forward-button { | |
319c6529 RK |
706 | border-top-left-radius: 0; |
707 | border-bottom-left-radius: 0; | |
708 | } | |
709 | ||
9abeb12c | 710 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button { |
319c6529 RK |
711 | border-radius: 10000px; |
712 | width: 30px; | |
713 | height: 30px; | |
714 | position: relative; | |
715 | z-index: 1; | |
716 | margin-top: -2px; | |
717 | margin-bottom: -2px; | |
718 | border: none; | |
38cfeb47 RK |
719 | -moz-image-region: rect(54px, 20px, 74px, 0); |
720 | } | |
721 | ||
722 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover, | |
723 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] { | |
724 | -moz-image-region: rect(54px, 40px, 74px, 20px); | |
725 | } | |
726 | ||
727 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] { | |
728 | -moz-image-region: rect(54px, 60px, 74px, 40px); | |
319c6529 RK |
729 | } |
730 | ||
9abeb12c | 731 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { |
319c6529 RK |
732 | } |
733 | ||
9abeb12c RK |
734 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active, |
735 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] { | |
319c6529 RK |
736 | } |
737 | ||
9abeb12c RK |
738 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"], |
739 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) { | |
319c6529 RK |
740 | /* padding-top: 3px; |
741 | padding-bottom: 5px; */ | |
742 | } | |
743 | ||
9abeb12c RK |
744 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"], |
745 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) { | |
319c6529 RK |
746 | /* padding-top: 5px; */ |
747 | } | |
748 | ||
9abeb12c | 749 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button { |
319c6529 RK |
750 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ |
751 | mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask"); | |
9abeb12c | 752 | -moz-margin-start: -6px !important; |
319c6529 RK |
753 | padding-left: 7px; |
754 | padding-right: 3px; | |
e8519ae0 RK |
755 | margin-top: 2px; |
756 | margin-bottom: 2px; | |
757 | } | |
758 | ||
759 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(ltr) { | |
760 | border-top-right-radius: 11px; | |
761 | border-bottom-right-radius: 11px; | |
762 | } | |
763 | ||
764 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(rtl) { | |
765 | border-top-left-radius: 11px; | |
766 | border-bottom-left-radius: 11px; | |
319c6529 RK |
767 | } |
768 | ||
9abeb12c | 769 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover { |
319c6529 RK |
770 | /*mask: url(keyhole-forward-mask.svg#mask-hover);*/ |
771 | mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover"); | |
772 | } | |
773 | ||
774 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), | |
775 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { | |
71bac478 RK |
776 | list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important; |
777 | } | |
778 | ||
779 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover, | |
780 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover { | |
781 | list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important; | |
319c6529 RK |
782 | } |
783 | ||
784 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), | |
785 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { | |
71bac478 RK |
786 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; |
787 | } | |
788 | ||
789 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover, | |
790 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover { | |
791 | list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important; | |
319c6529 RK |
792 | } |
793 | ||
8ad8bf83 RK |
794 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
795 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
796 | #unified-back-forward-button > #forward-button { | |
e8519ae0 | 797 | /* border-top-right-radius: 0; |
8ad8bf83 | 798 | border-bottom-right-radius: 0; |
e8519ae0 | 799 | -moz-margin-end: 0; */ |
8ad8bf83 RK |
800 | } |
801 | ||
802 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
803 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
804 | #unified-back-forward-button:not([switchingtabs]) > #forward-button { | |
805 | -moz-transition: opacity 150ms ease-out; | |
806 | } | |
807 | ||
808 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
809 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
810 | #unified-back-forward-button:not(:hover) > #forward-button[disabled] { | |
811 | opacity: 0; | |
812 | } | |
813 | ||
e8519ae0 RK |
814 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
815 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
816 | #unified-back-forward-button:hover > #forward-button[disabled] { | |
817 | background-color: transparent; | |
818 | } | |
819 | ||
319c6529 RK |
820 | /* stop button */ |
821 | ||
822 | #stop-button { | |
823 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
824 | } | |
825 | ||
143c5409 RK |
826 | #stop-button:not([disabled="true"]):hover { |
827 | -moz-image-region: rect(18px, 54px, 36px, 36px); | |
828 | } | |
829 | ||
830 | #stop-button[disabled="true"] { | |
831 | -moz-image-region: rect(36px, 54px, 54px, 36px); | |
832 | } | |
833 | ||
319c6529 RK |
834 | /* reload button */ |
835 | ||
836 | #reload-button { | |
837 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
838 | } | |
839 | ||
143c5409 RK |
840 | #reload-button:not([disabled="true"]):hover { |
841 | -moz-image-region: rect(18px, 72px, 36px, 54px); | |
842 | } | |
843 | ||
844 | #reload-button[disabled="true"] { | |
845 | -moz-image-region: rect(36px, 72px, 54px, 54px); | |
846 | } | |
847 | ||
319c6529 RK |
848 | /* home button */ |
849 | ||
850 | #home-button.bookmark-item { | |
851 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
852 | } | |
853 | #home-button { | |
854 | -moz-image-region: rect(0, 90px, 18px, 72px); | |
855 | } | |
856 | ||
143c5409 RK |
857 | #home-button:not([disabled="true"]):hover { |
858 | -moz-image-region: rect(18px, 90px, 36px, 72px); | |
859 | } | |
860 | ||
861 | #home-button[disabled="true"] { | |
862 | -moz-image-region: rect(36px, 90px, 54px, 72px); | |
863 | } | |
864 | ||
319c6529 RK |
865 | /* tabview button */ |
866 | ||
d54f5b23 RK |
867 | #tabview-button, |
868 | #menu_tabview { | |
319c6529 | 869 | list-style-image: url("chrome://browser/skin/tabview/tabview.png"); |
d54f5b23 RK |
870 | } |
871 | ||
872 | #tabview-button { | |
319c6529 RK |
873 | -moz-image-region: rect(0, 90px, 18px, 72px); |
874 | } | |
875 | ||
876 | #tabview-button[groups="0"] { | |
877 | -moz-image-region: rect(0, 18px, 18px, 0); | |
878 | } | |
879 | ||
880 | #tabview-button[groups="1"] { | |
881 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
882 | } | |
883 | ||
884 | #tabview-button[groups="2"] { | |
885 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
886 | } | |
887 | ||
888 | #tabview-button[groups="3"] { | |
889 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
890 | } | |
891 | ||
d54f5b23 RK |
892 | #menu_tabview { |
893 | -moz-image-region: rect(1px, 89px, 17px, 73px); | |
894 | } | |
895 | ||
896 | #menu_tabview[groups="0"] { | |
897 | -moz-image-region: rect(1px, 17px, 17px, 1px); | |
898 | } | |
899 | ||
900 | #menu_tabview[groups="1"] { | |
901 | -moz-image-region: rect(1px, 35px, 17px, 19px); | |
902 | } | |
903 | ||
904 | #menu_tabview[groups="2"] { | |
905 | -moz-image-region: rect(1px, 53px, 17px, 37px); | |
906 | } | |
907 | ||
908 | #menu_tabview[groups="3"] { | |
909 | -moz-image-region: rect(1px, 71px, 17px, 55px); | |
910 | } | |
911 | ||
319c6529 RK |
912 | /* download manager button */ |
913 | ||
914 | #downloads-button { | |
915 | -moz-image-region: rect(0, 108px, 18px, 90px); | |
916 | } | |
917 | ||
143c5409 RK |
918 | #downloads-button:not([disabled="true"]):hover { |
919 | -moz-image-region: rect(18px, 108px, 36px, 90px); | |
920 | } | |
921 | ||
922 | #downloads-button[disabled="true"] { | |
923 | -moz-image-region: rect(36px, 108px, 54px, 90px); | |
924 | } | |
925 | ||
319c6529 RK |
926 | /* history sidebar button */ |
927 | ||
928 | #history-button { | |
929 | -moz-image-region: rect(0, 126px, 18px, 108px); | |
930 | } | |
931 | ||
143c5409 RK |
932 | #history-button:not([disabled="true"]):hover { |
933 | -moz-image-region: rect(18px, 126px, 36px, 108px); | |
934 | } | |
935 | ||
936 | #history-button[disabled="true"] { | |
937 | -moz-image-region: rect(36px, 126px, 54px, 108px); | |
938 | } | |
939 | ||
319c6529 RK |
940 | /* bookmark sidebar & menu buttons */ |
941 | ||
942 | #bookmarks-button, | |
943 | #bookmarks-menu-button { | |
8da9da4e | 944 | list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */ |
319c6529 RK |
945 | -moz-image-region: rect(0, 144px, 18px, 126px); |
946 | } | |
947 | ||
948 | #bookmarks-menu-button.bookmark-item { | |
8da9da4e | 949 | /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */ |
319c6529 RK |
950 | } |
951 | ||
952 | #bookmarks-menu-button.toolbarbutton-1 { | |
953 | -moz-box-orient: horizontal; | |
954 | } | |
955 | ||
143c5409 RK |
956 | #bookmarks-button:not([disabled="true"]):hover, |
957 | #bookmarks-menu-button[open="true"], | |
958 | #bookmarks-menu-button:not([disabled="true"]):hover { | |
959 | -moz-image-region: rect(18px, 144px, 36px, 126px); | |
960 | } | |
961 | ||
962 | #bookmarks-button[disabled="true"], | |
963 | #bookmarks-menu-button[disabled="true"] { | |
964 | -moz-image-region: rect(36px, 144px, 54px, 126px); | |
965 | } | |
966 | ||
319c6529 RK |
967 | /* print button */ |
968 | ||
969 | #print-button { | |
970 | -moz-image-region: rect(0, 162px, 18px, 144px); | |
971 | } | |
972 | ||
143c5409 RK |
973 | #print-button:not([disabled="true"]):hover { |
974 | -moz-image-region: rect(18px, 162px, 36px, 144px); | |
975 | } | |
976 | ||
977 | #print-button[disabled="true"] { | |
978 | -moz-image-region: rect(36px, 162px, 54px, 144px); | |
979 | } | |
980 | ||
319c6529 RK |
981 | /* toolbar new tab button */ |
982 | ||
983 | #new-tab-button { | |
984 | -moz-image-region: rect(0, 180px, 18px, 162px); | |
985 | } | |
986 | ||
143c5409 RK |
987 | #print-button:not([disabled="true"]):hover { |
988 | -moz-image-region: rect(18px, 162px, 36px, 144px); | |
989 | } | |
990 | ||
991 | #print-button[disabled="true"] { | |
992 | -moz-image-region: rect(36px, 162px, 54px, 144px); | |
993 | } | |
994 | ||
319c6529 RK |
995 | /* new window button */ |
996 | ||
997 | #new-window-button { | |
998 | -moz-image-region: rect(0, 198px, 18px, 180px); | |
999 | } | |
1000 | ||
143c5409 RK |
1001 | #new-window-button:not([disabled="true"]):hover { |
1002 | -moz-image-region: rect(18px, 198px, 36px, 180px); | |
1003 | } | |
1004 | ||
1005 | #new-window-button[disabled="true"] { | |
1006 | -moz-image-region: rect(36px, 198px, 54px, 180px); | |
1007 | } | |
1008 | ||
319c6529 RK |
1009 | /* cut button */ |
1010 | ||
1011 | #cut-button { | |
1012 | -moz-image-region: rect(0, 216px, 18px, 198px); | |
1013 | } | |
1014 | ||
143c5409 RK |
1015 | #cut-button:not([disabled="true"]):hover { |
1016 | -moz-image-region: rect(18px, 216px, 36px, 198px); | |
1017 | } | |
1018 | ||
1019 | #cut-button[disabled="true"] { | |
1020 | -moz-image-region: rect(36px, 216px, 54px, 198px); | |
1021 | } | |
1022 | ||
319c6529 RK |
1023 | /* copy button */ |
1024 | ||
1025 | #copy-button { | |
1026 | -moz-image-region: rect(0, 234px, 18px, 216px); | |
1027 | } | |
1028 | ||
143c5409 RK |
1029 | #copy-button:not([disabled="true"]):hover { |
1030 | -moz-image-region: rect(18px, 234px, 36px, 216px); | |
1031 | } | |
1032 | ||
1033 | #copy-button[disabled="true"] { | |
1034 | -moz-image-region: rect(36px, 234px, 54px, 216px); | |
1035 | } | |
1036 | ||
319c6529 RK |
1037 | /* paste button */ |
1038 | ||
1039 | #paste-button { | |
1040 | -moz-image-region: rect(0, 252px, 18px, 234px); | |
1041 | } | |
1042 | ||
143c5409 RK |
1043 | #paste-button:not([disabled="true"]):hover { |
1044 | -moz-image-region: rect(18px, 252px, 36px, 234px); | |
1045 | } | |
1046 | ||
1047 | #paste-button[disabled="true"] { | |
1048 | -moz-image-region: rect(36px, 252px, 54px, 234px); | |
1049 | } | |
1050 | ||
319c6529 RK |
1051 | /* fullscreen button */ |
1052 | ||
1053 | #fullscreen-button { | |
1054 | -moz-image-region: rect(0, 270px, 18px, 252px); | |
1055 | } | |
1056 | ||
143c5409 RK |
1057 | #fullscreen-button:not([disabled="true"]):hover { |
1058 | -moz-image-region: rect(18px, 270px, 36px, 252px); | |
1059 | } | |
1060 | ||
1061 | #fullscreen-button[disabled="true"] { | |
1062 | -moz-image-region: rect(36px, 270px, 54px, 252px); | |
1063 | } | |
1064 | ||
319c6529 RK |
1065 | /* zoom controls */ |
1066 | ||
1067 | #zoom-out-button { | |
1068 | -moz-image-region: rect(0, 288px, 18px, 270px); | |
1069 | -moz-margin-end: 0; | |
1070 | } | |
1071 | ||
1072 | #zoom-in-button { | |
1073 | -moz-image-region: rect(0, 306px, 18px, 288px); | |
b36fc72e RK |
1074 | } |
1075 | ||
1076 | #nav-bar #zoom-out-button { | |
1077 | -moz-margin-end: 0; | |
1078 | } | |
1079 | ||
1080 | #nav-bar #zoom-in-button { | |
319c6529 RK |
1081 | -moz-border-start: none; |
1082 | -moz-margin-start: 0; | |
1083 | } | |
1084 | ||
b36fc72e RK |
1085 | #nav-bar #zoom-out-button:-moz-locale-dir(ltr), |
1086 | #nav-bar #zoom-in-button:-moz-locale-dir(rtl) { | |
319c6529 RK |
1087 | border-top-right-radius: 0; |
1088 | border-bottom-right-radius: 0; | |
1089 | } | |
1090 | ||
b36fc72e RK |
1091 | #nav-bar #zoom-out-button:-moz-locale-dir(rtl), |
1092 | #nav-bar #zoom-in-button:-moz-locale-dir(ltr) { | |
319c6529 RK |
1093 | border-top-left-radius: 0; |
1094 | border-bottom-left-radius: 0; | |
1095 | } | |
1096 | ||
143c5409 RK |
1097 | #zoom-out-button:not([disabled="true"]):hover { |
1098 | -moz-image-region: rect(18px, 288px, 36px, 270px); | |
1099 | } | |
1100 | ||
1101 | #zoom-out-button[disabled="true"] { | |
1102 | -moz-image-region: rect(36px, 288px, 54px, 270px); | |
1103 | } | |
1104 | ||
1105 | #zoom-in-button:not([disabled="true"]):hover { | |
1106 | -moz-image-region: rect(18px, 306px, 36px, 288px); | |
1107 | } | |
1108 | ||
1109 | #zoom-in-button[disabled="true"] { | |
1110 | -moz-image-region: rect(36px, 306px, 54px, 288px); | |
1111 | } | |
1112 | ||
319c6529 RK |
1113 | /* sync button */ |
1114 | ||
dce90fef | 1115 | #sync-button:not([status]) { |
8da9da4e | 1116 | list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */ |
319c6529 RK |
1117 | -moz-image-region: rect(0, 324px, 18px, 306px); |
1118 | } | |
1119 | ||
1120 | #sync-button[status="active"] { | |
1121 | list-style-image: url("chrome://browser/skin/sync-throbber.png"); | |
1122 | -moz-image-region: rect(0, 18px, 18px, 0); | |
1123 | } | |
1124 | ||
143c5409 RK |
1125 | #sync-button[disabled="true"] { |
1126 | -moz-image-region: rect(36px, 324px, 54px, 306px); | |
1127 | } | |
1128 | ||
319c6529 RK |
1129 | /* feed button */ |
1130 | ||
1131 | #feed-button { | |
1132 | -moz-image-region: rect(0, 342px, 18px, 324px); | |
1133 | } | |
1134 | ||
143c5409 RK |
1135 | #feed-button[disabled="true"] { |
1136 | -moz-image-region: rect(36px, 342px, 54px, 324px); | |
1137 | } | |
1138 | ||
319c6529 RK |
1139 | /* ::::: fullscreen window controls ::::: */ |
1140 | ||
ab799a7a RK |
1141 | #TabsToolbar > #window-controls { |
1142 | -moz-margin-start: 4px; | |
1143 | } | |
1144 | ||
319c6529 RK |
1145 | #minimize-button, |
1146 | #restore-button, | |
1147 | #close-button { | |
1148 | /* padding: 0; */ | |
1149 | } | |
1150 | ||
1151 | #minimize-button { | |
1152 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
1153 | } | |
1154 | ||
1155 | #minimize-button:hover { | |
1156 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
1157 | } | |
1158 | ||
1159 | #restore-button { | |
1160 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
1161 | } | |
1162 | ||
1163 | #restore-button:hover { | |
1164 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
1165 | } | |
1166 | ||
1167 | #close-button { | |
1168 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
1169 | } | |
1170 | ||
1171 | #close-button:hover { | |
1172 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
1173 | } | |
1174 | ||
1175 | /* ::::: Location Bar ::::: */ | |
1176 | ||
319c6529 RK |
1177 | #urlbar, |
1178 | .searchbar-textbox { | |
1179 | border-radius: 5px; | |
1180 | margin: 0; | |
1181 | -moz-margin-start: 3px; | |
1182 | } | |
1183 | ||
ffce2402 RK |
1184 | #urlbar { |
1185 | width: 7em; | |
1186 | min-width: 7em; | |
f0071a71 RK |
1187 | /* make color as light as possible to deal with dark non-domain parts */ |
1188 | color: #FFBFFF; | |
ffce2402 RK |
1189 | } |
1190 | ||
319c6529 RK |
1191 | #urlbar:-moz-lwtheme, |
1192 | .searchbar-textbox:-moz-lwtheme { | |
1193 | /* background-color: rgba(255,255,255,.8); | |
1194 | @navbarTextboxCustomBorder@ | |
1195 | color: black; */ | |
1196 | } | |
1197 | ||
8ad8bf83 RK |
1198 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1199 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1200 | #unified-back-forward-button + #urlbar-container { |
1201 | padding-left: 22px; | |
1202 | -moz-margin-start: -22px; | |
8ad8bf83 RK |
1203 | position: relative; |
1204 | pointer-events: none; | |
1205 | } | |
1206 | ||
1207 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1208 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1209 | #unified-back-forward-button + #urlbar-container > #urlbar { |
1210 | /* -moz-border-start: none; | |
1211 | margin-left: 0; */ | |
8ad8bf83 RK |
1212 | pointer-events: all; |
1213 | } | |
1214 | ||
1215 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1216 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1217 | #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar { |
8ad8bf83 RK |
1218 | -moz-transition: margin-left 150ms ease-out; |
1219 | } | |
1220 | ||
1221 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1222 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1223 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) { |
1224 | /* border-top-left-radius: 0; | |
1225 | border-bottom-left-radius: 0; */ | |
8ad8bf83 RK |
1226 | } |
1227 | ||
1228 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1229 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1230 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { |
1231 | /* border-top-right-radius: 0; | |
1232 | border-bottom-right-radius: 0; */ | |
8ad8bf83 RK |
1233 | } |
1234 | ||
1235 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1236 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1237 | #unified-back-forward-button[forwarddisabled] + #urlbar-container { |
8ad8bf83 RK |
1238 | mask: url("chrome://browser/content/browser.xul#winstripe-urlbar-back-button-mask"); |
1239 | } | |
1240 | ||
1241 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1242 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 RK |
1243 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar { |
1244 | margin-left: -22px; | |
8ad8bf83 RK |
1245 | } |
1246 | ||
1247 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1248 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1249 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar { |
8ad8bf83 RK |
1250 | /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */ |
1251 | -moz-transition-delay: 100s; | |
1252 | } | |
1253 | ||
1254 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1255 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1256 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar { |
8ad8bf83 | 1257 | /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ |
e8519ae0 | 1258 | margin-left: -22.01px; |
8ad8bf83 RK |
1259 | } |
1260 | ||
1261 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1262 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1263 | #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl), |
8ad8bf83 RK |
1264 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
1265 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1266 | #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) { |
8ad8bf83 RK |
1267 | /* let winstripe-urlbar-back-button-mask clip the urlbar's right side for RTL */ |
1268 | -moz-transform: scaleX(-1); | |
1269 | } | |
1270 | ||
319c6529 RK |
1271 | html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, |
1272 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder { | |
1273 | color: #E7ADE7; | |
1274 | } | |
1275 | ||
1276 | #urlbar:-moz-lwtheme[focused="true"], | |
1277 | .searchbar-textbox:-moz-lwtheme[focused="true"] { | |
1278 | /* background-color: white; */ | |
1279 | } | |
1280 | ||
1281 | #urlbar-container { | |
1282 | -moz-box-orient: horizontal; | |
1283 | -moz-box-align: stretch; | |
1284 | } | |
1285 | ||
9abeb12c RK |
1286 | .urlbar-textbox-container { |
1287 | -moz-box-align: stretch; | |
1288 | } | |
1289 | ||
319c6529 | 1290 | #urlbar-icons { |
319c6529 RK |
1291 | -moz-box-align: center; |
1292 | } | |
1293 | ||
1294 | .urlbar-icon { | |
4b686546 | 1295 | padding: 2px; |
ffce2402 RK |
1296 | } |
1297 | ||
1298 | .searchbar-engine-button, | |
1299 | .search-go-container { | |
4b686546 RK |
1300 | padding: 2px; |
1301 | } | |
1302 | ||
1303 | .search-go-container > .search-go-button { | |
1304 | padding: 0; | |
319c6529 RK |
1305 | } |
1306 | ||
1307 | .urlbar-icon:-moz-system-metric(touch-enabled) { | |
1308 | -moz-margin-end: 1px !important; | |
1309 | padding: 0 3px !important; | |
1310 | } | |
1311 | ||
ffce2402 RK |
1312 | .urlbar-icon:hover { |
1313 | } | |
1314 | ||
1315 | .urlbar-icon[open="true"], | |
1316 | .urlbar-icon:hover:active { | |
1317 | } | |
1318 | ||
319c6529 RK |
1319 | #urlbar-search-splitter { |
1320 | min-width: 6px; | |
1321 | -moz-margin-start: -3px; | |
1322 | border: none; | |
1323 | background: transparent; | |
1324 | } | |
1325 | ||
f0071a71 | 1326 | #urlbar-search-splitter + #urlbar-container > #urlbar, |
319c6529 RK |
1327 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { |
1328 | -moz-margin-start: 0; | |
1329 | } | |
1330 | ||
319c6529 | 1331 | #urlbar-display { |
319c6529 RK |
1332 | -moz-border-end: 1px solid #9C9CFF; |
1333 | -moz-margin-end: 3px; | |
ab799a7a RK |
1334 | margin-top: 0; |
1335 | margin-bottom: 0; | |
1336 | color: #8050B0; | |
1337 | } | |
1338 | ||
319c6529 RK |
1339 | /* identity box */ |
1340 | ||
1341 | #identity-box { | |
1342 | background-color: #000000; | |
1343 | color: #FF9F00; | |
1344 | border-radius: 2px; | |
1345 | } | |
1346 | ||
8ad8bf83 RK |
1347 | #notification-popup-box:not([hidden]) + #identity-box { |
1348 | -moz-padding-start: 10px; | |
1349 | border-radius: 0; | |
1350 | } | |
1351 | ||
1352 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1353 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1354 | #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box { |
d15d08bf | 1355 | /* border-radius: 0; */ |
8ad8bf83 RK |
1356 | } |
1357 | ||
1358 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1359 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1360 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
8ad8bf83 RK |
1361 | padding-left: 5px; |
1362 | -moz-transition: padding-left; | |
1363 | } | |
1364 | ||
1365 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1366 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1367 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
8ad8bf83 RK |
1368 | padding-right: 5px; |
1369 | -moz-transition: padding-right; | |
1370 | } | |
1371 | ||
1372 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1373 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1374 | #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box { |
8ad8bf83 RK |
1375 | /* forward button hiding is delayed when hovered */ |
1376 | -moz-transition-delay: 100s; | |
1377 | } | |
1378 | ||
1379 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1380 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1381 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) { |
8ad8bf83 RK |
1382 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
1383 | padding-left: 5.01px; | |
1384 | } | |
1385 | ||
1386 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > | |
1387 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 1388 | #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) { |
8ad8bf83 RK |
1389 | /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */ |
1390 | padding-right: 5.01px; | |
1391 | } | |
1392 | ||
319c6529 RK |
1393 | #identity-box:hover { |
1394 | background-color: #9C9CFF; | |
1395 | color: #000000; | |
1396 | } | |
1397 | ||
1398 | #identity-box[open="true"], | |
1399 | #identity-box:hover:active { | |
1400 | background-color: #FF9F00; | |
1401 | color: #000000; | |
1402 | } | |
1403 | ||
1404 | #identity-box.verifiedDomain { | |
1405 | background-color: #FFCF00; | |
1406 | color: #000000; | |
1407 | } | |
1408 | ||
1409 | #identity-box.verifiedIdentity { | |
1410 | background-color: #008484; | |
1411 | color: #000000; | |
1412 | } | |
1413 | ||
1414 | #identity-box:-moz-focusring { | |
1415 | outline: 1px dotted #008484; | |
f993773d | 1416 | outline-offset: -1px; |
319c6529 RK |
1417 | } |
1418 | ||
1419 | #identity-box.verifiedDomain:-moz-focusring, | |
1420 | #identity-box.verifiedIdentity:-moz-focusring { | |
1421 | outline-color: #000000; | |
1422 | } | |
1423 | ||
1424 | #identity-icon-labels { | |
1425 | -moz-margin-start: 1px; | |
1426 | -moz-margin-end: 3px; | |
319c6529 RK |
1427 | } |
1428 | ||
1429 | /* Location bar dropmarker */ | |
1430 | ||
38cfeb47 | 1431 | .urlbar-history-dropmarker:not(:hover):not([open="true"]) { |
319c6529 | 1432 | background-color: transparent; |
319c6529 RK |
1433 | } |
1434 | ||
38cfeb47 RK |
1435 | #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker { |
1436 | border: none; | |
1437 | border-radius: 0px; | |
319c6529 RK |
1438 | } |
1439 | ||
ffce2402 RK |
1440 | .urlbar-history-dropmarker:hover { |
1441 | } | |
1442 | ||
1443 | .urlbar-history-dropmarker:hover:active, | |
1444 | .urlbar-history-dropmarker[open="true"] { | |
1445 | } | |
1446 | ||
319c6529 RK |
1447 | /* page proxy icon */ |
1448 | ||
4d58ff64 | 1449 | #page-proxy-favicon { |
319c6529 RK |
1450 | width: 16px; |
1451 | height: 16px; | |
1452 | } | |
1453 | ||
1454 | #page-proxy-stack { | |
1455 | width: 24px; | |
1456 | height: 18px; | |
1457 | padding: 1px 4px; | |
319c6529 RK |
1458 | } |
1459 | ||
1460 | #page-proxy-favicon:not([src]) { | |
dce90fef | 1461 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
acb0e9b8 | 1462 | } |
1463 | ||
319c6529 | 1464 | #page-proxy-favicon[pageproxystate="invalid"] { |
dce90fef | 1465 | opacity: 0.5; |
acb0e9b8 | 1466 | } |
1467 | ||
319c6529 RK |
1468 | /* autocomplete */ |
1469 | ||
319c6529 RK |
1470 | #treecolAutoCompleteImage { |
1471 | max-width: 36px; | |
1472 | } | |
acb0e9b8 | 1473 | |
319c6529 RK |
1474 | .ac-result-type-bookmark, |
1475 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | |
71bac478 | 1476 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
319c6529 | 1477 | -moz-image-region: rect(0px 16px 16px 0px); |
c1f7cc84 | 1478 | width: 16px; |
319c6529 | 1479 | height: 16px; |
acb0e9b8 | 1480 | } |
1481 | ||
319c6529 RK |
1482 | .ac-result-type-keyword, |
1483 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { | |
1484 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); | |
1485 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 1486 | width: 16px; |
1487 | height: 16px; | |
1488 | } | |
1489 | ||
319c6529 RK |
1490 | .ac-result-type-tag, |
1491 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { | |
8da9da4e | 1492 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); |
c1f7cc84 | 1493 | width: 16px; |
319c6529 RK |
1494 | height: 16px; |
1495 | } | |
acb0e9b8 | 1496 | |
319c6529 RK |
1497 | .ac-comment { |
1498 | font-size: 1.15em; | |
acb0e9b8 | 1499 | } |
319c6529 RK |
1500 | |
1501 | .ac-extra > .ac-comment { | |
1502 | font-size: inherit; | |
acb0e9b8 | 1503 | } |
319c6529 RK |
1504 | |
1505 | .ac-url-text, | |
1506 | .ac-action-text { | |
1507 | color: #9C9CFF; | |
acb0e9b8 | 1508 | } |
319c6529 RK |
1509 | |
1510 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { | |
1511 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); | |
acb0e9b8 | 1512 | } |
1513 | ||
319c6529 RK |
1514 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
1515 | color: #8050B0; | |
1516 | } | |
acb0e9b8 | 1517 | |
319c6529 RK |
1518 | .ac-comment[selected="true"], |
1519 | .ac-url-text[selected="true"], | |
1520 | .ac-action-text[selected="true"] { | |
1521 | color: inherit !important; | |
acb0e9b8 | 1522 | } |
1523 | ||
c1f7cc84 RK |
1524 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
1525 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) | |
319c6529 RK |
1526 | { |
1527 | color: #8050B0; | |
1528 | font-size: smaller; | |
acb0e9b8 | 1529 | } |
319c6529 RK |
1530 | |
1531 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
1532 | border-top: 1px solid #9C9CFF; | |
acb0e9b8 | 1533 | } |
1534 | ||
319c6529 RK |
1535 | /* combined go/reload/stop button in location bar */ |
1536 | ||
ffce2402 | 1537 | #go-button, |
319c6529 RK |
1538 | #urlbar > toolbarbutton { |
1539 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); | |
38cfeb47 | 1540 | /* margin: -2px; */ |
9abeb12c | 1541 | -moz-margin-start: 0; |
ffce2402 | 1542 | padding: 0 2px; |
319c6529 RK |
1543 | background-origin: border-box; |
1544 | border: none; | |
9abeb12c RK |
1545 | -moz-border-start: 1px solid #9C9CFF; |
1546 | } | |
1547 | ||
ffce2402 RK |
1548 | #go-button { |
1549 | padding: 0 3px; | |
1550 | } | |
1551 | ||
9abeb12c | 1552 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { |
38cfeb47 RK |
1553 | border-top-left-radius: 0px; |
1554 | border-bottom-left-radius: 0px; | |
acb0e9b8 | 1555 | } |
acb0e9b8 | 1556 | |
9abeb12c | 1557 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
38cfeb47 RK |
1558 | border-top-right-radius: 0px; |
1559 | border-bottom-right-radius: 0px; | |
9abeb12c RK |
1560 | } |
1561 | ||
dce90fef RK |
1562 | #urlbar > toolbarbutton:not([disabled]):active:hover, |
1563 | #urlbar-reload-button:not(:hover) { | |
1564 | -moz-border-start-style: none; | |
714b11f6 | 1565 | -moz-padding-start: 3px; |
dce90fef RK |
1566 | } |
1567 | ||
1568 | #urlbar > toolbarbutton:not([disabled]):active:hover { | |
acb0e9b8 | 1569 | } |
1570 | ||
319c6529 | 1571 | #urlbar-go-button { |
ffce2402 | 1572 | -moz-image-region: rect(0, 42px, 14px, 28px); |
acb0e9b8 | 1573 | } |
1574 | ||
ffce2402 RK |
1575 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
1576 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | |
1577 | -moz-transform: scaleX(-1); | |
1578 | } | |
1579 | ||
1580 | #urlbar-go-button:hover, | |
1581 | #go-button:hover { | |
1582 | -moz-image-region: rect(14px, 42px, 28px, 28px); | |
acb0e9b8 | 1583 | } |
1584 | ||
319c6529 | 1585 | #urlbar-reload-button { |
ffce2402 | 1586 | -moz-image-region: rect(0px, 14px, 14px, 0px); |
38cfeb47 RK |
1587 | } |
1588 | ||
1589 | #urlbar-reload-button[disabled] { | |
ffce2402 | 1590 | -moz-image-region: rect(28px, 14px, 42px, 0px); |
acb0e9b8 | 1591 | } |
1592 | ||
319c6529 | 1593 | #urlbar-reload-button:not([disabled]):hover { |
ffce2402 | 1594 | -moz-image-region: rect(14px, 14px, 28px, 0px); |
acb0e9b8 | 1595 | } |
319c6529 RK |
1596 | |
1597 | #urlbar-stop-button { | |
ffce2402 | 1598 | -moz-image-region: rect(0px, 28px, 14px, 14px); |
acb0e9b8 | 1599 | } |
319c6529 RK |
1600 | |
1601 | #urlbar-stop-button:hover { | |
ffce2402 | 1602 | -moz-image-region: rect(14px, 28px, 28px, 14px); |
acb0e9b8 | 1603 | } |
1604 | ||
319c6529 RK |
1605 | /* popup blocker button */ |
1606 | ||
1607 | #page-report-button { | |
1608 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | |
1609 | -moz-image-region: rect(0, 16px, 16px, 0); | |
acb0e9b8 | 1610 | } |
319c6529 | 1611 | |
71bac478 | 1612 | #page-report-button:hover , |
319c6529 RK |
1613 | #page-report-button:hover:active, |
1614 | #page-report-button[open="true"] { | |
71bac478 | 1615 | -moz-image-region: rect(0, 32px, 16px, 16px); |
acb0e9b8 | 1616 | } |
1617 | ||
319c6529 RK |
1618 | /* star button */ |
1619 | ||
1620 | #star-button { | |
71bac478 RK |
1621 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); |
1622 | -moz-image-region: rect(16px 16px 32px 0px); | |
acb0e9b8 | 1623 | } |
319c6529 RK |
1624 | |
1625 | #star-button:hover { | |
71bac478 | 1626 | -moz-image-region: rect(16px 32px 32px 16px); |
acb0e9b8 | 1627 | } |
319c6529 RK |
1628 | |
1629 | #star-button:hover:active { | |
71bac478 | 1630 | -moz-image-region: rect(16px 48px 32px 32px); |
acb0e9b8 | 1631 | } |
1632 | ||
319c6529 | 1633 | #star-button[starred="true"] { |
71bac478 RK |
1634 | -moz-image-region: rect(0px 16px 16px 0px); |
1635 | } | |
1636 | ||
1637 | #star-button[starred="true"]:hover { | |
1638 | -moz-image-region: rect(0px 32px 16px 16px); | |
1639 | } | |
1640 | ||
1641 | #star-button[starred="true"]:hover:active { | |
1642 | -moz-image-region: rect(0px 48px 16px 32px); | |
acb0e9b8 | 1643 | } |
319c6529 RK |
1644 | |
1645 | /* bookmarking panel */ | |
1646 | #editBookmarkPanelStarIcon { | |
1647 | list-style-image: url("chrome://browser/skin/places/starred48.png"); | |
1648 | width: 48px; | |
1649 | height: 48px; | |
acb0e9b8 | 1650 | } |
319c6529 RK |
1651 | |
1652 | #editBookmarkPanelStarIcon[unstarred] { | |
1653 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); | |
acb0e9b8 | 1654 | } |
1655 | ||
319c6529 RK |
1656 | #editBookmarkPanelTitle { |
1657 | font-size: 130%; | |
acb0e9b8 | 1658 | } |
319c6529 RK |
1659 | |
1660 | #editBookmarkPanelHeader, | |
1661 | #editBookmarkPanelContent { | |
1662 | margin-bottom: .5em; | |
acb0e9b8 | 1663 | } |
319c6529 RK |
1664 | |
1665 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ | |
1666 | #editBMPanel_folderTree { | |
1667 | min-width: 27em; | |
acb0e9b8 | 1668 | } |
1669 | ||
f993773d | 1670 | .panel-promo-box { |
5a3cfc14 | 1671 | margin: 5px -6px -6px; |
f0eab82c | 1672 | padding: 5px; |
f0eab82c RK |
1673 | border-bottom-left-radius: 5px; |
1674 | border-bottom-right-radius: 5px; | |
f993773d RK |
1675 | border-top: 1px solid #9C9CFF; |
1676 | } | |
1677 | ||
1678 | .panel-promo-icon { | |
1679 | list-style-image: url("chrome://browser/skin/sync-notification-24.png"); | |
1680 | -moz-margin-end: 10px; | |
1681 | vertical-align: middle; | |
1682 | } | |
1683 | ||
1684 | .panel-promo-closebutton { | |
1685 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
f0eab82c RK |
1686 | -moz-margin-end: -3px; |
1687 | margin-top: -3px; | |
f993773d RK |
1688 | } |
1689 | ||
1690 | .panel-promo-closebutton:hover { | |
1691 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
1692 | } | |
1693 | ||
1694 | .panel-promo-closebutton:hover:active { | |
1695 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
1696 | } | |
1697 | ||
1698 | .panel-promo-closebutton > .toolbarbutton-text { | |
1699 | padding: 0; | |
1700 | margin: 0; | |
1701 | } | |
1702 | ||
319c6529 RK |
1703 | /* ::::: content area ::::: */ |
1704 | ||
1705 | #sidebar { | |
1706 | background-color: Window; | |
acb0e9b8 | 1707 | } |
319c6529 RK |
1708 | |
1709 | #sidebar-title { | |
1710 | -moz-padding-start: 0px; | |
acb0e9b8 | 1711 | } |
319c6529 RK |
1712 | |
1713 | /* ::::: throbber ::::: */ | |
1714 | ||
1715 | #navigator-throbber { | |
1716 | width: 16px; | |
1717 | min-height: 16px; | |
1718 | margin: 0 3px; | |
acb0e9b8 | 1719 | } |
1720 | ||
319c6529 RK |
1721 | #navigator-throbber[busy="true"] { |
1722 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif"); | |
acb0e9b8 | 1723 | } |
319c6529 RK |
1724 | |
1725 | #navigator-throbber, | |
1726 | #wrapper-navigator-throbber > #navigator-throbber { | |
1727 | list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif"); | |
acb0e9b8 | 1728 | } |
319c6529 RK |
1729 | |
1730 | /* Tabstrip */ | |
b36fc72e | 1731 | |
319c6529 RK |
1732 | #TabsToolbar { |
1733 | min-height: 0; | |
1734 | padding: 0; | |
b36fc72e RK |
1735 | -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); |
1736 | } | |
1737 | ||
1738 | #TabsToolbar .toolbar-holder { | |
c1f7cc84 | 1739 | background-color: #000000; /* correct effect of being an actual toolbar */ |
acb0e9b8 | 1740 | } |
1741 | ||
b36fc72e | 1742 | #main-window[disablechrome] #TabsToolbar, |
319c6529 RK |
1743 | #TabsToolbar[tabsontop="false"] { |
1744 | border-bottom: 1px solid #FF9F00; | |
acb0e9b8 | 1745 | } |
319c6529 | 1746 | |
319c6529 RK |
1747 | .tabbrowser-tab, |
1748 | .tabs-newtab-button { | |
1749 | margin-top: 0px; | |
acb0e9b8 | 1750 | } |
319c6529 RK |
1751 | |
1752 | .tabbrowser-tab:hover, | |
1753 | .tabs-newtab-button:hover { | |
acb0e9b8 | 1754 | } |
319c6529 RK |
1755 | |
1756 | .tabbrowser-tab[selected="true"] { | |
acb0e9b8 | 1757 | } |
1758 | ||
9abeb12c RK |
1759 | #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { |
1760 | } | |
1761 | ||
319c6529 | 1762 | .tabbrowser-tab:-moz-lwtheme { |
acb0e9b8 | 1763 | } |
319c6529 RK |
1764 | |
1765 | .tabbrowser-tab[selected="true"]:-moz-lwtheme { | |
acb0e9b8 | 1766 | } |
319c6529 RK |
1767 | |
1768 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), | |
1769 | .tabs-newtab-button:-moz-lwtheme-brighttext { | |
acb0e9b8 | 1770 | } |
1771 | ||
319c6529 RK |
1772 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, |
1773 | .tabs-newtab-button:-moz-lwtheme-brighttext:hover { | |
acb0e9b8 | 1774 | } |
319c6529 RK |
1775 | |
1776 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), | |
1777 | .tabs-newtab-button:-moz-lwtheme-darktext { | |
acb0e9b8 | 1778 | } |
319c6529 RK |
1779 | |
1780 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, | |
1781 | .tabs-newtab-button:-moz-lwtheme-darktext:hover { | |
acb0e9b8 | 1782 | } |
1783 | ||
319c6529 RK |
1784 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { |
1785 | background-color: #E7ADE7; | |
613daf44 | 1786 | } |
319c6529 RK |
1787 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { |
1788 | background-color: #0000FF; | |
1789 | color: #000000; | |
613daf44 | 1790 | } |
319c6529 RK |
1791 | |
1792 | .tab-throbber, | |
1793 | .tab-icon-image { | |
1794 | width: 16px; | |
1795 | height: 16px; | |
dce90fef | 1796 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 1797 | -moz-image-region: auto; |
319c6529 | 1798 | -moz-margin-end: 3px; |
613daf44 | 1799 | } |
1800 | ||
319c6529 RK |
1801 | .tab-throbber { |
1802 | list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png"); | |
613daf44 | 1803 | } |
319c6529 RK |
1804 | |
1805 | .tab-throbber[progress] { | |
1806 | list-style-image: url("chrome://browser/skin/tabbrowser/loading.png"); | |
613daf44 | 1807 | } |
319c6529 | 1808 | |
d54f5b23 | 1809 | #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] { |
319c6529 | 1810 | min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */ |
613daf44 | 1811 | } |
1812 | ||
319c6529 RK |
1813 | .tab-throbber[pinned], |
1814 | .tab-icon-image[pinned] { | |
1815 | -moz-margin-start: 2px; | |
1816 | -moz-margin-end: 2px; | |
613daf44 | 1817 | } |
319c6529 RK |
1818 | |
1819 | /* tabbrowser-tab focus ring */ | |
1820 | .tabbrowser-tab:focus > .tab-stack { | |
1821 | outline: 1px dotted; | |
613daf44 | 1822 | } |
319c6529 | 1823 | |
8ad8bf83 | 1824 | /* Tab DnD indicator */ |
319c6529 RK |
1825 | .tab-drop-indicator { |
1826 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); | |
9abeb12c | 1827 | margin-bottom: -11px; |
613daf44 | 1828 | } |
1829 | ||
319c6529 RK |
1830 | /* Tab close button */ |
1831 | .tab-close-button { | |
1832 | border: none; | |
1833 | padding: 0px; | |
1834 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
1835 | } | |
acb0e9b8 | 1836 | |
319c6529 RK |
1837 | .tab-close-button:-moz-system-metric(touch-enabled) { |
1838 | -moz-transform: scale(1.2); | |
1839 | } | |
acb0e9b8 | 1840 | |
319c6529 RK |
1841 | .tab-close-button:hover, |
1842 | .tab-close-button:hover[selected="true"] { | |
1843 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1844 | } |
319c6529 RK |
1845 | |
1846 | .tab-close-button:hover:active, | |
1847 | .tab-close-button:hover:active[selected="true"] { | |
1848 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1849 | } |
319c6529 | 1850 | |
319c6529 RK |
1851 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
1852 | ||
447694c6 | 1853 | @media (-moz-touch-enabled) { |
319c6529 RK |
1854 | .tabbrowser-arrowscrollbox > .scrollbutton-up, |
1855 | .tabbrowser-arrowscrollbox > .scrollbutton-down, | |
1856 | #TabsToolbar .toolbarbutton-1 { | |
1857 | min-width: 8.1mozmm; | |
1858 | } | |
1859 | ||
1860 | .tabs-newtab-button { | |
1861 | min-width: 10mozmm; | |
1862 | } | |
1863 | ||
1864 | .tab-content { | |
1865 | min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */ | |
1866 | } | |
acb0e9b8 | 1867 | } |
319c6529 RK |
1868 | |
1869 | .tabbrowser-arrowscrollbox > .scrollbutton-up, | |
1870 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
319c6529 RK |
1871 | margin: 0; |
1872 | padding-top: 0; | |
1873 | padding-bottom: 0; | |
acb0e9b8 | 1874 | } |
319c6529 | 1875 | |
319c6529 RK |
1876 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
1877 | background-color: #008484; | |
acb0e9b8 | 1878 | } |
319c6529 RK |
1879 | |
1880 | .tabs-newtab-button > .toolbarbutton-icon { | |
1881 | margin-top: -1px; | |
1882 | margin-bottom: -1px; | |
acb0e9b8 | 1883 | } |
319c6529 RK |
1884 | |
1885 | .tabs-newtab-button, | |
1886 | #TabsToolbar > #new-tab-button, | |
1887 | #TabsToolbar > toolbarpaletteitem > #new-tab-button { | |
38cfeb47 | 1888 | list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); |
319c6529 | 1889 | -moz-image-region: rect(0, 16px, 18px, 0); |
acb0e9b8 | 1890 | } |
1891 | ||
319c6529 | 1892 | .tabs-newtab-button { |
c1f7cc84 RK |
1893 | width: 28px; |
1894 | } | |
1895 | ||
1896 | #TabsToolbar > #new-tab-button { | |
1897 | width: 26px; | |
acb0e9b8 | 1898 | } |
319c6529 | 1899 | |
38cfeb47 RK |
1900 | .tabs-newtab-button:hover, |
1901 | #TabsToolbar > #new-tab-button:hover { | |
319c6529 | 1902 | -moz-image-region: rect(0, 32px, 18px, 16px); |
acb0e9b8 | 1903 | } |
319c6529 RK |
1904 | |
1905 | #alltabs-button { | |
1906 | list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png"); | |
1907 | -moz-image-region: rect(0, 14px, 16px, 0); | |
acb0e9b8 | 1908 | } |
1909 | ||
8da9da4e | 1910 | #alltabs-button:hover, |
319c6529 RK |
1911 | #alltabs-button:hover:active { |
1912 | -moz-image-region: rect(0, 28px, 16px, 14px); | |
acb0e9b8 | 1913 | } |
319c6529 RK |
1914 | |
1915 | #alltabs-button[type="menu"] { | |
8da9da4e RK |
1916 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); |
1917 | -moz-image-region: auto; | |
acb0e9b8 | 1918 | } |
1919 | ||
319c6529 RK |
1920 | #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker { |
1921 | display: none; | |
acb0e9b8 | 1922 | } |
319c6529 | 1923 | |
8da9da4e | 1924 | #alltabs-button[type="menu"]:hover, |
319c6529 RK |
1925 | #alltabs-button[type="menu"]:hover:active, |
1926 | #alltabs-button[type="menu"][open="true"] { | |
8da9da4e RK |
1927 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); |
1928 | -moz-image-region: auto; | |
acb0e9b8 | 1929 | } |
319c6529 RK |
1930 | |
1931 | /* All tabs menupopup */ | |
1932 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
dce90fef | 1933 | list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); |
8da9da4e | 1934 | -moz-image-region: auto; |
acb0e9b8 | 1935 | } |
1936 | ||
319c6529 RK |
1937 | .alltabs-item[selected="true"] { |
1938 | font-weight: bold; | |
acb0e9b8 | 1939 | } |
319c6529 RK |
1940 | |
1941 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
1942 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 1943 | } |
319c6529 | 1944 | |
b1234db8 RK |
1945 | .alltabs-item[tabIsVisible] { |
1946 | background-color: #402800; | |
1947 | } | |
1948 | ||
319c6529 RK |
1949 | /* Tabstrip close button */ |
1950 | .tabs-closebutton { | |
1951 | -moz-box-flex: 1; | |
1952 | margin: 0px; | |
1953 | padding: 2px; | |
1954 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
acb0e9b8 | 1955 | } |
1956 | ||
b36fc72e RK |
1957 | .tabs-closebutton > .toolbarbutton-icon { |
1958 | } | |
1959 | ||
8da9da4e RK |
1960 | .tabs-closebutton > .toolbarbutton-text { |
1961 | display: none; | |
1962 | } | |
1963 | ||
319c6529 RK |
1964 | .tabs-closebutton:hover, |
1965 | .tabs-closebutton:hover:active { | |
1966 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1967 | } |
319c6529 RK |
1968 | |
1969 | toolbarbutton.chevron { | |
1970 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
acb0e9b8 | 1971 | } |
319c6529 RK |
1972 | |
1973 | toolbarbutton.chevron:hover { | |
1974 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; | |
acb0e9b8 | 1975 | } |
1976 | ||
319c6529 RK |
1977 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
1978 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { | |
1979 | -moz-transform: scaleX(-1); | |
acb0e9b8 | 1980 | } |
319c6529 RK |
1981 | |
1982 | toolbarbutton.chevron > .toolbarbutton-text, | |
1983 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
1984 | display: none; | |
acb0e9b8 | 1985 | } |
319c6529 RK |
1986 | |
1987 | toolbarbutton.chevron > .toolbarbutton-icon { | |
1988 | margin: 0; | |
acb0e9b8 | 1989 | } |
1990 | ||
319c6529 RK |
1991 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { |
1992 | display: -moz-box; /* display chevron icon in text mode */ | |
acb0e9b8 | 1993 | } |
319c6529 RK |
1994 | |
1995 | #sidebar-throbber[loading="true"] { | |
1996 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
1997 | -moz-margin-end: 4px; | |
acb0e9b8 | 1998 | } |
319c6529 RK |
1999 | |
2000 | /* Bookmarks toolbar */ | |
2001 | #PlacesToolbarDropIndicator { | |
8da9da4e | 2002 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); |
acb0e9b8 | 2003 | } |
2004 | ||
319c6529 RK |
2005 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
2006 | background-color: #008484 !important; | |
2007 | color: #FFCF00 !important; | |
613daf44 | 2008 | } |
319c6529 RK |
2009 | |
2010 | /* rules for menupopup drop indicators */ | |
2011 | .menupopup-drop-indicator-bar { | |
2012 | position: relative; | |
2013 | /* these two margins must together compensate the indicator's height */ | |
2014 | margin-top: -1px; | |
2015 | margin-bottom: -1px; | |
613daf44 | 2016 | } |
319c6529 RK |
2017 | |
2018 | .menupopup-drop-indicator { | |
2019 | list-style-image: none; | |
2020 | height: 2px; | |
2021 | -moz-margin-end: -4em; | |
2022 | background-color: #008484; | |
613daf44 | 2023 | } |
2024 | ||
319c6529 RK |
2025 | /* ::::: Identity Indicator Styling ::::: */ |
2026 | ||
2027 | /* Popup Icons */ | |
2028 | #identity-popup-icon { | |
2029 | height: 64px; | |
2030 | width: 64px; | |
2031 | padding: 0; | |
2032 | list-style-image: url("chrome://browser/skin/identity.png"); | |
2033 | -moz-image-region: rect(0px, 64px, 64px, 0px); | |
613daf44 | 2034 | } |
319c6529 RK |
2035 | |
2036 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { | |
2037 | -moz-image-region: rect(64px, 64px, 128px, 0px); | |
613daf44 | 2038 | } |
319c6529 RK |
2039 | |
2040 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { | |
2041 | -moz-image-region: rect(128px, 64px, 192px, 0px); | |
613daf44 | 2042 | } |
2043 | ||
319c6529 RK |
2044 | /* Popup Body Text */ |
2045 | .identity-popup-description { | |
2046 | white-space: pre-wrap; | |
2047 | -moz-padding-start: 15px; | |
2048 | margin: 2px 0 4px; | |
613daf44 | 2049 | } |
319c6529 RK |
2050 | |
2051 | .identity-popup-label { | |
2052 | white-space: pre-wrap; | |
2053 | -moz-padding-start: 15px; | |
2054 | margin: 0; | |
613daf44 | 2055 | } |
319c6529 RK |
2056 | |
2057 | #identity-popup-content-host , | |
2058 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { | |
2059 | font-size: 1.2em; | |
613daf44 | 2060 | } |
2061 | ||
319c6529 RK |
2062 | #identity-popup-content-host { |
2063 | margin-top: 3px; | |
2064 | margin-bottom: 5px; | |
2065 | font-weight: bold; | |
2066 | max-width: 300px; | |
2067 | } | |
613daf44 | 2068 | |
319c6529 RK |
2069 | #identity-popup-content-owner { |
2070 | margin-top: 4px; | |
2071 | margin-bottom: 0 !important; | |
2072 | font-weight: bold; | |
2073 | max-width: 300px; | |
2074 | } | |
613daf44 | 2075 | |
319c6529 RK |
2076 | .verifiedDomain > #identity-popup-content-owner { |
2077 | font-weight: normal; | |
613daf44 | 2078 | } |
2079 | ||
319c6529 RK |
2080 | #identity-popup-content-verifier { |
2081 | margin: 4px 0 2px; | |
613daf44 | 2082 | } |
2083 | ||
319c6529 RK |
2084 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
2085 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { | |
2086 | margin-top: 10px; | |
2087 | -moz-margin-start: -24px; | |
613daf44 | 2088 | } |
2089 | ||
319c6529 RK |
2090 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
2091 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { | |
2092 | list-style-image: url("chrome://browser/skin/Secure24.png"); | |
613daf44 | 2093 | } |
2094 | ||
319c6529 RK |
2095 | #identity-popup-more-info-button { |
2096 | margin-top: 6px; | |
2097 | margin-bottom: 0; | |
2098 | -moz-margin-end: 0; | |
613daf44 | 2099 | } |
acb0e9b8 | 2100 | |
319c6529 RK |
2101 | .popup-notification-icon { |
2102 | width: 64px; | |
2103 | height: 64px; | |
2104 | -moz-margin-end: 10px; | |
2105 | } | |
acb0e9b8 | 2106 | |
319c6529 RK |
2107 | .popup-notification-icon[popupid="geolocation"] { |
2108 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); | |
acb0e9b8 | 2109 | } |
2110 | ||
319c6529 RK |
2111 | .popup-notification-icon[popupid="xpinstall-disabled"], |
2112 | .popup-notification-icon[popupid="addon-progress"], | |
2113 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
2114 | .popup-notification-icon[popupid="addon-install-blocked"], | |
2115 | .popup-notification-icon[popupid="addon-install-failed"], | |
2116 | .popup-notification-icon[popupid="addon-install-complete"] { | |
2117 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); | |
2118 | width: 32px; | |
2119 | height: 32px; | |
acb0e9b8 | 2120 | } |
319c6529 RK |
2121 | |
2122 | .addon-progress-description { | |
2123 | width: 350px; | |
2124 | max-width: 350px; | |
acb0e9b8 | 2125 | } |
319c6529 RK |
2126 | |
2127 | .popup-progress-label, | |
2128 | .popup-progress-meter { | |
2129 | -moz-margin-start: 0; | |
2130 | -moz-margin-end: 0; | |
acb0e9b8 | 2131 | } |
319c6529 RK |
2132 | |
2133 | .popup-progress-cancel { | |
2134 | -moz-appearance: none; | |
2135 | background: transparent; | |
2136 | border: none; | |
2137 | padding: 0; | |
2138 | margin: 0; | |
2139 | min-height: 0; | |
2140 | min-width: 0; | |
2141 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); | |
2142 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
acb0e9b8 | 2143 | } |
319c6529 RK |
2144 | |
2145 | .popup-progress-cancel:hover { | |
2146 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
acb0e9b8 | 2147 | } |
2148 | ||
319c6529 RK |
2149 | .popup-progress-cancel:active { |
2150 | -moz-image-region: rect(32px, 32px, 48px, 16px); | |
2151 | } | |
acb0e9b8 | 2152 | |
319c6529 RK |
2153 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
2154 | .popup-notification-icon[popupid="indexedDB-quota-prompt"] { | |
2155 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); | |
acb0e9b8 | 2156 | } |
2157 | ||
319c6529 RK |
2158 | .popup-notification-icon[popupid="password-save"], |
2159 | .popup-notification-icon[popupid="password-change"] { | |
2160 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
acb0e9b8 | 2161 | } |
2162 | ||
319c6529 RK |
2163 | /* Notification icon box */ |
2164 | #notification-popup-box { | |
f993773d RK |
2165 | position: relative; |
2166 | background-color: #000000; | |
2167 | background-clip: padding-box; | |
2168 | padding-left: 3px; | |
f0eab82c | 2169 | border-radius: 3px 0 0 3px; |
f993773d RK |
2170 | -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0; |
2171 | -moz-margin-end: -8px; | |
f993773d RK |
2172 | } |
2173 | ||
8ad8bf83 RK |
2174 | window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > |
2175 | :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > | |
e8519ae0 | 2176 | #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box { |
8ad8bf83 | 2177 | padding-left: 5px; |
f993773d RK |
2178 | } |
2179 | ||
2180 | #notification-popup-box:-moz-locale-dir(rtl), | |
2181 | .notification-anchor-icon:-moz-locale-dir(rtl) { | |
2182 | -moz-transform: scaleX(-1); | |
319c6529 | 2183 | } |
acb0e9b8 | 2184 | |
319c6529 | 2185 | .notification-anchor-icon { |
acb0e9b8 | 2186 | width: 16px; |
2187 | height: 16px; | |
2188 | } | |
2189 | ||
319c6529 | 2190 | .notification-anchor-icon:-moz-focusring { |
f0eab82c RK |
2191 | outline: 1px dotted #008484; |
2192 | /* outline-offset: -3px; */ | |
acb0e9b8 | 2193 | } |
2194 | ||
ab799a7a RK |
2195 | #default-notification-icon { |
2196 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
2197 | } | |
2198 | ||
319c6529 RK |
2199 | #geo-notification-icon { |
2200 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); | |
acb0e9b8 | 2201 | } |
2202 | ||
319c6529 RK |
2203 | #addons-notification-icon { |
2204 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
acb0e9b8 | 2205 | } |
2206 | ||
319c6529 RK |
2207 | #indexedDB-notification-icon { |
2208 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
acb0e9b8 | 2209 | } |
2210 | ||
319c6529 RK |
2211 | #password-notification-icon { |
2212 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
acb0e9b8 | 2213 | } |
2214 | ||
319c6529 RK |
2215 | #identity-popup-container { |
2216 | min-width: 280px; | |
2217 | } | |
acb0e9b8 | 2218 | |
319c6529 RK |
2219 | #download-monitor { |
2220 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
2221 | -moz-image-region: rect(0, 108px, 18px, 90px); | |
acb0e9b8 | 2222 | } |
2223 | ||
319c6529 RK |
2224 | /* Bookmarks roots menu-items */ |
2225 | #appmenu_subscribeToPage:not([disabled]), | |
2226 | #appmenu_subscribeToPageMenu, | |
2227 | #subscribeToPageMenuitem:not([disabled]), | |
2228 | #subscribeToPageMenupopup, | |
2229 | #BMB_subscribeToPageMenuitem:not([disabled]), | |
2230 | #BMB_subscribeToPageMenupopup { | |
2231 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); | |
613daf44 | 2232 | } |
2233 | ||
319c6529 RK |
2234 | #bookmarksToolbarFolderMenu, |
2235 | #appmenu_bookmarksToolbar, | |
2236 | #BMB_bookmarksToolbar { | |
8da9da4e | 2237 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
319c6529 RK |
2238 | -moz-image-region: auto; |
2239 | } | |
acb0e9b8 | 2240 | |
319c6529 RK |
2241 | #appmenu_unsortedBookmarks, |
2242 | #BMB_unsortedBookmarks { | |
8da9da4e | 2243 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png"); |
319c6529 | 2244 | -moz-image-region: auto; |
acb0e9b8 | 2245 | } |
2246 | ||
319c6529 | 2247 | /* ::::: Keyboard UI Panel ::::: */ |
acb0e9b8 | 2248 | |
319c6529 RK |
2249 | .KUI-panel { |
2250 | color: #FF9F00; | |
2251 | border-style: none; | |
2252 | border-radius: 20px; | |
acb0e9b8 | 2253 | } |
2254 | ||
319c6529 RK |
2255 | .KUI-panel[level="top"] { |
2256 | /*background-color: rgba(27%,27%,27%,.65);*/ | |
acb0e9b8 | 2257 | } |
2258 | ||
319c6529 RK |
2259 | .KUI-panel-closebutton { |
2260 | list-style-image: url("KUI-close.png"); | |
2261 | width: 24px; | |
2262 | height: 24px; | |
acb0e9b8 | 2263 | } |
2264 | ||
319c6529 | 2265 | .KUI-panel-closebutton:not(:hover) { |
acb0e9b8 | 2266 | } |
2267 | ||
319c6529 | 2268 | .KUI-panel-closebutton > .toolbarbutton-icon { |
acb0e9b8 | 2269 | } |
2270 | ||
319c6529 | 2271 | /* ::::: Ctrl-Tab and All Tabs Panels ::::: */ |
acb0e9b8 | 2272 | |
319c6529 RK |
2273 | /* Ctrl-Tab */ |
2274 | ||
2275 | #ctrlTab-panel { | |
2276 | padding: 20px 10px 10px; | |
2277 | font-weight: bold; | |
acb0e9b8 | 2278 | } |
2279 | ||
319c6529 RK |
2280 | .ctrlTab-favicon[src] { |
2281 | background-color: #000000; | |
2282 | width: 20px; | |
2283 | height: 20px; | |
2284 | padding: 2px; | |
2285 | } | |
acb0e9b8 | 2286 | |
319c6529 | 2287 | .ctrlTab-preview-inner > .tabPreview-canvas { |
acb0e9b8 | 2288 | } |
2289 | ||
319c6529 RK |
2290 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
2291 | margin-bottom: 2px; | |
acb0e9b8 | 2292 | } |
2293 | ||
319c6529 RK |
2294 | .ctrlTab-preview-inner { |
2295 | padding-bottom: 10px; | |
acb0e9b8 | 2296 | } |
2297 | ||
319c6529 RK |
2298 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
2299 | padding: 10px; | |
2300 | background-color: #000000; | |
2301 | border-radius: .5em; | |
acb0e9b8 | 2302 | } |
2303 | ||
319c6529 RK |
2304 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
2305 | color: white; | |
2306 | background-color: #000000; | |
2307 | text-shadow: none; | |
2308 | padding: 8px; | |
2309 | border: 2px solid #9C9CFF; | |
2310 | border-radius: .5em; | |
acb0e9b8 | 2311 | } |
2312 | ||
319c6529 RK |
2313 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
2314 | margin: -10px -10px 0; | |
acb0e9b8 | 2315 | } |
2316 | ||
319c6529 RK |
2317 | #ctrlTab-showAll { |
2318 | margin-top: .5em; | |
acb0e9b8 | 2319 | } |
2320 | ||
319c6529 RK |
2321 | /* All Tabs */ |
2322 | ||
2323 | #allTabs-panel { | |
2324 | padding-bottom: 10px; | |
613daf44 | 2325 | } |
2326 | ||
319c6529 RK |
2327 | #allTabs-meta { |
2328 | margin: 10px; | |
613daf44 | 2329 | } |
2330 | ||
319c6529 RK |
2331 | #allTabs-filter { |
2332 | -moz-margin-start: 24px; | |
2333 | -moz-margin-end: 0; | |
2334 | } | |
acb0e9b8 | 2335 | |
319c6529 | 2336 | #allTabs-tab-close-button > .toolbarbutton-icon { |
acb0e9b8 | 2337 | margin: 0; |
acb0e9b8 | 2338 | } |
319c6529 RK |
2339 | |
2340 | .allTabs-favicon[src] { | |
2341 | width: 22px; | |
2342 | height: 22px; | |
2343 | padding-top: 1px; | |
2344 | padding-bottom: 5px; | |
2345 | -moz-padding-start: 1px; | |
2346 | -moz-padding-end: 5px; | |
2347 | margin-top: -2px; | |
2348 | -moz-margin-start: -2px; | |
2349 | border-bottom-right-radius: 4px; | |
acb0e9b8 | 2350 | } |
2351 | ||
319c6529 RK |
2352 | .allTabs-favicon[src]:-moz-locale-dir(rtl) { |
2353 | border-bottom-right-radius: 0; | |
2354 | border-bottom-left-radius: 4px; | |
acb0e9b8 | 2355 | } |
319c6529 RK |
2356 | |
2357 | .allTabs-preview-inner > .tabPreview-canvas { | |
2358 | background-color: #E7ADE7; | |
acb0e9b8 | 2359 | } |
2360 | ||
319c6529 | 2361 | .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas { |
acb0e9b8 | 2362 | } |
319c6529 RK |
2363 | |
2364 | .allTabs-preview:focus > * > .allTabs-preview-inner { | |
2365 | outline: 1px dotted #008484; | |
acb0e9b8 | 2366 | } |
2367 | ||
319c6529 RK |
2368 | /* Inspector / Highlighter */ |
2369 | ||
2370 | #highlighter-panel { | |
2371 | -moz-window-shadow: none; | |
2372 | background: #000000; | |
2373 | border: none; | |
acb0e9b8 | 2374 | } |
319c6529 RK |
2375 | |
2376 | listitem.style-selector { | |
2377 | background-color: #9C9CFF; | |
2378 | color: #000000; | |
acb0e9b8 | 2379 | } |
2380 | ||
319c6529 RK |
2381 | listitem.style-section { |
2382 | background-color: #E7ADE7; | |
2383 | color: #000000; | |
2384 | font-weight: bold; | |
2385 | } | |
acb0e9b8 | 2386 | |
319c6529 RK |
2387 | panel[dimmed="true"] { |
2388 | opacity: 0.5; | |
acb0e9b8 | 2389 | } |
613daf44 | 2390 | |
b36fc72e RK |
2391 | /* Add-on bar */ |
2392 | ||
2393 | #addon-bar { | |
2394 | min-height: 20px; | |
2395 | border-top: 3px solid #000000; | |
3e6e0e5c | 2396 | border-bottom-width: 0; |
b36fc72e RK |
2397 | } |
2398 | ||
2399 | #addon-bar .toolbar-holder { | |
2400 | background-color: #8050B0; | |
2401 | color: #FFCF00; | |
2402 | } | |
2403 | ||
2404 | #addon-bar .toolbar-holder { | |
2405 | background-color: #8050B0; | |
2406 | color: #FFCF00; | |
2407 | } | |
2408 | ||
2409 | #addon-bar .toolbar-startcap, | |
2410 | #addon-bar .toolbar-endcap{ | |
2411 | background-color: #6000CF; | |
2412 | } | |
2413 | ||
319c6529 | 2414 | #status-bar { |
b36fc72e | 2415 | -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar"); |
319c6529 RK |
2416 | margin-top: .3em; |
2417 | border-width: 0; | |
613daf44 | 2418 | } |
2419 | ||
e0c47e26 RK |
2420 | #addon-bar[customizing] > #status-bar { |
2421 | opacity: .5; | |
2422 | /* background-image: -moz-repeating-linear-gradient(-45deg, | |
2423 | rgba(255,255,255,.3), rgba(255,255,255,.3) 5px, | |
2424 | rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/ | |
2425 | } | |
2426 | ||
319c6529 RK |
2427 | /* Remove all borders from statusbarpanel children of |
2428 | the statusbar. | |
2429 | #status-bar > statusbarpanel { | |
2430 | border-width: 0; | |
2431 | } */ | |
2432 | ||
319c6529 RK |
2433 | #addonbar-closebutton { |
2434 | border: none; | |
2435 | padding: 3px 5px; | |
2436 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
613daf44 | 2437 | } |
2438 | ||
319c6529 RK |
2439 | #addonbar-closebutton:hover, |
2440 | #addonbar-closebutton:hover:active { | |
2441 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
613daf44 | 2442 | } |
9abeb12c RK |
2443 | |
2444 | /* Status panel */ | |
2445 | ||
2446 | .statuspanel-label { | |
2447 | margin: 0; | |
2448 | padding: 2px 4px; | |
38cfeb47 | 2449 | background: #404000; |
9abeb12c RK |
2450 | border: 1px none #9C9CFF; |
2451 | border-top-style: solid; | |
2452 | color: #FF9F00; | |
2453 | text-shadow: none; | |
2454 | } | |
2455 | ||
2456 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), | |
2457 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { | |
2458 | border-right-style: solid; | |
2459 | border-top-right-radius: .3em; | |
2460 | margin-right: 1em; | |
2461 | } | |
2462 | ||
2463 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), | |
2464 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { | |
2465 | border-left-style: solid; | |
2466 | border-top-left-radius: .3em; | |
2467 | margin-left: 1em; | |
2468 | } | |
3e6e0e5c RK |
2469 | |
2470 | /* HACK to abolish devily color on main content */ | |
2471 | ||
2472 | #content { | |
2473 | background-color: transparent !important; | |
2474 | } | |
dce90fef RK |
2475 | |
2476 | /* Highlighter */ | |
2477 | ||
2478 | .highlighter-veil { | |
4d58ff64 | 2479 | background-color: rgba(25, 25, 25, 0.5); |
dce90fef RK |
2480 | } |
2481 | ||
8ad8bf83 RK |
2482 | #highlighter-closebutton { |
2483 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
dce90fef RK |
2484 | } |
2485 | ||
8ad8bf83 RK |
2486 | #highlighter-closebutton:hover, |
2487 | #highlighter-closebutton:hover:active { | |
2488 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
dce90fef RK |
2489 | } |
2490 | ||
2491 | highlighter-veil-transparentbox { | |
2492 | box-shadow: 0 0 0 1px rgba(0,0,0,0.5); | |
2493 | outline: 1px dashed rgba(255,255,255,0.5); | |
2494 | outline-offset: -1px; | |
2495 | } | |
2496 | ||
4c765db1 | 2497 | #highlighter-veil-container[locked] > #highlighter-veil-middlebox > #highlighter-veil-transparentbox { |
dce90fef RK |
2498 | box-shadow: 0 0 0 1px black; |
2499 | outline-color: white; | |
2500 | } | |
4c765db1 | 2501 | |
8ad8bf83 RK |
2502 | /* Highlighter toolbar */ |
2503 | ||
2504 | #inspector-toolbar { | |
2505 | border-top: 3px solid #000000; | |
2506 | border-bottom: none; | |
2507 | } | |
2508 | ||
2509 | #inspector-toolbar[treepanel-open] { | |
2510 | padding-top: 0; | |
2511 | -moz-padding-end: 0; | |
2512 | } | |
2513 | ||
2514 | #inspector-tools { | |
8ad8bf83 RK |
2515 | -moz-padding-end: 2px; |
2516 | border-left: 3px solid #000000; | |
2517 | border-right: 3px solid #000000; | |
2518 | -moz-margin-start: 2px; | |
8ad8bf83 RK |
2519 | } |
2520 | ||
2521 | /* Highlighter - toolbar resizers */ | |
2522 | ||
2523 | .inspector-resizer { | |
4c765db1 RK |
2524 | -moz-appearance: none; |
2525 | cursor: n-resize; | |
2526 | } | |
8ad8bf83 RK |
2527 | |
2528 | #inspector-top-resizer { | |
2529 | background: none; | |
2530 | height: 4px; | |
2531 | } | |
2532 | ||
2533 | #inspector-end-resizer { | |
2534 | width: 12px; | |
2535 | height: 8px; | |
2536 | border-width: 1px 1px 0; | |
2537 | border-style: solid; | |
2538 | border-color: #008484; | |
2539 | margin: 7px 7px 8px; | |
2540 | } | |
2541 | ||
2542 | /* Highlighter - Node Infobar */ | |
2543 | ||
2544 | /* Highlighter - Node Infobar - text */ | |
2545 | ||
2546 | #highlighter-nodeinfobar-tagname { | |
2547 | color: #FFCF00; | |
2548 | } | |
2549 | ||
2550 | #highlighter-nodeinfobar-id { | |
2551 | color: #9C9CFF; | |
2552 | } | |
2553 | ||
2554 | .highlighter-nodeinfobar-class { | |
2555 | color: #FF9F00; | |
2556 | } | |
2557 | ||
2558 | /* Highlighter - Node Infobar - box & arrow */ | |
2559 | ||
2560 | #highlighter-nodeinfobar { | |
2561 | border: 1px solid rgba(156, 156, 255, .5); | |
2562 | border-radius: 3px; | |
2563 | padding: 8px 16px; | |
2564 | background: #000000 padding-box; | |
2565 | } | |
2566 | ||
2567 | .highlighter-nodeinfobar-arrow { | |
2568 | width: 14px; | |
2569 | height: 14px; | |
2570 | -moz-margin-start: -moz-calc(50% - 7px); | |
2571 | -moz-transform: rotate(-45deg); | |
2572 | border: 1px solid transparent; | |
2573 | background-clip: padding-box; | |
2574 | background-repeat: no-repeat; | |
2575 | } | |
2576 | ||
2577 | #highlighter-nodeinfobar-arrow-top { | |
2578 | margin-bottom: -8px; | |
2579 | margin-top: 8px; | |
2580 | border-right-color: rgba(0, 132, 132, .5); | |
2581 | border-top-color: rgba(0, 132, 132, .5); | |
2582 | background-image: -moz-linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%); | |
2583 | } | |
2584 | ||
2585 | #highlighter-nodeinfobar-arrow-bottom { | |
2586 | margin-top: -8px; | |
2587 | margin-bottom: 8px; | |
2588 | border-left-color: rgba(0, 132, 132, .5); | |
2589 | border-bottom-color: rgba(0, 132, 132, .5); | |
2590 | background-image: -moz-linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%); | |
2591 | } | |
2592 | ||
2593 | #highlighter-nodeinfobar-container[position="top"] > #highlighter-nodeinfobar, | |
2594 | #highlighter-nodeinfobar-container[position="overlap"] > #highlighter-nodeinfobar { | |
2595 | box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset; | |
2596 | } | |
2597 | ||
2598 | #highlighter-nodeinfobar-container[hide-arrow] > #highlighter-nodeinfobar { | |
2599 | margin: 7px 0; | |
2600 | } | |
2601 | ||
2602 | #full-screen-warning-message { | |
2603 | background-color: #000000; | |
2604 | color: #FF9F00; | |
2605 | font-size: 32px; | |
2606 | border-radius: 8px; | |
2607 | margin-top: 30px; | |
2608 | padding: 30px 50px; | |
2609 | box-shadow: 0 0 2px #9C9CFF; | |
2610 | } | |
2611 | ||
2612 | #full-screen-warning-container[obscure-browser] { | |
2613 | background-color: rgba(0,0,0,0.75); | |
2614 | } | |
2615 | ||
2616 | #full-screen-warning-container[stop-obscuring-browser] { | |
2617 | -moz-transition-property: background-color; | |
2618 | -moz-transition-duration: 500ms; | |
2619 | background-color: rgba(0,0,0,0); | |
2620 | } | |
2621 | ||
2622 | /* Highlighter toolbar - breadcrumbs */ | |
2623 | ||
2624 | #inspector-breadcrumbs { | |
2625 | padding: 0 6px; | |
2626 | } | |
2627 | ||
2628 | .inspector-breadcrumbs-button { | |
e4cecae1 RK |
2629 | /*background-color: transparent;*/ |
2630 | border-width: 2px 13px !important; | |
2631 | outline: none; | |
8ad8bf83 RK |
2632 | /* color: hsl(210,30%,85%); */ |
2633 | max-width: 85px; | |
2634 | /* The content of the button can be larger than the button */ | |
2635 | overflow: hidden; | |
2636 | min-height: 25px; | |
8ad8bf83 RK |
2637 | margin: 0 -11px 0 0; |
2638 | padding: 0 9px; | |
2639 | } | |
2640 | ||
2641 | .inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-tag { | |
2642 | /*color: hsl(208,100%,60%); */ | |
2643 | } | |
2644 | ||
2645 | .inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-id { | |
2646 | /*color: hsl(205,100%,70%); */ | |
2647 | } | |
2648 | ||
2649 | .inspector-breadcrumbs-id, | |
2650 | .inspector-breadcrumbs-classes { | |
2651 | /*color: #8d99a6; */ | |
2652 | } | |
2653 | ||
2654 | /* Highlighter toolbar - breadcrumbs - LTR */ | |
2655 | ||
2656 | .inspector-breadcrumbs-button:-moz-locale-dir(ltr):first-of-type { | |
2657 | margin-left: 0; | |
2658 | } | |
2659 | ||
2660 | .inspector-breadcrumbs-button { | |
e4cecae1 | 2661 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2662 | } |
2663 | ||
2664 | .inspector-breadcrumbs-button[siblings-menu-open]:not([checked]), | |
2665 | .inspector-breadcrumbs-button:not([checked]):hover:active { | |
e4cecae1 | 2666 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2667 | } |
2668 | ||
2669 | .inspector-breadcrumbs-button[checked] { | |
e4cecae1 | 2670 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2671 | } |
2672 | ||
2673 | .inspector-breadcrumbs-button[checked][siblings-menu-open], | |
2674 | .inspector-breadcrumbs-button[checked]:hover:active { | |
e4cecae1 | 2675 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2676 | } |
2677 | ||
2678 | .inspector-breadcrumbs-button:first-of-type { | |
e4cecae1 | 2679 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2680 | } |
2681 | ||
2682 | .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]), | |
2683 | .inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active { | |
e4cecae1 | 2684 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2685 | } |
2686 | ||
2687 | .inspector-breadcrumbs-button:first-of-type[checked] { | |
e4cecae1 | 2688 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2689 | } |
2690 | ||
2691 | .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked], | |
2692 | .inspector-breadcrumbs-button:first-of-type[checked]:hover:active { | |
e4cecae1 | 2693 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2694 | } |
2695 | ||
2696 | .inspector-breadcrumbs-button:last-of-type { | |
e4cecae1 | 2697 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2698 | } |
2699 | ||
2700 | .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]), | |
2701 | .inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active { | |
e4cecae1 | 2702 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2703 | } |
2704 | ||
2705 | .inspector-breadcrumbs-button:last-of-type[checked] { | |
e4cecae1 | 2706 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2707 | } |
2708 | ||
2709 | .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked], | |
2710 | .inspector-breadcrumbs-button:last-of-type[checked]:hover:active { | |
e4cecae1 | 2711 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2712 | } |
2713 | ||
2714 | /* Highlighter toolbar - breadcrumbs - RTL */ | |
2715 | ||
2716 | .inspector-breadcrumbs-button:-moz-locale-dir(rtl):first-of-type { | |
2717 | margin-right: 0; | |
2718 | } | |
2719 | ||
2720 | .inspector-breadcrumbs-button:-moz-locale-dir(rtl) { | |
e4cecae1 | 2721 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2722 | } |
2723 | ||
2724 | .inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl), | |
2725 | .inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) { | |
e4cecae1 | 2726 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2727 | } |
2728 | ||
2729 | .inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) { | |
e4cecae1 | 2730 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2731 | } |
2732 | ||
2733 | .inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl), | |
2734 | .inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) { | |
e4cecae1 | 2735 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2736 | } |
2737 | ||
2738 | .inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) { | |
e4cecae1 | 2739 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2740 | } |
2741 | ||
2742 | .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl), | |
2743 | .inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { | |
e4cecae1 | 2744 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2745 | } |
2746 | ||
2747 | .inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) { | |
e4cecae1 | 2748 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2749 | } |
2750 | ||
2751 | .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl), | |
2752 | .inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) { | |
e4cecae1 | 2753 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2754 | } |
2755 | ||
2756 | .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) { | |
e4cecae1 | 2757 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2758 | } |
2759 | ||
2760 | .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl), | |
2761 | .inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { | |
e4cecae1 | 2762 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2763 | } |
2764 | ||
2765 | .inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) { | |
e4cecae1 | 2766 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 2 13 2 13 stretch; |
8ad8bf83 RK |
2767 | } |
2768 | ||
2769 | .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl), | |
2770 | .inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) { | |
e4cecae1 | 2771 | -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 stretch; |
8ad8bf83 | 2772 | } |