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 #user-list[mode="graphic"] treechildren::-moz-tree-image {
157 list-style-image: url("chrome://chatzilla/skin/images/no-graphic.png");
161 treechildren::-moz-tree-image(voice-true) {
162 list-style-image: url("chrome://chatzilla/skin/images/voice-symbol.png");
165 #user-list[mode="graphic"] treechildren::-moz-tree-image(voice-true) {
166 list-style-image: url("chrome://chatzilla/skin/images/voice-graphic.png");
170 treechildren::-moz-tree-image(halfop-true) {
171 list-style-image: url("chrome://chatzilla/skin/images/halfop-symbol.png");
174 #user-list[mode="graphic"] treechildren::-moz-tree-image(halfop-true) {
175 list-style-image: url("chrome://chatzilla/skin/images/halfop-graphic.png");
179 treechildren::-moz-tree-image(op-true) {
180 list-style-image: url("chrome://chatzilla/skin/images/op-symbol.png");
183 #user-list[mode="graphic"] treechildren::-moz-tree-image(op-true) {
184 list-style-image: url("chrome://chatzilla/skin/images/op-graphic.png");
188 treechildren::-moz-tree-image(admin-true) {
189 list-style-image: url("chrome://chatzilla/skin/images/admin-symbol.png");
192 #user-list[mode="graphic"] treechildren::-moz-tree-image(admin-true) {
193 list-style-image: url("chrome://chatzilla/skin/images/admin-graphic.png");
197 treechildren::-moz-tree-image(founder-true) {
198 list-style-image: url("chrome://chatzilla/skin/images/founder-symbol.png");
201 #user-list[mode="graphic"] treechildren::-moz-tree-image(founder-true) {
202 list-style-image: url("chrome://chatzilla/skin/images/founder-graphic.png");
206 treechildren::-moz-tree-cell-text(away-true) {
211 treechildren::-moz-tree-cell-text(away-false) {
214 menuitem[header="true"] {
222 border: 1px solid #000000;
223 -moz-box-align: center;
224 -moz-box-pack: center;
230 -moz-box-align: center;
231 -moz-box-pack: center;
234 /* Feel the hacks. */
235 progressmeter[mode="undetermined"] {
236 -moz-appearance: none;
247 /* Hack; Stop the status-bar from distorting without a security icon */
252 #status-text[notice="true"] {
260 #security-button:not([level="high"]):not([level="low"]):not([level="broken"]) {
264 #security-button[level="high"] > image {
265 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
268 #security-button[level="low"] > image {
269 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
272 #security-button[level="broken"] > image {
273 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
276 /* prevent margins of a value-less label from shifting the image */
277 #security-button > label:not([value]) {
281 #offline-status[offlinestate="offline"] {
282 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
285 #offline-status[offlinestate="online"] {
286 list-style-image: url("chrome://communicator/skin/icons/online.gif");
289 /* Focus styling for a11y reasons */
290 #user-list-box[focusobvious="true"], #browser-box[focusobvious="true"],
291 #multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] {
292 border-color: #336699 !important;
295 /* Not setting a right border so the scrollbar remains on the window edge. */
296 #browser-box:last-child, #user-list-box:last-child {
297 border-left: 2px solid transparent;
298 border-top: 2px solid transparent;
299 border-bottom: 2px solid transparent;
302 #user-list-box:first-child, #browser-box:first-child {
303 border-right: 2px solid transparent;
304 border-top: 2px solid transparent;
305 border-bottom: 2px solid transparent;
308 #singleline-hug-box, #multiline-hug-box {
309 border-right: 2px solid transparent;
310 border-left: 2px solid transparent;
311 border-top: 2px solid transparent;