some corrections and finishing touches to that LCARStrek works well for Firefox 55...
[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 260#default-notification-icon {
dbad77ea 261 list-style-image: url("chrome://global/skin/icons/info.svg");
c2e1f790
RK
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
d4dc8501
RK
486#go-button {
487/* padding-inline-start: 2px;
488 padding-inline-end: 2px;*/
489}
490
c1f7cc84
RK
491#search-button > .button-box > .button-icon {
492 display: -moz-box;
493}
494
749ee109
RK
495/*
496toolbar[mode="text"] #search-button > .button-box > .button-icon,
497toolbar[mode="icons"] #search-button > .button-box > .button-text {
498 display: none;
499}
500*/
501
459f2165 502/* ::::: security button ::::: */
74d14f90 503
459f2165 504#security-button {
dae45075 505 margin-inline-start: 2px;
f6e0a33f 506}
507
ff5bd775 508#security-button {
aeb317b8
RK
509 list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
510}
511
b70a3a73 512/* |high| and |low| styles could be different, to better reflect the secure level... */
cf89ee7b 513#security-button[level="high"] > .statusbarpanel-contentbox {
aeb317b8
RK
514 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
515 background-color: #FFFFCC;
74d14f90 516}
f6e0a33f 517
ff5bd775 518#security-button[level="broken"] > .statusbarpanel-contentbox {
aeb317b8
RK
519 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
520 background-color: #FFCCCC;
521}
522
ff5bd775
RK
523#security-button[label] > .statusbarpanel-contentbox {
524 background-color: #33FF33;
525}
526
537196e5 527#security-button > .statusbarpanel-contentbox > .statusbarpanel-text {
aeb317b8 528 margin: 0px;
aeb317b8 529 color: #000000;
74d14f90 530}
f6e0a33f 531
ff5bd775 532/* make same background-color translucent on lwthemes */
cf89ee7b 533#security-button[level="high"] > .statusbarpanel-contentbox:-moz-lwtheme {
ff5bd775
RK
534 background-color: rgba(255, 255, 204, .8);
535}
536
537#security-button[level="broken"] > .statusbarpanel-contentbox:-moz-lwtheme {
538 background-color: rgba(255, 204, 204, .8);
539}
540
541#security-button[label] > .statusbarpanel-contentbox:-moz-lwtheme {
542 background-color: rgba(51, 255, 51, .8);
543}
544
d9954aaf
RK
545#ev-button {
546 list-style-image: url("chrome://communicator/skin/icons/identity.png");
547}
548
4c66fa00 549#popupIcon {
c37975cc 550 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
4c66fa00 551}
552
fb2b5761
RK
553#invalid-form-popup {
554 border : 1px outset #FFFFCC;
555 padding: 2px 3px 0px 3px;
556 max-width: 40em;
557 background-color : #FFFFCC;
558 color: #000000;
559 font-weight: bold;
560}
561
459f2165 562/* ::::: personal toolbar ::::: */
f6e0a33f 563
459f2165 564#bookmarks-button {
565 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
74d14f90 566}
567
459f2165 568#bookmarks-button[open="true"] {
569 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
74d14f90 570}
459f2165 571
749ee109 572#toolbarbutton.chevron {
56029caf 573 list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
b618d1fd 574}
575
749ee109 576#toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
b618d1fd 577 display: none;
578}
6082be94 579
749ee109
RK
580toolbarbutton.chevron > .toolbarbutton-text {
581 display: none; /* hide chevron label which has a width even if blank */
582}
583
584toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
585 display: -moz-box; /* display chevron icon in text mode */
586}
587
588/* Prevent [mode="icons"|"text"] from hiding the label and icon */
589#bookmarks-ptf .bookmark-item > .toolbarbutton-text,
590#bookmarks-ptf .bookmark-item > .toolbarbutton-icon {
591 display: -moz-box !important;
592}
593
e8fc8e8e 594#PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon,
0ef1663c
RK
595#PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon {
596 /* width: 16px;
597 height: 16px; */
598}
599
600#PersonalToolbar > #home-button {
601 cursor: pointer;
602}
603
604#PersonalToolbar > #home-button[disabled="true"] {
605 cursor: default !important;
606}
607
e8fc8e8e
RK
608/*
609 In customize mode we hide the normal bookmark items and show a placeholder
610 for the drag/drop UI.
611*/
612.bookmarks-toolbar-customize {
d3d79c39 613 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
e8fc8e8e
RK
614 display: none;
615 max-width: 15em !important;
616}
617
d3d79c39
RK
618#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
619 width: 16px;
620 height: 16px;
621 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
e8fc8e8e
RK
622}
623
1b3c8528
RK
624/* ::::: star button ::::: */
625
626#star-button {
627 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
628 -moz-image-region: rect(16px 16px 32px 0px);
629}
630
631#star-button:hover {
632 -moz-image-region: rect(16px 32px 32px 16px);
633}
634
635#star-button:hover:active {
636 -moz-image-region: rect(16px 48px 32px 32px);
637}
638
639#star-button[starred="true"] {
640 -moz-image-region: rect(0px 16px 16px 0px);
641}
642
643#star-button[starred="true"]:hover {
644 -moz-image-region: rect(0px 32px 16px 16px);
645}
646
647#star-button[starred="true"]:hover:active {
648 -moz-image-region: rect(0px 48px 16px 32px);
649}
650
a3b6328b
RK
651#editBookmarkPanelStarIcon {
652 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
653 -moz-image-region: rect(0px 16px 16px 0px);
654}
655
6082be94
RK
656/* ::::: feeds ::::: */
657
cf3319d7
RK
658.feedsMenu {
659 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
6082be94
RK
660 -moz-image-region: rect(0px 16px 16px 0px);
661}
662
cf3319d7 663.feedsMenu[disabled="true"] {
6082be94
RK
664 -moz-image-region: rect(32px 16px 48px 0px);
665}
666
cf3319d7 667.feedsButton {
6082be94
RK
668 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
669 -moz-image-region: rect(0px 32px 16px 16px);
670}
671
cf3319d7 672.feedsButton:hover {
6082be94
RK
673 -moz-image-region: rect(16px 32px 32px 16px);
674}
675
cf3319d7 676.feedsButton:hover:active {
6082be94
RK
677 -moz-image-region: rect(48px 32px 64px 16px);
678}