1 /* -*- Mode: Text; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 * The contents of this file are subject to the Mozilla Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/MPL/
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
12 * The Original Code is Chatzilla.
14 * The Initial Developer of the Original Code is New Dimensions Consulting,
15 * Inc. Portions created by New Dimensions Consulting, Inc. are
16 * Copyright (C) 1999 New Dimenstions Consulting, Inc. All
20 * Robert Ginda, rginda@ndcico.com, original author
22 * Styles for output window
27 * a version of the output window that uses only your default foreground and
28 * backgrond colors. Message types are distinguished by font changes.
29 * see output-base.css for details.
32 @import url(chrome://chatzilla/content/output-base.css);
34 /* LCARtrek needs corrections though. */
36 body.chatzilla-body { /* The topmost container in the ChatZilla */
37 background: #000000; /* output window. */
45 a.chatzilla-link:visited {
50 background-color: #E7ADE7;
55 background-color: #9C9CFF;
56 border-color: #FFCF00;
57 -moz-border-radius: 7px;
69 color: #FFCF00 !important;
72 .msg-type[msg-type="JOIN"],
73 .msg-type[msg-type="PART"],
74 .msg-type[msg-type="QUIT"] {
78 .msg-data[msg-type="QUIT"] {
79 font-variant: small-caps;
83 .msg-data[msg-type="JOIN"],
84 .msg-data[msg-type="PART"] {
85 font-variant: small-caps;
88 .msg-data[msg-type="HELLO"],
89 .msg-type[msg-type="NICK"],
90 .msg-data[msg-type="NOTICE"] {
94 .msg-data[msg-type="NICK"] {
98 .msg-type { /* .msg-type = message type */
99 color: #000000; /* indicator */
100 background-color: #008484;
101 -moz-border-radius: 9px 0px 0px 9px;
102 border: 1px solid transparent;
106 .msg-data[msg-type] {
107 background-color: #9C9CFF;
108 border: 1px solid transparent;
109 -moz-border-radius: 0px 9px 9px 0px;
113 .msg-data[mark="even"] { /* use even/odd marks to create a */
114 color: #004242; /* subtle brightness change when */
115 } /* the speaker changes. */
117 .msg-data a.chatzilla-link,
118 .msg-data[msg-type] a.chatzilla-link {
122 .msg-data a.chatzilla-link:visited,
123 .msg-data[msg-type] a.chatzilla-link:visited {
127 .msg-data[msg-type="JOIN"],
128 .msg-data[msg-type="PART"],
129 .msg-data[msg-type="QUIT"],
130 .msg-data[msg-type="NICK"],
131 .msg-data[msg-type="NOTICE"],
132 .msg-data[msg-type="INFO"],
133 .msg-data[msg-type="MODE"],
134 .msg-data[msg-type="HELLO"],
135 .msg-data[msg-type="USAGE"] {
136 background-color: #008484;
140 .msg-data[msg-type="ERROR"],
141 .msg-data[msg-type="KICK"] {
142 background-color: red;
146 .msg-data[msg-type="ACTION"] {
151 .msg-user a.chatzilla-link,
152 .msg-user { /* msg-user = nickname portion of */
153 color: #008484 !important; /* a message (channel and query */
157 background-color: #9C9CFF;
158 border: 1px solid transparent;
159 -moz-border-radius: 9px 0px 0px 9px;
162 /* important="true" means that the message has text from your /stalk list in
163 * it, has your nickname in it, or was spoken by someone in your /stalk list.
165 .msg-user[important="true"],
166 .msg-data[important="true"] {
167 background: #FF9F00 !important;
168 color: #000000 !important;
171 /* :before and :after pseudoclasses form the decorations around nicknames. */
179 .msg-user[msg-user$="ME!"]:before,
180 .msg-user[msg-user$="ME!"]:after {
183 .msg-user[msg-user$="ME!"] {
184 border: 1px solid #FFCF00;
188 .msg-user[msg-type="ACTION"]:before,
189 .msg-user[msg-type="ACTION"]:after {
193 .msg-user[msg-type="NOTICE"]:before,
194 .msg-user[msg-type="NOTICE"]:after {
198 /* private messages *not* in a query window */
199 .msg-user[dest-type="IRCUser"]:before,
200 .msg-user[dest-type="IRCUser"]:after {
203 .msg-user[dest-type="IRCUser"],
204 .msg-user[dest-type="IRCUser"][msg-dest$="ME!"] {
208 .msg-user[msg-dest$="ME!"]:before,
209 .msg-user[msg-dest$="ME!"]:after {
213 .msg-user[dest-type="IRCUser"],
214 .msg-user[msg-dest$="ME!"] {
215 border: 1px solid #FFCF00;
218 /* private messages in a query window */
219 .msg-user[view-type="IRCUser"]:before,
220 .msg-user[view-type="IRCUser"]:after {
224 .msg-user[view-type="IRCUser"][msg-user$="ME!"]:before,
225 .msg-user[view-type="IRCUser"][msg-user$="ME!"]:after {