bump app versions
[themes.git] / LCARStrek / navigator / navigator.css
... / ...
CommitLineData
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
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/
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 "Classic" theme of mozilla.org code.
15 *
16 * The Initial Developer of the Original Code is
17 * the Mozilla Organization.
18 * Portions created by the Initial Developer are Copyright (C) 1998-2001
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Robert Kaiser <KaiRo@KaiRo.at>
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38/** Contains style definitions for the navigator application
39 **/
40
41@import url("chrome://navigator/content/navigator.css");
42@import url("chrome://communicator/skin/");
43@import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
44
45@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
47/* ::::: primary toolbar buttons ::::: */
48
49#back-button {
50 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
51 -moz-image-region: rect(42px 25px 63px 0px);
52}
53
54#back-button[disabled="true"] {
55 -moz-image-region: rect(42px 50px 63px 25px);
56}
57
58#back-button:not([disabled="true"]):hover,
59#back-button:not([disabled="true"]):hover:active,
60#back-button[open="true"] {
61 -moz-image-region: rect(42px 75px 63px 50px);
62}
63
64#forward-button {
65 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
66 -moz-image-region: rect(63px 25px 84px 0px);
67}
68
69#forward-button[disabled="true"] {
70 -moz-image-region: rect(63px 50px 84px 25px);
71}
72
73#forward-button:not([disabled="true"]):hover,
74#forward-button:not([disabled="true"]):hover:active,
75#forward-button[open="true"] {
76 -moz-image-region: rect(63px 75px 84px 50px);
77}
78
79#reload-button {
80 list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png");
81 -moz-image-region: rect(0px 25px 21px 0px);
82}
83
84#reload-button[disabled="true"] {
85 -moz-image-region: rect(0px 50px 21px 25px);
86}
87
88#reload-button:not([disabled="true"]):hover,
89#reload-button:not([disabled="true"]):hover:active {
90 -moz-image-region: rect(0px 75px 21px 50px);
91}
92
93#stop-button {
94 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
95 -moz-image-region: rect(21px 25px 42px 0px);
96}
97
98#stop-button[disabled="true"] {
99 -moz-image-region: rect(21px 50px 42px 25px);
100}
101
102#stop-button:not([disabled="true"]):hover,
103#stop-button:not([disabled="true"]):hover:active {
104 -moz-image-region: rect(21px 75px 42px 50px);
105}
106
107#home-button {
108 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
109 -moz-image-region: rect(84px 25px 105px 0px);
110}
111
112#home-button[disabled="true"] {
113 -moz-image-region: rect(84px 50px 105px 25px);
114}
115
116#home-button:not([disabled="true"]):hover,
117#home-button:not([disabled="true"]):hover:active {
118 -moz-image-region: rect(84px 75px 105px 50px);
119}
120
121#sync-button {
122 list-style-image: url("chrome://communicator/skin/sync/sync-32.png");
123}
124
125#sync-button[status=active] {
126 list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png");
127}
128
129#clear-button {
130 list-style-image: url("chrome://global/skin/icons/close-button.gif");
131}
132
133#clear-button:hover {
134 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
135}
136
137/* ::::: small primary toolbar buttons ::::: */
138
139toolbar[iconsize="small"] > #back-button {
140 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
141 -moz-image-region: rect(32px 16px 48px 0);
142}
143
144toolbar[iconsize="small"] > #back-button[disabled="true"] {
145 -moz-image-region: rect(32px 32px 48px 16px) !important;
146}
147
148toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover,
149toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active {
150 -moz-image-region: rect(32px 48px 48px 32px);
151}
152
153toolbar[iconsize="small"] > #forward-button {
154 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
155 -moz-image-region: rect(48px 16px 64px 0);
156}
157
158toolbar[iconsize="small"] > #forward-button[disabled="true"] {
159 -moz-image-region: rect(48px 32px 64px 16px) !important;
160}
161
162toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover,
163toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active {
164 -moz-image-region: rect(48px 48px 64px 32px);
165}
166
167toolbar[iconsize="small"] > #reload-button {
168 list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png");
169 -moz-image-region: rect(0 16px 16px 0);
170}
171
172toolbar[iconsize="small"] > #reload-button[disabled="true"] {
173 -moz-image-region: rect(0 32px 16px 16px) !important;
174}
175
176toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover,
177toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active {
178 -moz-image-region: rect(0 48px 16px 32px);
179}
180
181toolbar[iconsize="small"] > #stop-button {
182 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
183 -moz-image-region: rect(16px 16px 32px 0);
184}
185
186toolbar[iconsize="small"] > #stop-button[disabled="true"] {
187 -moz-image-region: rect(16px 32px 32px 16px) !important;
188}
189
190toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover,
191toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active {
192 -moz-image-region: rect(16px 48px 32px 32px);
193}
194
195toolbar[iconsize="small"] > #home-button {
196 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
197 -moz-image-region: rect(64px 16px 80px 0);
198}
199
200toolbar[iconsize="small"] > #home-button[disabled="true"] {
201 -moz-image-region: rect(64px 32px 80px 16px) !important;
202}
203
204toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover,
205toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active {
206 -moz-image-region: rect(64px 48px 80px 32px);
207}
208
209toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button,
210toolbar[iconsize="small"] > #sync-button {
211 list-style-image: url("chrome://communicator/skin/sync/sync-16.png");
212}
213
214toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active],
215toolbar[iconsize="small"] > #sync-button[status=active] {
216 list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png");
217}
218
219#FindToolbar:-moz-lwtheme {
220/* -moz-border-top-colors: transparent;
221 -moz-border-bottom-colors: transparent; */
222}
223
224/* ::::: fullscreen window controls ::::: */
225
226#window-controls {
227 -moz-box-align: center;
228 padding: 0 1px;
229 border-left: 3px solid #000000;
230 -moz-margin-start: 2px;
231}
232
233#window-controls > toolbarbutton {
234 padding: 3px;
235 -moz-padding-start: 2px;
236 -moz-padding-end: 1px;
237}
238
239toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
240 display: -moz-box;
241}
242
243#minimize-button {
244 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
245}
246
247#minimize-button:hover {
248 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
249}
250
251#restore-button {
252 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
253}
254
255#restore-button:hover {
256 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
257}
258
259#close-button {
260 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
261}
262
263#close-button:hover {
264 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
265}
266
267/* ::::: nav-bar-inner ::::: */
268
269.nav-bar-class {
270 -moz-padding-start: 1px;
271 -moz-padding-end: 1px;
272 min-width: 0px;
273 -moz-box-align: center;
274}
275
276#urlbar {
277 border-radius: 5px;
278 margin: 0;
279 -moz-margin-start: 3px;
280 /* make color as light as possible to deal with dark non-domain parts */
281 color: #FFBFFF;
282}
283
284.urlbar-security-level {
285 border-radius: 3px 0 0 3px;
286 padding: 2px;
287}
288
289.urlbar-security-level[level="high"],
290.urlbar-security-level[level="low"] {
291 background-color: #FFCF00;
292 color: #000000;
293}
294
295#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > .button-toolbar,
296#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > #urlbar > .urlbar-icons {
297 display: none;
298}
299
300/* ::::: notification popups ::::: */
301
302.popup-notification-icon {
303 width: 64px;
304 height: 64px;
305 -moz-margin-end: 10px;
306}
307
308.popup-notification-icon[popupid="geolocation"] {
309 list-style-image: url("chrome://communicator/skin/icons/geolocation-64.png");
310}
311
312.popup-notification-icon[popupid="addon-install-disabled"],
313.popup-notification-icon[popupid="addon-install-blocked"],
314.popup-notification-icon[popupid="addon-install-started"],
315.popup-notification-icon[popupid="addon-install-cancelled"],
316.popup-notification-icon[popupid="addon-install-failed"],
317.popup-notification-icon[popupid="addon-install-complete"],
318.popup-notification-icon[popupid="lwtheme-install-request"],
319.popup-notification-icon[popupid="lwtheme-install-notification"] {
320 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
321 width: 32px;
322 height: 32px;
323}
324
325.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
326.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
327 list-style-image: url("chrome://global/skin/icons/question-64.png");
328}
329
330.popup-notification-icon[popupid="password-change"],
331.popup-notification-icon[popupid="password-save"] {
332 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
333}
334
335.popup-notification-icon[popupid="click-to-play-plugins"] {
336 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
337 width: 32px;
338 height: 32px;
339}
340
341.addon-progress-description {
342 width: 350px;
343 max-width: 350px;
344}
345
346/* Notification icon box */
347#notification-popup-box {
348 -moz-margin-end: 3px;
349}
350
351.notification-anchor-icon:-moz-focusring {
352 outline: 1px dotted;
353}
354
355#default-notification-icon {
356 list-style-image: url("chrome://global/skin/icons/information-16.png");
357 width: 16px;
358 height: 16px;
359}
360
361#geo-notification-icon {
362 list-style-image: url("chrome://communicator/skin/icons/geolocation-16.png");
363 width: 16px;
364 height: 16px;
365}
366
367#addons-notification-icon {
368 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
369 width: 16px;
370 height: 16px;
371}
372
373#indexedDB-notification-icon {
374 list-style-image: url("chrome://global/skin/icons/question-16.png");
375 width: 16px;
376 height: 16px;
377}
378
379#password-notification-icon {
380 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
381 width: 16px;
382 height: 16px;
383}
384
385#plugins-notification-icon {
386 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
387 width: 16px;
388 height: 16px;
389}
390
391/* ::::: page proxy icon ::::: */
392
393#page-proxy-deck,
394#page-proxy-favicon,
395#page-proxy-button {
396 width: 16px;
397 height: 16px;
398}
399
400#page-proxy-deck {
401 cursor: -moz-grab;
402 margin: 0;
403}
404
405#page-proxy-button {
406 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
407}
408
409#page-proxy-favicon {
410 list-style-image: none;
411}
412
413/* ::::: autocomplete ::::: */
414
415.autocomplete-treebody::-moz-tree-cell-text(value) {
416 -moz-padding-start: 13px;
417}
418
419.autocomplete-treebody::-moz-tree-cell-text(comment) {
420 color: #E7ADE7;
421/* font-style: italic; */
422}
423
424.autocomplete-search-box {
425 border-top: 1px solid #FF9F00;
426 background-color: #9C9CFF;
427 color: #000000;
428}
429
430.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
431 border-top: 1px solid #9C9CFF;
432}
433
434.autocomplete-search-engine {
435 padding: 2px;
436}
437
438.autocomplete-search-engine[menuactive="true"] {
439 background-color: #008484;
440 color: #FFCF00;
441}
442
443.autocomplete-search-engine-img {
444 -moz-margin-end: 4px;
445}
446
447.autocomplete-history-dropmarker:hover {
448 background-color: #FFCF00;
449}
450
451.autocomplete-history-dropmarker:hover:active,
452.autocomplete-history-dropmarker[open="true"] {
453 background-color: #FF9F00;
454}
455
456.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
457 color: #E7ADE7;
458}
459
460/* ::::: go and searchbuttons ::::: */
461
462#search-button,
463#go-button {
464 margin: 0;
465 padding: 2px 0;
466 -moz-margin-start: 2px;
467 background-color: #000000;
468}
469
470#search-button:hover,
471#go-button:hover {
472 background-color: #FFCF00;
473}
474
475/* care that those buttons base on the same min height of 16px that the urlbar
476 autocomplete box gets through site icon and urlbar icons at the right */
477#search-button > .button-box,
478#go-button > .button-box {
479 min-height: 16px;
480}
481
482#search-button {
483/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
484}
485
486#search-button > .button-box > .button-icon {
487 display: -moz-box;
488}
489
490/*
491toolbar[mode="text"] #search-button > .button-box > .button-icon,
492toolbar[mode="icons"] #search-button > .button-box > .button-text {
493 display: none;
494}
495*/
496
497/* ::::: search bar ::::: */
498
499.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
500.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) {
501 color: #E7ADE7;
502 font-size: smaller;
503}
504
505.autocomplete-treebody::-moz-tree-cell(suggesthint) {
506 border-top: 1px solid #E7ADE7;
507}
508
509/* ::::: throbber ::::: */
510
511#throbber-box {
512 -moz-margin-start: 2px;
513}
514
515/* ::::: security button ::::: */
516
517#security-button {
518 list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
519}
520
521#security-button > .statusbarpanel-contentbox > .statusbarpanel-text {
522 margin: 0px;
523}
524
525/* |high| and |low| styles could be different, to better reflect the secure level... */
526#security-button[level="high"] > .statusbarpanel-contentbox,
527#security-button[level="low"] > .statusbarpanel-contentbox {
528 list-style-image: url("chrome://communicator/skin/icons/lock-secure-hover.png");
529 background-color: #FFCF00;
530}
531
532#security-button[level="broken"] > .statusbarpanel-contentbox {
533 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
534 background-color: #FF0000;
535}
536
537#security-button[label][level="high"] > .statusbarpanel-contentbox {
538 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
539 background-color: #008484;
540 color: #FFCF00;
541}
542
543#ev-button {
544 list-style-image: url("chrome://communicator/skin/icons/identity.png");
545}
546
547#popupIcon {
548 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
549}
550
551#invalid-form-popup {
552 border: 1px solid #FFCF00;
553 border : 1px outset #FFFFCC;
554 padding: 2px 3px 0px 3px;
555 max-width: 40em;
556 background-color: #9C9CFF;
557 color: #000000;
558 font-weight: bold;
559}
560
561/* ::::: personal toolbar ::::: */
562
563#bookmarks-button {
564 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
565}
566
567#bookmarks-button[open="true"] {
568 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
569}
570
571toolbarbutton.chevron {
572 list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
573}
574
575toolbarbutton.chevron:hover,
576toolbarbutton.chevron[open="true"] {
577 list-style-image: url("chrome://navigator/skin/icons/chevron-hover.gif") !important;
578}
579
580toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
581 display: none;
582}
583
584toolbarbutton.chevron > .toolbarbutton-text {
585 display: none; /* hide chevron label which has a width even if blank */
586}
587
588toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
589 display: -moz-box; /* display chevron icon in text mode */
590}
591
592/* Prevent [mode="icons"|"text"] from hiding the label and icon */
593#bookmarks-ptf .bookmark-item > .toolbarbutton-text,
594#bookmarks-ptf .bookmark-item > .toolbarbutton-icon {
595 display: -moz-box !important;
596}
597
598#PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon,
599#PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon {
600 /* width: 16px;
601 height: 16px; */
602}
603
604#PersonalToolbar > #home-button {
605 cursor: pointer;
606}
607
608#PersonalToolbar > #home-button[disabled="true"] {
609 cursor: default !important;
610}
611
612/*
613 In customize mode we hide the normal bookmark items and show a placeholder
614 for the drag/drop UI.
615*/
616.bookmarks-toolbar-customize {
617 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
618 display: none;
619 max-width: 15em !important;
620}
621
622#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
623 width: 16px;
624 height: 16px;
625 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
626}
627
628/* ::::: star button ::::: */
629
630#star-button {
631 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
632 -moz-image-region: rect(16px 16px 32px 0px);
633}
634
635#star-button:hover {
636 -moz-image-region: rect(16px 32px 32px 16px);
637}
638
639#star-button:hover:active {
640 -moz-image-region: rect(16px 48px 32px 32px);
641}
642
643#star-button[starred="true"] {
644 -moz-image-region: rect(0px 16px 16px 0px);
645}
646
647#star-button[starred="true"]:hover {
648 -moz-image-region: rect(0px 32px 16px 16px);
649}
650
651#star-button[starred="true"]:hover:active {
652 -moz-image-region: rect(0px 48px 16px 32px);
653}
654
655#editBookmarkPanelStarIcon {
656 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
657 -moz-image-region: rect(0px 16px 16px 0px);
658}
659
660/* ::::: feeds ::::: */
661
662.feedsMenu {
663 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
664 -moz-image-region: rect(0px 16px 16px 0px);
665}
666
667.feedsMenu[disabled="true"] {
668 -moz-image-region: rect(32px 16px 48px 0px);
669}
670
671.feedsButton {
672 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
673 -moz-image-region: rect(0px 32px 16px 16px);
674}
675
676.feedsButton:hover {
677 -moz-image-region: rect(16px 32px 32px 16px);
678}
679
680.feedsButton:hover:active {
681 -moz-image-region: rect(48px 32px 64px 16px);
682}