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 {
35 border: 1px solid #9C9CFF;
38 #button-multiline-expand {
39 list-style-image:url("chrome://chatzilla/skin/images/multiline-expand.png");
42 #button-multiline-contract {
43 list-style-image:url("chrome://chatzilla/skin/images/multiline-contract.png");
47 list-style-image:url("chrome://chatzilla/skin/images/input-send.png");
50 .highlight-menu-item:hover {
51 color: #000000 !important;
52 background: #008484 !important;
63 #tabs-drop-indicator-bar {
66 -moz-margin-start: -5px;
70 #tabs-drop-indicator {
75 background: url("chrome://chatzilla/skin/images/drop-indicator-bottom.png") 50% 50% no-repeat;
79 /* do NOT set colour, at least not without background. :) */
85 .view-button[state="current"] {
89 .view-button[state="superfluous"] {
93 .view-button[state="activity"] {
97 .view-button[state="attention"] {
107 border: 1px solid #9C9CFF;
114 /* we need to define both the : and :: versions of the treechildren selector
115 * so that we work on both 1.5 and pre 1.5 builds.
117 * The userlist can be in one of two state. In "symbol", the user's
118 * channel mode is shown as a @ or + image, while in "graphic" mode, the
119 * image is one of the LED images.
123 treechildren::-moz-tree-image {
124 list-style-image: url("chrome://chatzilla/skin/images/no-symbol.png");
127 #user-list[mode="graphic"] treechildren::-moz-tree-image {
128 list-style-image: url("chrome://chatzilla/skin/images/no-graphic.png");
132 treechildren::-moz-tree-image(voice-true) {
133 list-style-image: url("chrome://chatzilla/skin/images/voice-symbol.png");
136 #user-list[mode="graphic"] treechildren::-moz-tree-image(voice-true) {
137 list-style-image: url("chrome://chatzilla/skin/images/voice-graphic.png");
141 treechildren::-moz-tree-image(halfop-true) {
142 list-style-image: url("chrome://chatzilla/skin/images/halfop-symbol.png");
145 #user-list[mode="graphic"] treechildren::-moz-tree-image(halfop-true) {
146 list-style-image: url("chrome://chatzilla/skin/images/halfop-graphic.png");
150 treechildren::-moz-tree-image(op-true) {
151 list-style-image: url("chrome://chatzilla/skin/images/op-symbol.png");
154 #user-list[mode="graphic"] treechildren::-moz-tree-image(op-true) {
155 list-style-image: url("chrome://chatzilla/skin/images/op-graphic.png");
159 treechildren::-moz-tree-image(admin-true) {
160 list-style-image: url("chrome://chatzilla/skin/images/admin-symbol.png");
163 #user-list[mode="graphic"] treechildren::-moz-tree-image(admin-true) {
164 list-style-image: url("chrome://chatzilla/skin/images/admin-graphic.png");
168 treechildren::-moz-tree-image(founder-true) {
169 list-style-image: url("chrome://chatzilla/skin/images/founder-symbol.png");
172 #user-list[mode="graphic"] treechildren::-moz-tree-image(founder-true) {
173 list-style-image: url("chrome://chatzilla/skin/images/founder-graphic.png");
177 treechildren::-moz-tree-cell-text(away-true) {
182 treechildren::-moz-tree-cell-text(away-false) {
185 menuitem[header="true"] {
193 border: 1px solid #9C9CFF;
194 -moz-box-align: center;
195 -moz-box-pack: center;
201 -moz-box-align: center;
202 -moz-box-pack: center;
205 /* Feel the hacks. */
206 progressmeter[mode="undetermined"] {
207 -moz-appearance: none;
218 /* Hack; Stop the status-bar from distorting without a security icon */
223 #status-text[notice="true"] {
231 #security-button:not([level="high"]):not([level="broken"]) {
235 #security-button[level="high"] > 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: highlight !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;