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