part 1 of syncing LCARStrek with browser windows/shared theme changes in FIrefox...
[themes.git] / EarlyBlue / communicator / communicator.css
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/. */
4
5 /* ==== communicator.css ====================================================
6    == Styles shared everywhere throughout the Communicator suite.
7    ========================================================================== */
8
9 @import url("chrome://global/skin/");
10 @import url("chrome://communicator/content/communicator.css");
11 @import url("chrome://communicator/skin/brand.css");
12 @import url("chrome://communicator/skin/button.css");
13 @import url("chrome://communicator/skin/toolbar.css");
14
15 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
16
17 .toolbar-primary {
18   -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary");
19 }
20
21 /* ::::: autocomplete ::::: */
22
23 .autocomplete-history-popup {
24   max-height: 25em;
25 }
26
27 /* ::::: online/offline icons ::::: */
28
29 #offline-status[offline="true"] {
30   list-style-image: url("chrome://communicator/skin/icons/offline.gif");
31 }
32
33 #offline-status {
34   list-style-image: url("chrome://communicator/skin/icons/online.gif");
35 }
36
37 /* ::::: spell checker ::::: */
38
39 .spell-suggestion {
40   font-weight: bold;
41 }
42
43 /* ::::: error messages ::::: */
44
45 description.error {
46   color: #FF0000;
47 }
48
49 /* ::::: directional button icons ::::: */
50
51 .up {
52   list-style-image:url("chrome://global/skin/arrow/arrow-up.gif");
53   min-width: 0px;
54 }
55
56 .up[disabled="true"] {
57   list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif");
58 }
59
60 .down {
61   min-width: 0px;
62   list-style-image:url("chrome://global/skin/arrow/arrow-down.gif");
63 }
64
65 .down[disabled="true"] {
66   list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif");
67 }
68
69 .sidebarTree {
70   border: none;
71   margin: 0px !important;
72 }
73
74 /* ::::: iconic menu and menuitems ::::: */
75
76 menu.menu-iconic > .menu-iconic-left,
77 menuitem.menuitem-iconic > .menu-iconic-left {
78   display: -moz-box;
79 }
80
81 /******* lightweight themes *******/
82
83 toolbar button:-moz-lwtheme,
84 toolbar menulist:-moz-lwtheme:not([open="true"]),
85 toolbar textbox:-moz-lwtheme:not([focused="true"]) {
86   opacity: .8;
87 }
88
89 treecols:-moz-lwtheme {
90   text-shadow: none;
91   color: #000000;
92   background-color: #CCD0DD;
93 }
94
95 /* ::::: toolbar print button ::::: */
96 #print-button {
97   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
98   -moz-image-region: rect(0px 25px 21px 0px);
99 }
100
101 #print-button[disabled="true"] {
102   -moz-image-region: rect(0px 50px 21px 25px);
103 }
104
105 toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
106 toolbar[iconsize="small"] > #print-button {
107   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
108   -moz-image-region: rect(0 16px 16px 0);
109 }
110
111 toolbar[iconsize="small"] > #print-button[disabled="true"] {
112   -moz-image-region: rect(0 32px 16px 16px) !important;
113 }
114
115 /* ::::: notification bars ::::: */
116
117 .messageImage[value="refresh-blocked"] {
118   list-style-image: url("chrome://communicator/skin/icons/application.png");
119 }
120
121 .messageImage[value="blocked-plugins"],
122 .messageImage[value="carbon-failure-plugins"],
123 .messageImage[value="missing-plugins"],
124 .messageImage[value="outdated-plugins"],
125 .messageImage[value="click-to-play-plugins"],
126 .messageImage[value="plugin-crashed"] {
127   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
128 }
129
130 .messageImage[value="geolocation"] {
131   list-style-image: url("chrome://communicator/skin/icons/geo.png");
132 }
133
134 .messageImage[value="webNotifications"] {
135   list-style-image: url("chrome://communicator/skin/icons/notification-16.png");
136 }
137
138 .messageImage[value="indexedDB-permissions-prompt"],
139 .messageImage[value="indexedDB-quota-prompt"] {
140   list-style-image: url("chrome://global/skin/icons/question-16.png");
141 }
142
143 .messageImage[value="addon-install-blocked"],
144 .messageImage[value="addon-install-cancelled"],
145 .messageImage[value="addon-install-complete"],
146 .messageImage[value="addon-install-disabled"],
147 .messageImage[value="addon-install-failed"],
148 .messageImage[value="addon-install-started"],
149 .messageImage[value="lwtheme-install-request"],
150 .messageImage[value="lwtheme-install-notification"] {
151   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
152 }
153
154 .messageImage[value="popup-blocked"] {
155   list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif");
156 }
157
158 .messageImage[value="blocked-badware-page"] {
159   list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png");
160 }
161
162 .messageImage[value="EnterInsecureMessage"] {
163   list-style-image: url("chrome://communicator/skin/icons/lock-insecure-16.png");
164 }
165
166 .messageImage[value="EnterSecureMessage"],
167 .messageImage[value="BlockedActiveContentMessage"],
168 .messageImage[value="BlockedDisplayContentMessage"] {
169   list-style-image: url("chrome://communicator/skin/icons/lock-secure-16.png");
170 }
171
172 .messageImage[value="MixedContentMessage"],
173 .messageImage[value="MixedActiveContentMessage"],
174 .messageImage[value="MixedDisplayContentMessage"] {
175   list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png");
176 }