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