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
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.
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/");
49 #tabpanels-contents-box {
54 text-decoration: underline;
61 .toolbarbutton-menu-dropmarker {
66 #input-widget-multiline {
67 border: 1px inset #CCD0DD;
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");
79 list-style-image:url("chrome://chatzilla/skin/images/input-send.png");
82 .highlight-menu-item:hover {
83 color: #000000 !important;
84 background: #336699 !important;
95 #tabs-drop-indicator-bar {
98 -moz-margin-start: -5px;
102 #tabs-drop-indicator {
107 background: url("chrome://chatzilla/skin/images/drop-indicator-bottom.png") 50% 50% no-repeat;
111 /* do NOT set colour, at least not without background. :) */
117 .view-button[state="current"] {
121 .view-button[state="superfluous"] {
125 .view-button[state="activity"] {
129 .view-button[state="attention"] {
134 border: 1px inset #CCD0DD;
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.
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");
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");
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");
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");
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");
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");
254 treechildren:-moz-tree-cell-text(away-true) {
259 treechildren::-moz-tree-cell-text(away-true) {
264 treechildren:-moz-tree-cell-text(away-false) {
267 treechildren::-moz-tree-cell-text(away-false) {
270 menuitem[header="true"] {
278 border: 1px solid #000000;
279 -moz-box-align: center;
280 -moz-box-pack: center;
286 -moz-box-align: center;
287 -moz-box-pack: center;
290 /* Feel the hacks. */
291 progressmeter[mode="undetermined"] {
292 -moz-appearance: none;
303 /* Hack; Stop the status-bar from distorting without a security icon */
308 #status-text[notice="true"] {
316 #security-button:not([level="high"]):not([level="low"]):not([level="broken"]) {
320 #security-button[level="high"] > image {
321 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
324 #security-button[level="low"] > image {
325 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
328 #security-button[level="broken"] > image {
329 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
332 /* prevent margins of a value-less label from shifting the image */
333 #security-button > label:not([value]) {
337 #offline-status[offlinestate="offline"] {
338 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
341 #offline-status[offlinestate="online"] {
342 list-style-image: url("chrome://communicator/skin/icons/online.gif");
345 /* Focus styling for a11y reasons */
346 #user-list-box[focusobvious="true"], #browser-box[focusobvious="true"],
347 #multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] {
348 border-color: #336699 !important;
351 /* Not setting a right border so the scrollbar remains on the window edge. */
352 #browser-box:last-child, #user-list-box:last-child {
353 border-left: 2px solid transparent;
354 border-top: 2px solid transparent;
355 border-bottom: 2px solid transparent;
358 #user-list-box:first-child, #browser-box:first-child {
359 border-right: 2px solid transparent;
360 border-top: 2px solid transparent;
361 border-bottom: 2px solid transparent;
364 #singleline-hug-box, #multiline-hug-box {
365 border-right: 2px solid transparent;
366 border-left: 2px solid transparent;
367 border-top: 2px solid transparent;