complete version switch in origdiff
[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
fb2b5761
RK
193/* ::::: notification popups ::::: */
194
fb2b5761
RK
195.popup-notification-icon {
196 width: 64px;
197 height: 64px;
198 -moz-margin-end: 10px;
199}
200
201.popup-notification-icon[popupid="geolocation"] {
202 list-style-image: url("chrome://communicator/skin/icons/geolocation-64.png");
203}
204
e90cc3a4
RK
205.popup-notification-icon[popupid="web-notifications"] {
206 list-style-image: url("chrome://communicator/skin/icons/notification-64.png");
207}
208
a3b6328b
RK
209.popup-notification-icon[popupid="addon-install-disabled"],
210.popup-notification-icon[popupid="addon-install-blocked"],
b4af54ca
RK
211.popup-notification-icon[popupid="addon-install-started"],
212.popup-notification-icon[popupid="addon-install-cancelled"],
a3b6328b 213.popup-notification-icon[popupid="addon-install-failed"],
c1f7cc84
RK
214.popup-notification-icon[popupid="addon-install-complete"],
215.popup-notification-icon[popupid="lwtheme-install-request"],
216.popup-notification-icon[popupid="lwtheme-install-notification"] {
a3b6328b
RK
217 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
218 width: 32px;
219 height: 32px;
220}
221
c2e1f790
RK
222.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
223.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
224 list-style-image: url("chrome://global/skin/icons/question-64.png");
225}
226
227.popup-notification-icon[popupid="password-change"],
fb2b5761
RK
228.popup-notification-icon[popupid="password-save"] {
229 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
230}
231
719b06bc
RK
232.popup-notification-icon[popupid="click-to-play-plugins"] {
233 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
e90cc3a4 234 margin: 0px;
719b06bc
RK
235 width: 32px;
236 height: 32px;
237}
e90cc3a4 238
719b06bc
RK
239.addon-progress-description {
240 width: 350px;
241 max-width: 350px;
242}
243
fb2b5761
RK
244/* Notification icon box */
245#notification-popup-box {
246 -moz-margin-end: 3px;
247}
248
249.notification-anchor-icon:-moz-focusring {
250 outline: 1px dotted;
251}
252
c2e1f790
RK
253#default-notification-icon {
254 list-style-image: url("chrome://global/skin/icons/information-16.png");
255 width: 16px;
256 height: 16px;
257}
258
fb2b5761
RK
259#geo-notification-icon {
260 list-style-image: url("chrome://communicator/skin/icons/geolocation-16.png");
261 width: 16px;
262 height: 16px;
263}
264
e90cc3a4
RK
265#web-notifications-notification-icon {
266 list-style-image: url("chrome://communicator/skin/icons/notification-16.png");
267 width: 16px;
268 height: 16px;
269}
270
a3b6328b
RK
271#addons-notification-icon {
272 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
273 width: 16px;
274 height: 16px;
275}
276
c2e1f790
RK
277#indexedDB-notification-icon {
278 list-style-image: url("chrome://global/skin/icons/question-16.png");
279 width: 16px;
280 height: 16px;
281}
282
fb2b5761
RK
283#password-notification-icon {
284 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
285 width: 16px;
286 height: 16px;
287}
288
719b06bc
RK
289#plugins-notification-icon {
290 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
291 width: 16px;
292 height: 16px;
293}
294
aaff81fb
RK
295.click-to-play-plugins-notification-content {
296 margin: -10px;
297 border-radius: 4px;
298}
299
e90cc3a4
RK
300.click-to-play-plugins-notification-icon-box {
301 background-color: #CCD0DD;
302 -moz-border-end: 1px solid #666699;
303 padding: 24px;
304}
305
306.click-to-play-plugins-notification-separator {
307 -moz-border-start: 1px solid #666699;
308 border-top: 1px solid #666699;
309}
310
311.click-to-play-plugins-notification-description-box {
312 padding-top: 12px;
313 -moz-padding-end: 11px;
314 padding-bottom: 9px;
315 -moz-padding-start: 10px;
316}
317
318.click-to-play-plugins-notification-center-box {
319 background-color: #CCD0DD;
320}
321
322.click-to-play-plugins-notification-button-container {
323 padding: 12px;
324}
325
326.center-item-box {
327 padding: 8px 16px 0px 16px;
328}
329
330.center-item-box[padbottom="true"] {
331 padding-bottom: 8px;
332}
333
334.center-item-icon {
335 background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
336 background-repeat: no-repeat;
337 height: 16px;
338 width: 16px;
339 margin-bottom: 4px;
340}
341
342.center-item-box[warn="true"] {
343/* background-image: url("chrome://navigator/skin/click-to-play-warning-stripes.png");*/
344 background-repeat: repeat-x;
345 padding: 8px 16px 6px 16px;
346}
347
348.center-item-box[padbottom="true"][warn="true"] {
349 padding-bottom: 4px;
350}
351
352.center-item-box[showseparator="true"] {
353 border-top: 1px solid #666699;
354}
355
356.center-item-box[warn="false"] > .center-item-warning {
357 display: none;
358}
359
360.center-item-warning > .text-link[href=""] {
361 display: none;
362}
363
364.center-item-warning-icon {
365 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
366 background-repeat: no-repeat;
367 width: 16px;
368 height: 15px;
369 margin-bottom: 4px;
370}
371
372.center-item-warning-description {
373 color: #808080;
374}
375
376.center-item-button {
377 min-width: 0px;
378}
379
74d14f90 380/* ::::: page proxy icon ::::: */
76983f4c 381
74d14f90 382#page-proxy-deck,
383#page-proxy-favicon,
384#page-proxy-button {
385 width: 16px;
386 height: 16px;
387}
2d09e496 388
389#page-proxy-deck {
d2f0d128 390 cursor: -moz-grab;
749ee109 391 margin: 0;
74d14f90 392}
393
394#page-proxy-button {
76983f4c 395 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
76983f4c 396}
74d14f90 397
398#page-proxy-favicon {
399 list-style-image: none;
76983f4c 400}
f6e0a33f 401
74d14f90 402/* ::::: autocomplete ::::: */
403
a1f525f0 404.autocomplete-treebody::-moz-tree-cell-text(value) {
e8fc8e8e 405 -moz-padding-start: 13px;
f6e0a33f 406}
f6e0a33f 407
a1f525f0 408.autocomplete-treebody::-moz-tree-cell-text(comment) {
74d14f90 409 color: #808080;
410/* font-style: italic; */
f6e0a33f 411}
412
74d14f90 413.autocomplete-search-box {
414 border-top: 1px solid #9999CC;
415 background-color: #666699;
416 color: #000000;
417}
f6e0a33f 418
74d14f90 419.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
420 border-top: 1px solid #666699;
421}
422
423.autocomplete-search-engine {
424 padding: 2px;
425}
426
427.autocomplete-search-engine[menuactive="true"] {
428 background-color: #9999CC;
429 color: #000000;
430}
431
432.autocomplete-search-engine-img {
8caa872d 433 -moz-margin-end: 4px;
74d14f90 434}
435
5ddff932
RK
436.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
437 color: #808080;
438}
439
74d14f90 440/* ::::: go and searchbuttons ::::: */
f6e0a33f 441
76983f4c 442#search-button,
f6e0a33f 443#go-button {
749ee109
RK
444 margin: 0;
445 padding: 1px 0;
446 -moz-margin-start: 2px;
74d14f90 447 background-color: #9999CC;
f6e0a33f 448}
449
749ee109
RK
450/* care that those buttons base on the same min height of 16px that the urlbar
451 autocomplete box gets through site icon and urlbar icons at the right */
d1476608 452#search-button > .button-box,
749ee109
RK
453#go-button > .button-box {
454 min-height: 16px;
455}
456
74d14f90 457#search-button {
458/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
459 font-weight: bold;
f6e0a33f 460}
461
c1f7cc84
RK
462#search-button > .button-box > .button-icon {
463 display: -moz-box;
464}
465
749ee109
RK
466/*
467toolbar[mode="text"] #search-button > .button-box > .button-icon,
468toolbar[mode="icons"] #search-button > .button-box > .button-text {
469 display: none;
470}
471*/
472
5ddff932
RK
473/* ::::: search bar ::::: */
474
475.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
476.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) {
477 color: #808080;
478 font-size: smaller;
479}
480
481.autocomplete-treebody::-moz-tree-cell(suggesthint) {
482 border-top: 1px solid #808080;
483}
484
459f2165 485/* ::::: security button ::::: */
74d14f90 486
459f2165 487#security-button {
8caa872d 488 -moz-margin-start: 2px;
f6e0a33f 489}
490
ff5bd775 491#security-button {
aeb317b8
RK
492 list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
493}
494
b70a3a73 495/* |high| and |low| styles could be different, to better reflect the secure level... */
cf89ee7b 496#security-button[level="high"] > .statusbarpanel-contentbox {
aeb317b8
RK
497 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
498 background-color: #FFFFCC;
74d14f90 499}
f6e0a33f 500
ff5bd775 501#security-button[level="broken"] > .statusbarpanel-contentbox {
aeb317b8
RK
502 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
503 background-color: #FFCCCC;
504}
505
ff5bd775
RK
506#security-button[label] > .statusbarpanel-contentbox {
507 background-color: #33FF33;
508}
509
537196e5 510#security-button > .statusbarpanel-contentbox > .statusbarpanel-text {
aeb317b8 511 margin: 0px;
aeb317b8 512 color: #000000;
74d14f90 513}
f6e0a33f 514
ff5bd775 515/* make same background-color translucent on lwthemes */
cf89ee7b 516#security-button[level="high"] > .statusbarpanel-contentbox:-moz-lwtheme {
ff5bd775
RK
517 background-color: rgba(255, 255, 204, .8);
518}
519
520#security-button[level="broken"] > .statusbarpanel-contentbox:-moz-lwtheme {
521 background-color: rgba(255, 204, 204, .8);
522}
523
524#security-button[label] > .statusbarpanel-contentbox:-moz-lwtheme {
525 background-color: rgba(51, 255, 51, .8);
526}
527
d9954aaf
RK
528#ev-button {
529 list-style-image: url("chrome://communicator/skin/icons/identity.png");
530}
531
4c66fa00 532#popupIcon {
c37975cc 533 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
4c66fa00 534}
535
fb2b5761
RK
536#invalid-form-popup {
537 border : 1px outset #FFFFCC;
538 padding: 2px 3px 0px 3px;
539 max-width: 40em;
540 background-color : #FFFFCC;
541 color: #000000;
542 font-weight: bold;
543}
544
459f2165 545/* ::::: personal toolbar ::::: */
f6e0a33f 546
459f2165 547#bookmarks-button {
548 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
74d14f90 549}
550
459f2165 551#bookmarks-button[open="true"] {
552 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
74d14f90 553}
459f2165 554
749ee109 555#toolbarbutton.chevron {
56029caf 556 list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
b618d1fd 557}
558
749ee109 559#toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
b618d1fd 560 display: none;
561}
6082be94 562
749ee109
RK
563toolbarbutton.chevron > .toolbarbutton-text {
564 display: none; /* hide chevron label which has a width even if blank */
565}
566
567toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
568 display: -moz-box; /* display chevron icon in text mode */
569}
570
571/* Prevent [mode="icons"|"text"] from hiding the label and icon */
572#bookmarks-ptf .bookmark-item > .toolbarbutton-text,
573#bookmarks-ptf .bookmark-item > .toolbarbutton-icon {
574 display: -moz-box !important;
575}
576
e8fc8e8e 577#PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon,
0ef1663c
RK
578#PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon {
579 /* width: 16px;
580 height: 16px; */
581}
582
583#PersonalToolbar > #home-button {
584 cursor: pointer;
585}
586
587#PersonalToolbar > #home-button[disabled="true"] {
588 cursor: default !important;
589}
590
e8fc8e8e
RK
591/*
592 In customize mode we hide the normal bookmark items and show a placeholder
593 for the drag/drop UI.
594*/
595.bookmarks-toolbar-customize {
d3d79c39 596 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
e8fc8e8e
RK
597 display: none;
598 max-width: 15em !important;
599}
600
d3d79c39
RK
601#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
602 width: 16px;
603 height: 16px;
604 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
e8fc8e8e
RK
605}
606
1b3c8528
RK
607/* ::::: star button ::::: */
608
609#star-button {
610 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
611 -moz-image-region: rect(16px 16px 32px 0px);
612}
613
614#star-button:hover {
615 -moz-image-region: rect(16px 32px 32px 16px);
616}
617
618#star-button:hover:active {
619 -moz-image-region: rect(16px 48px 32px 32px);
620}
621
622#star-button[starred="true"] {
623 -moz-image-region: rect(0px 16px 16px 0px);
624}
625
626#star-button[starred="true"]:hover {
627 -moz-image-region: rect(0px 32px 16px 16px);
628}
629
630#star-button[starred="true"]:hover:active {
631 -moz-image-region: rect(0px 48px 16px 32px);
632}
633
a3b6328b
RK
634#editBookmarkPanelStarIcon {
635 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
636 -moz-image-region: rect(0px 16px 16px 0px);
637}
638
6082be94
RK
639/* ::::: feeds ::::: */
640
cf3319d7
RK
641.feedsMenu {
642 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
6082be94
RK
643 -moz-image-region: rect(0px 16px 16px 0px);
644}
645
cf3319d7 646.feedsMenu[disabled="true"] {
6082be94
RK
647 -moz-image-region: rect(32px 16px 48px 0px);
648}
649
cf3319d7 650.feedsButton {
6082be94
RK
651 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
652 -moz-image-region: rect(0px 32px 16px 16px);
653}
654
cf3319d7 655.feedsButton:hover {
6082be94
RK
656 -moz-image-region: rect(16px 32px 32px 16px);
657}
658
cf3319d7 659.feedsButton:hover:active {
6082be94
RK
660 -moz-image-region: rect(48px 32px 64px 16px);
661}