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