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/");
17 text-decoration: underline;
24 .toolbarbutton-menu-dropmarker {
29 #input-widget-multiline {
31 border: 1px solid #9C9CFF;
34 #button-multiline-expand {
35 list-style-image:url("chrome://chatzilla/skin/images/multiline-expand.png");
38 #button-multiline-contract {
39 list-style-image:url("chrome://chatzilla/skin/images/multiline-contract.png");
43 list-style-image:url("chrome://chatzilla/skin/images/input-send.png");
46 .highlight-menu-item:hover {
47 color: #000000 !important;
48 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 /* Box model is 5px 5px 5px 6px in aggregate. Extra pixel on the left is for the separator. */
80 -moz-appearance: none;
83 border-left: 1px solid ButtonShadow;*/
94 -moz-box-orient: vertical;
95 -moz-box-align: stretch;
98 .view-button:first-child {
99 border-left-color: transparent;
102 .view-button::before {
105 margin: -5px -5px 0 -5px;
109 .view-button[state="superfluous"]::before {
110 background-color: #E7ADE7;
113 .view-button[state="activity"]::before {
114 background-color: #FFCF00;
117 .view-button[state="attention"]::before {
118 background-color: red;
122 .view-button[state="current"] {
124 /* border-left: none;
125 border-radius: 0 0 6px 6px;*/
133 .view-button[state="current"] + .view-button,
134 .view-button:hover + .view-button:not([state="current"]) {
135 /* border-left-color: transparent;*/
138 .view-button[state="current"] {
139 position: relative; /* So it visually appears above the tabs either side. */
140 /* border: 2px solid ButtonShadow;*/
142 padding: 5px 5px 3px 5px;
149 /* we need to define both the : and :: versions of the treechildren selector
150 * so that we work on both 1.5 and pre 1.5 builds.
152 * The userlist can be in one of two state. In "symbol", the user's
153 * channel mode is shown as a @ or + image, while in "graphic" mode, the
154 * image is one of the LED images.
158 treechildren::-moz-tree-image {
159 list-style-image: url("chrome://chatzilla/skin/images/no-symbol.png");
162 #user-list[mode="graphic"] treechildren::-moz-tree-image {
163 list-style-image: url("chrome://chatzilla/skin/images/no-graphic.png");
167 treechildren::-moz-tree-image(voice-true) {
168 list-style-image: url("chrome://chatzilla/skin/images/voice-symbol.png");
171 #user-list[mode="graphic"] treechildren::-moz-tree-image(voice-true) {
172 list-style-image: url("chrome://chatzilla/skin/images/voice-graphic.png");
176 treechildren::-moz-tree-image(halfop-true) {
177 list-style-image: url("chrome://chatzilla/skin/images/halfop-symbol.png");
180 #user-list[mode="graphic"] treechildren::-moz-tree-image(halfop-true) {
181 list-style-image: url("chrome://chatzilla/skin/images/halfop-graphic.png");
185 treechildren::-moz-tree-image(op-true) {
186 list-style-image: url("chrome://chatzilla/skin/images/op-symbol.png");
189 #user-list[mode="graphic"] treechildren::-moz-tree-image(op-true) {
190 list-style-image: url("chrome://chatzilla/skin/images/op-graphic.png");
194 treechildren::-moz-tree-image(admin-true) {
195 list-style-image: url("chrome://chatzilla/skin/images/admin-symbol.png");
198 #user-list[mode="graphic"] treechildren::-moz-tree-image(admin-true) {
199 list-style-image: url("chrome://chatzilla/skin/images/admin-graphic.png");
203 treechildren::-moz-tree-image(founder-true) {
204 list-style-image: url("chrome://chatzilla/skin/images/founder-symbol.png");
207 #user-list[mode="graphic"] treechildren::-moz-tree-image(founder-true) {
208 list-style-image: url("chrome://chatzilla/skin/images/founder-graphic.png");
212 treechildren::-moz-tree-cell-text(away-true) {
217 treechildren::-moz-tree-cell-text(away-false) {
220 menuitem[header="true"] {
228 border: 1px solid #9C9CFF;
229 -moz-box-align: center;
230 -moz-box-pack: center;
236 -moz-box-align: center;
237 -moz-box-pack: center;
240 /* Feel the hacks. */
241 progressmeter[mode="undetermined"] {
242 -moz-appearance: none;
261 #server-nick, #button-multiline-expand, #button-input, #button-multiline-contract {
265 #input, #multiline-input {
269 /* Hack; Stop the status-bar from distorting without a security icon */
274 #status-text[notice="true"] {
282 #security-button:not([level="high"]):not([level="broken"]) {
286 #security-button[level="high"] > image {
287 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
290 #security-button[level="broken"] > image {
291 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
294 /* prevent margins of a value-less label from shifting the image */
295 #security-button > label:not([value]) {
299 #alert-status[alertstate="off"] {
300 list-style-image: url("chrome://chatzilla/skin/images/spbubble-off.png");
303 #alert-status[alertstate="on"] {
304 list-style-image: url("chrome://chatzilla/skin/images/spbubble-on.png");
307 #logging-status[loggingstate="off"] {
308 list-style-image: url("chrome://chatzilla/skin/images/logging-off.png");
311 #logging-status[loggingstate="on"] {
312 list-style-image: url("chrome://chatzilla/skin/images/logging-on.png");
315 #offline-status[offlinestate="offline"] {
316 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
319 #offline-status[offlinestate="online"] {
320 list-style-image: url("chrome://communicator/skin/icons/online.gif");
323 /* Focus styling for a11y reasons */
324 #user-list-box[focusobvious="true"], #browser-box[focusobvious="true"],
325 #multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] {
326 outline: 2px solid #008484;