second and final part of syncing both themes with toolkit windows theme changes in...
[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;
dae45075 141 margin-inline-start: 2px;
083cee4a 142}
143
144#window-controls > toolbarbutton {
749ee109 145 padding: 3px;
dae45075
RK
146 padding-inline-start: 2px;
147 padding-inline-end: 1px;
749ee109
RK
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 {
dae45075
RK
169 padding-inline-start: 1px;
170 padding-inline-end: 1px;
74d14f90 171 min-width: 0px;
749ee109 172 -moz-box-align: center;
74d14f90 173}
76983f4c 174
74d14f90 175#urlbar {
749ee109 176 margin: 0;
dae45075 177 margin-inline-start: 3px;
749ee109
RK
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;
dae45075 206 margin-inline-end: 10px;
fb2b5761
RK
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"] {
43ba37c1 236 list-style-image: url("chrome://communicator/skin/icons/key-64.png");
fb2b5761
RK
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 {
dae45075 253 margin-inline-end: 3px;
fb2b5761
RK
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 290#password-notification-icon {
43ba37c1 291 list-style-image: url("chrome://communicator/skin/icons/key-16.png");
fb2b5761
RK
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;
dae45075 309 border-inline-end: 1px solid #666699;
e90cc3a4
RK
310 padding: 24px;
311}
312
313.click-to-play-plugins-notification-separator {
dae45075 314 border-inline-start: 1px solid #666699;
e90cc3a4
RK
315 border-top: 1px solid #666699;
316}
317
318.click-to-play-plugins-notification-description-box {
319 padding-top: 12px;
dae45075 320 padding-inline-end: 11px;
e90cc3a4 321 padding-bottom: 9px;
dae45075 322 padding-inline-start: 10px;
e90cc3a4
RK
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
9d311b0d
RK
411#PopupAutoComplete > richlistbox > richlistitem {
412 height: 20px;
413 min-height: 20px;
414 border: 0;
415 border-radius: 0;
416 padding: 0px 1px 0px 1px;
417}
418
419#PopupAutoComplete > richlistbox > richlistitem > .ac-title {
420 font: icon;
421 margin-inline-start: 6px;
422}
423
424#PopupAutoComplete > richlistbox {
425 padding: 0;
426}
427
a1f525f0 428.autocomplete-treebody::-moz-tree-cell-text(value) {
dae45075 429 padding-inline-start: 13px;
f6e0a33f 430}
f6e0a33f 431
a1f525f0 432.autocomplete-treebody::-moz-tree-cell-text(comment) {
74d14f90 433 color: #808080;
434/* font-style: italic; */
f6e0a33f 435}
436
74d14f90 437.autocomplete-search-box {
438 border-top: 1px solid #9999CC;
439 background-color: #666699;
440 color: #000000;
441}
f6e0a33f 442
74d14f90 443.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
444 border-top: 1px solid #666699;
445}
446
447.autocomplete-search-engine {
448 padding: 2px;
449}
450
451.autocomplete-search-engine[menuactive="true"] {
452 background-color: #9999CC;
453 color: #000000;
454}
455
456.autocomplete-search-engine-img {
dae45075 457 margin-inline-end: 4px;
74d14f90 458}
459
5ddff932
RK
460.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
461 color: #808080;
462}
463
74d14f90 464/* ::::: go and searchbuttons ::::: */
f6e0a33f 465
76983f4c 466#search-button,
f6e0a33f 467#go-button {
749ee109
RK
468 margin: 0;
469 padding: 1px 0;
dae45075 470 margin-inline-start: 2px;
74d14f90 471 background-color: #9999CC;
f6e0a33f 472}
473
749ee109
RK
474/* care that those buttons base on the same min height of 16px that the urlbar
475 autocomplete box gets through site icon and urlbar icons at the right */
d1476608 476#search-button > .button-box,
749ee109
RK
477#go-button > .button-box {
478 min-height: 16px;
479}
480
74d14f90 481#search-button {
482/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
483 font-weight: bold;
f6e0a33f 484}
485
c1f7cc84
RK
486#search-button > .button-box > .button-icon {
487 display: -moz-box;
488}
489
749ee109
RK
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
459f2165 497/* ::::: security button ::::: */
74d14f90 498
459f2165 499#security-button {
dae45075 500 margin-inline-start: 2px;
f6e0a33f 501}
502
ff5bd775 503#security-button {
aeb317b8
RK
504 list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
505}
506
b70a3a73 507/* |high| and |low| styles could be different, to better reflect the secure level... */
cf89ee7b 508#security-button[level="high"] > .statusbarpanel-contentbox {
aeb317b8
RK
509 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
510 background-color: #FFFFCC;
74d14f90 511}
f6e0a33f 512
ff5bd775 513#security-button[level="broken"] > .statusbarpanel-contentbox {
aeb317b8
RK
514 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
515 background-color: #FFCCCC;
516}
517
ff5bd775
RK
518#security-button[label] > .statusbarpanel-contentbox {
519 background-color: #33FF33;
520}
521
537196e5 522#security-button > .statusbarpanel-contentbox > .statusbarpanel-text {
aeb317b8 523 margin: 0px;
aeb317b8 524 color: #000000;
74d14f90 525}
f6e0a33f 526
ff5bd775 527/* make same background-color translucent on lwthemes */
cf89ee7b 528#security-button[level="high"] > .statusbarpanel-contentbox:-moz-lwtheme {
ff5bd775
RK
529 background-color: rgba(255, 255, 204, .8);
530}
531
532#security-button[level="broken"] > .statusbarpanel-contentbox:-moz-lwtheme {
533 background-color: rgba(255, 204, 204, .8);
534}
535
536#security-button[label] > .statusbarpanel-contentbox:-moz-lwtheme {
537 background-color: rgba(51, 255, 51, .8);
538}
539
d9954aaf
RK
540#ev-button {
541 list-style-image: url("chrome://communicator/skin/icons/identity.png");
542}
543
4c66fa00 544#popupIcon {
c37975cc 545 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
4c66fa00 546}
547
fb2b5761
RK
548#invalid-form-popup {
549 border : 1px outset #FFFFCC;
550 padding: 2px 3px 0px 3px;
551 max-width: 40em;
552 background-color : #FFFFCC;
553 color: #000000;
554 font-weight: bold;
555}
556
459f2165 557/* ::::: personal toolbar ::::: */
f6e0a33f 558
459f2165 559#bookmarks-button {
560 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
74d14f90 561}
562
459f2165 563#bookmarks-button[open="true"] {
564 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
74d14f90 565}
459f2165 566
749ee109 567#toolbarbutton.chevron {
56029caf 568 list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
b618d1fd 569}
570
749ee109 571#toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
b618d1fd 572 display: none;
573}
6082be94 574
749ee109
RK
575toolbarbutton.chevron > .toolbarbutton-text {
576 display: none; /* hide chevron label which has a width even if blank */
577}
578
579toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
580 display: -moz-box; /* display chevron icon in text mode */
581}
582
583/* Prevent [mode="icons"|"text"] from hiding the label and icon */
584#bookmarks-ptf .bookmark-item > .toolbarbutton-text,
585#bookmarks-ptf .bookmark-item > .toolbarbutton-icon {
586 display: -moz-box !important;
587}
588
e8fc8e8e 589#PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon,
0ef1663c
RK
590#PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon {
591 /* width: 16px;
592 height: 16px; */
593}
594
595#PersonalToolbar > #home-button {
596 cursor: pointer;
597}
598
599#PersonalToolbar > #home-button[disabled="true"] {
600 cursor: default !important;
601}
602
e8fc8e8e
RK
603/*
604 In customize mode we hide the normal bookmark items and show a placeholder
605 for the drag/drop UI.
606*/
607.bookmarks-toolbar-customize {
d3d79c39 608 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
e8fc8e8e
RK
609 display: none;
610 max-width: 15em !important;
611}
612
d3d79c39
RK
613#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
614 width: 16px;
615 height: 16px;
616 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
e8fc8e8e
RK
617}
618
1b3c8528
RK
619/* ::::: star button ::::: */
620
621#star-button {
622 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
623 -moz-image-region: rect(16px 16px 32px 0px);
624}
625
626#star-button:hover {
627 -moz-image-region: rect(16px 32px 32px 16px);
628}
629
630#star-button:hover:active {
631 -moz-image-region: rect(16px 48px 32px 32px);
632}
633
634#star-button[starred="true"] {
635 -moz-image-region: rect(0px 16px 16px 0px);
636}
637
638#star-button[starred="true"]:hover {
639 -moz-image-region: rect(0px 32px 16px 16px);
640}
641
642#star-button[starred="true"]:hover:active {
643 -moz-image-region: rect(0px 48px 16px 32px);
644}
645
a3b6328b
RK
646#editBookmarkPanelStarIcon {
647 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
648 -moz-image-region: rect(0px 16px 16px 0px);
649}
650
6082be94
RK
651/* ::::: feeds ::::: */
652
cf3319d7
RK
653.feedsMenu {
654 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
6082be94
RK
655 -moz-image-region: rect(0px 16px 16px 0px);
656}
657
cf3319d7 658.feedsMenu[disabled="true"] {
6082be94
RK
659 -moz-image-region: rect(32px 16px 48px 0px);
660}
661
cf3319d7 662.feedsButton {
6082be94
RK
663 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
664 -moz-image-region: rect(0px 32px 16px 16px);
665}
666
cf3319d7 667.feedsButton:hover {
6082be94
RK
668 -moz-image-region: rect(16px 32px 32px 16px);
669}
670
cf3319d7 671.feedsButton:hover:active {
6082be94
RK
672 -moz-image-region: rect(48px 32px 64px 16px);
673}