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