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