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