update both themes for toolkit winstripe changes in Mozilla 21 cycle
[themes.git] / EarlyBlue / chatzilla / chatzilla.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 @import url("chrome://communicator/skin/");
6
7 window {
8   width: 640px;
9   height: 480px;
10 }
11
12 #menu-view-none {
13   display: none;
14 }
15
16 #tabpanels-contents-box {
17   margin: 3px 0;
18 }
19
20 #header-url:hover {
21   text-decoration: underline;
22 }
23
24 #outer-box {
25   margin: 5px;
26 }
27
28 .toolbarbutton-menu-dropmarker {
29   margin-left: 0.5em;
30 }
31
32 #input-widget,
33 #input-widget-multiline {
34   border: 1px inset #CCD0DD;
35 }
36
37 #button-multiline-expand {
38   list-style-image:url("chrome://chatzilla/skin/images/multiline-expand.png");
39 }
40
41 #button-multiline-contract {
42   list-style-image:url("chrome://chatzilla/skin/images/multiline-contract.png");
43 }
44
45 #button-input {
46   list-style-image:url("chrome://chatzilla/skin/images/input-send.png");
47 }
48
49 .highlight-menu-item:hover {
50   color: #000000 !important;
51   background: #336699 !important;
52 }
53
54 #view-tabs {
55   overflow: hidden;
56 }
57
58 #views-tbar-spacer {
59   -moz-box-flex: 10000;
60 }
61
62 #tabs-drop-indicator-bar {
63   position: relative;
64   margin-top: -3px;
65   -moz-margin-start: -5px;
66   height: 3px;
67 }
68
69 #tabs-drop-indicator {
70   position: relative;
71   margin-bottom: -8px;
72   width: 11px;
73   height: 11px;
74   background: url("chrome://chatzilla/skin/images/drop-indicator-bottom.png") 50% 50% no-repeat;
75 }
76
77 .view-button {
78   /* do NOT set colour, at least not without background. :) */
79   text-align: center;
80   max-width: 30ex;
81   -moz-box-flex: 1;
82 }
83
84 .view-button[state="current"] {
85   font-weight: bold;
86 }
87
88 .view-button[state="superfluous"] {
89   color: #666699;
90 }
91
92 .view-button[state="activity"] {
93   color: #336699;
94 }
95
96 .view-button[state="attention"] {
97   color: red;
98 }
99
100 .output-container {
101   border: 1px inset #CCD0DD;
102   border-left: none;
103   border-right: none;
104 }
105
106 treecol { 
107   border: none;
108 }
109
110 /* we need to define both the : and :: versions of the treechildren selector
111  *  so that we work on both 1.5 and pre 1.5 builds.
112  *
113  * The userlist can be in one of two state.  In "symbol", the user's
114  * channel mode is shown as a @ or + image, while in "graphic" mode, the
115  * image is one of the LED images.
116  */
117
118 /* no mode */
119 treechildren::-moz-tree-image {
120   list-style-image: url("chrome://chatzilla/skin/images/no-symbol.png");
121 }
122
123 #user-list[mode="graphic"] treechildren::-moz-tree-image {
124   list-style-image: url("chrome://chatzilla/skin/images/no-graphic.png");
125 }
126
127 /* voice */
128 treechildren::-moz-tree-image(voice-true) {
129   list-style-image: url("chrome://chatzilla/skin/images/voice-symbol.png");
130 }
131
132 #user-list[mode="graphic"] treechildren::-moz-tree-image(voice-true) {
133   list-style-image: url("chrome://chatzilla/skin/images/voice-graphic.png");
134 }
135
136 /* half-chanop */
137 treechildren::-moz-tree-image(halfop-true) {
138   list-style-image: url("chrome://chatzilla/skin/images/halfop-symbol.png");
139 }
140
141 #user-list[mode="graphic"] treechildren::-moz-tree-image(halfop-true) {
142   list-style-image: url("chrome://chatzilla/skin/images/halfop-graphic.png");
143 }
144
145 /* chanop */
146 treechildren::-moz-tree-image(op-true) {
147   list-style-image: url("chrome://chatzilla/skin/images/op-symbol.png");
148 }
149
150 #user-list[mode="graphic"] treechildren::-moz-tree-image(op-true) {
151   list-style-image: url("chrome://chatzilla/skin/images/op-graphic.png");
152 }
153
154 /* admin */
155 treechildren::-moz-tree-image(admin-true) {
156   list-style-image: url("chrome://chatzilla/skin/images/admin-symbol.png");
157 }
158
159 #user-list[mode="graphic"] treechildren::-moz-tree-image(admin-true) {
160   list-style-image: url("chrome://chatzilla/skin/images/admin-graphic.png");
161 }
162
163 /* founder */
164 treechildren::-moz-tree-image(founder-true) {
165   list-style-image: url("chrome://chatzilla/skin/images/founder-symbol.png");
166 }
167
168 #user-list[mode="graphic"] treechildren::-moz-tree-image(founder-true) {
169   list-style-image: url("chrome://chatzilla/skin/images/founder-graphic.png");
170 }
171
172 /* away */
173 treechildren::-moz-tree-cell-text(away-true) {
174   color: #808080;
175   font-style: italic;
176 }
177
178 treechildren::-moz-tree-cell-text(away-false) {
179 }
180
181 menuitem[header="true"] {
182   text-align: center;
183 }
184
185 .colorGrid
186 {
187   width: 24px;
188   height: 16px;
189   border: 1px solid #000000;
190   -moz-box-align: center;
191   -moz-box-pack: center;
192 }
193
194 #colorTooltip
195 {
196   padding: 0px;
197   -moz-box-align: center;
198   -moz-box-pack: center;
199 }
200
201 /* Feel the hacks. */
202 progressmeter[mode="undetermined"] {
203   -moz-appearance: none;
204 }
205
206 [dir="ltr"] {
207   direction: ltr;
208 }
209
210 [dir="rtl"] {
211   direction: rtl;
212 }
213
214 /* Hack; Stop the status-bar from distorting without a security icon */
215 #status-text {
216   min-height: 17px;
217 }
218
219 #status-text[notice="true"] {
220   font-weight: bold;
221 }
222
223 #security-button {
224   min-width: 20px;
225 }
226
227 #security-button:not([level="high"]):not([level="broken"]) {
228   display: none;
229 }
230
231 #security-button[level="high"] > image {
232   list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
233 }
234
235 #security-button[level="broken"] > image {
236   list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
237 }
238
239 /* prevent margins of a value-less label from shifting the image */
240 #security-button > label:not([value]) {
241   display: none;
242 }
243
244 #offline-status[offlinestate="offline"] {
245   list-style-image: url("chrome://communicator/skin/icons/offline.gif");
246 }
247
248 #offline-status[offlinestate="online"] {
249   list-style-image: url("chrome://communicator/skin/icons/online.gif");
250 }
251
252 /* Focus styling for a11y reasons */
253 #user-list-box[focusobvious="true"], #browser-box[focusobvious="true"],
254 #multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] {
255   border-color: #336699 !important;
256 }
257
258 /* Not setting a right border so the scrollbar remains on the window edge. */
259 #browser-box:last-child, #user-list-box:last-child {
260   border-left: 2px solid transparent;
261   border-top: 2px solid transparent;
262   border-bottom: 2px solid transparent;
263 }
264
265 #user-list-box:first-child, #browser-box:first-child {
266   border-right: 2px solid transparent;
267   border-top: 2px solid transparent;
268   border-bottom: 2px solid transparent;
269 }
270
271 #singleline-hug-box, #multiline-hug-box {
272   border-right: 2px solid transparent;
273   border-left: 2px solid transparent;
274   border-top: 2px solid transparent;
275 }