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