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