Import 3.0 beta 3 tarball
[mozilla-extra.git] / extensions / irc / xul / skin / chatzilla.css
blob4a1c7f9598ed436ba63256649eb0eb129ca5e689
1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
14 * The Original Code is Mozilla JSIRC Library.
16 * The Initial Developer of the Original Code is
17 * New Dimensions Consulting, Inc.
18 * Portions created by the Initial Developer are Copyright (C) 1999
19 * the Initial Developer. All Rights Reserved.
21 * Contributor(s):
22 * Robert Ginda, rginda@ndcico.com, original author
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 @import url(chrome://communicator/skin/);
40 window {
41 width: 640px;
42 height: 480px;
45 #menu-view-none {
46 display: none;
49 #tabpanels-contents-box {
50 margin: 3px 0;
53 #header-url:hover {
54 text-decoration: underline;
57 #outer-box {
58 margin: 5px;
61 .toolbarbutton-menu-dropmarker {
62 margin-left: 0.5em;
65 #input-widget,
66 #input-widget-multiline {
67 border: thin silver inset;
70 #button-multiline-expand {
71 list-style-image:url("chrome://chatzilla/skin/images/multiline-expand.png");
74 #button-multiline-contract {
75 list-style-image:url("chrome://chatzilla/skin/images/multiline-contract.png");
78 #button-input {
79 list-style-image:url("chrome://chatzilla/skin/images/input-send.png");
82 .highlight-menu-item:hover {
83 color: white !important;
84 background: darkslategrey !important;
87 #view-tabs {
88 overflow: hidden;
91 #views-tbar-spacer {
92 -moz-box-flex: 10000;
95 #tabs-drop-indicator-bar {
96 position: relative;
97 margin-top: -3px;
98 -moz-margin-start: -5px;
99 height: 3px;
102 #tabs-drop-indicator {
103 position: relative;
104 margin-bottom: -8px;
105 width: 11px;
106 height: 11px;
107 background: url(images/drop-indicator-bottom.png) 50% 50% no-repeat;
110 .view-button {
111 /* do NOT set colour, at least not without background. :) */
112 text-align: center;
113 max-width: 30ex;
114 -moz-box-flex: 1;
117 .view-button[state="current"] {
118 font-weight: bold;
121 .view-button[state="superfluous"] {
122 color: darkblue;
125 .view-button[state="activity"] {
126 color: darkgreen;
129 .view-button[state="attention"] {
130 color: red;
133 .output-container {
134 border: thin silver inset;
135 border-left: none;
136 border-right: none;
139 treecol {
140 border: none;
143 /* we need to define both the : and :: versions of the treechildren selector
144 * so that we work on both 1.5 and pre 1.5 builds.
146 * The userlist can be in one of two state. In "symbol", the user's
147 * channel mode is shown as a @ or + image, while in "graphic" mode, the
148 * image is one of the LED images.
151 /* no mode */
152 treechildren:-moz-tree-image {
153 list-style-image: url(chrome://chatzilla/skin/images/no-symbol.png);
156 treechildren::-moz-tree-image {
157 list-style-image: url(chrome://chatzilla/skin/images/no-symbol.png);
160 #user-list[mode="graphic"] treechildren:-moz-tree-image {
161 list-style-image: url(chrome://chatzilla/skin/images/no-graphic.png);
164 #user-list[mode="graphic"] treechildren::-moz-tree-image {
165 list-style-image: url(chrome://chatzilla/skin/images/no-graphic.png);
168 /* voice */
169 treechildren:-moz-tree-image(voice-true) {
170 list-style-image: url(chrome://chatzilla/skin/images/voice-symbol.png);
173 treechildren::-moz-tree-image(voice-true) {
174 list-style-image: url(chrome://chatzilla/skin/images/voice-symbol.png);
177 #user-list[mode="graphic"] treechildren:-moz-tree-image(voice-true) {
178 list-style-image: url(chrome://chatzilla/skin/images/voice-graphic.png);
181 #user-list[mode="graphic"] treechildren::-moz-tree-image(voice-true) {
182 list-style-image: url(chrome://chatzilla/skin/images/voice-graphic.png);
185 /* half-chanop */
186 treechildren:-moz-tree-image(halfop-true) {
187 list-style-image: url(chrome://chatzilla/skin/images/halfop-symbol.png);
190 treechildren::-moz-tree-image(halfop-true) {
191 list-style-image: url(chrome://chatzilla/skin/images/halfop-symbol.png);
194 #user-list[mode="graphic"] treechildren:-moz-tree-image(halfop-true) {
195 list-style-image: url(chrome://chatzilla/skin/images/halfop-graphic.png);
198 #user-list[mode="graphic"] treechildren::-moz-tree-image(halfop-true) {
199 list-style-image: url(chrome://chatzilla/skin/images/halfop-graphic.png);
202 /* chanop */
203 treechildren:-moz-tree-image(op-true) {
204 list-style-image: url(chrome://chatzilla/skin/images/op-symbol.png);
207 treechildren::-moz-tree-image(op-true) {
208 list-style-image: url(chrome://chatzilla/skin/images/op-symbol.png);
211 #user-list[mode="graphic"] treechildren:-moz-tree-image(op-true) {
212 list-style-image: url(chrome://chatzilla/skin/images/op-graphic.png);
215 #user-list[mode="graphic"] treechildren::-moz-tree-image(op-true) {
216 list-style-image: url(chrome://chatzilla/skin/images/op-graphic.png);
219 /* admin */
220 treechildren:-moz-tree-image(admin-true) {
221 list-style-image: url(chrome://chatzilla/skin/images/admin-symbol.png);
224 treechildren::-moz-tree-image(admin-true) {
225 list-style-image: url(chrome://chatzilla/skin/images/admin-symbol.png);
228 #user-list[mode="graphic"] treechildren:-moz-tree-image(admin-true) {
229 list-style-image: url(chrome://chatzilla/skin/images/admin-graphic.png);
232 #user-list[mode="graphic"] treechildren::-moz-tree-image(admin-true) {
233 list-style-image: url(chrome://chatzilla/skin/images/admin-graphic.png);
236 /* founder */
237 treechildren:-moz-tree-image(founder-true) {
238 list-style-image: url(chrome://chatzilla/skin/images/founder-symbol.png);
241 treechildren::-moz-tree-image(founder-true) {
242 list-style-image: url(chrome://chatzilla/skin/images/founder-symbol.png);
245 #user-list[mode="graphic"] treechildren:-moz-tree-image(founder-true) {
246 list-style-image: url(chrome://chatzilla/skin/images/founder-graphic.png);
249 #user-list[mode="graphic"] treechildren::-moz-tree-image(founder-true) {
250 list-style-image: url(chrome://chatzilla/skin/images/founder-graphic.png);
253 /* away */
254 treechildren:-moz-tree-cell-text(away-true) {
255 color: GrayText;
256 font-style: italic;
259 treechildren::-moz-tree-cell-text(away-true) {
260 color: GrayText;
261 font-style: italic;
264 treechildren:-moz-tree-cell-text(away-false) {
267 treechildren::-moz-tree-cell-text(away-false) {
270 menuitem[header="true"] {
271 text-align: center;
274 .colorGrid
276 width: 24px;
277 height: 16px;
278 border: 1px solid black;
279 -moz-box-align: center;
280 -moz-box-pack: center;
283 #colorTooltip
285 padding: 0px;
286 -moz-box-align: center;
287 -moz-box-pack: center;
290 /* Feel the hacks. */
291 progressmeter[mode="undetermined"] {
292 -moz-appearance: none;
295 [dir="ltr"] {
296 direction: ltr;
299 [dir="rtl"] {
300 direction: rtl;
303 /* Hack; Stop the status-bar from distorting without a security icon */
304 #status-text {
305 min-height: 17px;
308 #security-button {
309 min-width: 20px;
312 #security-button:not([level="high"]):not([level="low"]):not([level="broken"]) {
313 display: none;
316 #security-button[level="high"] > image {
317 list-style-image: url("chrome://chatzilla/skin/images/secure.png");
320 #security-button[level="low"] > image {
321 list-style-image: url("chrome://chatzilla/skin/images/secure.png");
324 #security-button[level="broken"] > image {
325 list-style-image: url("chrome://chatzilla/skin/images/secure-broken.png");
328 /* prevent margins of a value-less label from shifting the image */
329 #security-button > label:not([value]) {
330 display: none;
333 #offline-status[offlinestate="offline"] {
334 list-style-image: url("chrome://chatzilla/skin/images/offline.png");
337 #offline-status[offlinestate="online"] {
338 list-style-image: url("chrome://chatzilla/skin/images/online.png");
341 /* Focus styling for a11y reasons */
342 #user-list-box[focusobvious="true"], #browser-box[focusobvious="true"],
343 #multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] {
344 border-color: highlight !important;
347 /* Not setting a right border so the scrollbar remains on the window edge. */
348 #browser-box:last-child, #user-list-box:last-child {
349 border-left: 2px solid transparent;
350 border-top: 2px solid transparent;
351 border-bottom: 2px solid transparent;
354 #user-list-box:first-child, #browser-box:first-child {
355 border-right: 2px solid transparent;
356 border-top: 2px solid transparent;
357 border-bottom: 2px solid transparent;
360 #singleline-hug-box, #multiline-hug-box {
361 border-right: 2px solid transparent;
362 border-left: 2px solid transparent;
363 border-top: 2px solid transparent;