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/. */
5 @import url("chrome://communicator/skin/");
16 #tabpanels-contents-box {
21 text-decoration: underline;
28 .toolbarbutton-menu-dropmarker {
33 #input-widget-multiline {
34 border: 1px inset #CCD0DD;
37 #button-multiline-expand {
38 list-style-image:url("chrome://chatzilla/skin/images/multiline-expand.png");
41 #button-multiline-contract {
42 list-style-image:url("chrome://chatzilla/skin/images/multiline-contract.png");
46 list-style-image:url("chrome://chatzilla/skin/images/input-send.png");
49 .highlight-menu-item:hover {
50 color: #000000 !important;
51 background: #336699 !important;
62 #tabs-drop-indicator-bar {
65 -moz-margin-start: -5px;
69 #tabs-drop-indicator {
74 background: url("chrome://chatzilla/skin/images/drop-indicator-bottom.png") 50% 50% no-repeat;
78 /* do NOT set colour, at least not without background. :) */
84 .view-button[state="current"] {
88 .view-button[state="superfluous"] {
92 .view-button[state="activity"] {
96 .view-button[state="attention"] {
101 border: 1px inset #CCD0DD;
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.
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.
119 treechildren::-moz-tree-image {
120 list-style-image: url("chrome://chatzilla/skin/images/no-symbol.png");
123 #user-list[mode="graphic"] treechildren::-moz-tree-image {
124 list-style-image: url("chrome://chatzilla/skin/images/no-graphic.png");
128 treechildren::-moz-tree-image(voice-true) {
129 list-style-image: url("chrome://chatzilla/skin/images/voice-symbol.png");
132 #user-list[mode="graphic"] treechildren::-moz-tree-image(voice-true) {
133 list-style-image: url("chrome://chatzilla/skin/images/voice-graphic.png");
137 treechildren::-moz-tree-image(halfop-true) {
138 list-style-image: url("chrome://chatzilla/skin/images/halfop-symbol.png");
141 #user-list[mode="graphic"] treechildren::-moz-tree-image(halfop-true) {
142 list-style-image: url("chrome://chatzilla/skin/images/halfop-graphic.png");
146 treechildren::-moz-tree-image(op-true) {
147 list-style-image: url("chrome://chatzilla/skin/images/op-symbol.png");
150 #user-list[mode="graphic"] treechildren::-moz-tree-image(op-true) {
151 list-style-image: url("chrome://chatzilla/skin/images/op-graphic.png");
155 treechildren::-moz-tree-image(admin-true) {
156 list-style-image: url("chrome://chatzilla/skin/images/admin-symbol.png");
159 #user-list[mode="graphic"] treechildren::-moz-tree-image(admin-true) {
160 list-style-image: url("chrome://chatzilla/skin/images/admin-graphic.png");
164 treechildren::-moz-tree-image(founder-true) {
165 list-style-image: url("chrome://chatzilla/skin/images/founder-symbol.png");
168 #user-list[mode="graphic"] treechildren::-moz-tree-image(founder-true) {
169 list-style-image: url("chrome://chatzilla/skin/images/founder-graphic.png");
173 treechildren::-moz-tree-cell-text(away-true) {
178 treechildren::-moz-tree-cell-text(away-false) {
181 menuitem[header="true"] {
189 border: 1px solid #000000;
190 -moz-box-align: center;
191 -moz-box-pack: center;
197 -moz-box-align: center;
198 -moz-box-pack: center;
201 /* Feel the hacks. */
202 progressmeter[mode="undetermined"] {
203 -moz-appearance: none;
214 /* Hack; Stop the status-bar from distorting without a security icon */
219 #status-text[notice="true"] {
227 #security-button:not([level="high"]):not([level="low"]):not([level="broken"]) {
231 #security-button[level="high"] > image {
232 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
235 #security-button[level="low"] > image {
236 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
239 #security-button[level="broken"] > image {
240 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
243 /* prevent margins of a value-less label from shifting the image */
244 #security-button > label:not([value]) {
248 #offline-status[offlinestate="offline"] {
249 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
252 #offline-status[offlinestate="online"] {
253 list-style-image: url("chrome://communicator/skin/icons/online.gif");
256 /* Focus styling for a11y reasons */
257 #user-list-box[focusobvious="true"], #browser-box[focusobvious="true"],
258 #multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] {
259 border-color: #336699 !important;
262 /* Not setting a right border so the scrollbar remains on the window edge. */
263 #browser-box:last-child, #user-list-box:last-child {
264 border-left: 2px solid transparent;
265 border-top: 2px solid transparent;
266 border-bottom: 2px solid transparent;
269 #user-list-box:first-child, #browser-box:first-child {
270 border-right: 2px solid transparent;
271 border-top: 2px solid transparent;
272 border-bottom: 2px solid transparent;
275 #singleline-hug-box, #multiline-hug-box {
276 border-right: 2px solid transparent;
277 border-left: 2px solid transparent;
278 border-top: 2px solid transparent;