Commit | Line | Data |
---|---|---|
731b0901 | 1 | /* -*- Mode: Text; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
cc7585ee RK |
2 | * ***** BEGIN LICENSE BLOCK ***** |
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
731b0901 | 4 | * |
cc7585ee RK |
5 | * The contents of this file are subject to the Mozilla Public License Version |
6 | * 1.1 (the "License"); you may not use this file except in compliance with | |
7 | * the License. You may obtain a copy of the License at | |
8 | * http://www.mozilla.org/MPL/ | |
9 | * | |
10 | * Software distributed under the License is distributed on an "AS IS" basis, | |
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
12 | * for the specific language governing rights and limitations under the | |
13 | * License. | |
731b0901 | 14 | * |
15 | * The Original Code is Chatzilla. | |
16 | * | |
cc7585ee RK |
17 | * The Initial Developer of the Original Code is |
18 | * New Dimensions Consulting, Inc. | |
19 | * Portions created by the Initial Developer are Copyright (C) 1999 | |
20 | * the Initial Developer. All Rights Reserved. | |
731b0901 | 21 | * |
22 | * Contributor(s): | |
cc7585ee | 23 | * Robert Ginda, rginda@ndcico.com, original author |
731b0901 | 24 | * |
cc7585ee RK |
25 | * Alternatively, the contents of this file may be used under the terms of |
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
28 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
29 | * of those above. If you wish to allow use of your version of this file only | |
30 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
31 | * use your version of this file under the terms of the MPL, indicate your | |
32 | * decision by deleting the provisions above and replace them with the notice | |
33 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
34 | * the provisions above, a recipient may use your version of this file under | |
35 | * the terms of any one of the MPL, the GPL or the LGPL. | |
36 | * | |
37 | * ***** END LICENSE BLOCK ***** */ | |
731b0901 | 38 | |
39 | /* | |
40 | * a version of the output window that uses only your default foreground and | |
41 | * backgrond colors. Message types are distinguished by font changes. | |
42 | * see output-base.css for details. | |
43 | */ | |
44 | ||
731b0901 | 45 | /* LCARtrek needs corrections though. */ |
46 | ||
cc7585ee RK |
47 | @import url("chrome://chatzilla/content/output-base.css"); |
48 | ||
731b0901 | 49 | body.chatzilla-body { /* The topmost container in the ChatZilla */ |
a8dfd76f | 50 | background: #000000; /* output window. */ |
51 | color: #008484; | |
731b0901 | 52 | } |
53 | ||
54 | a.chatzilla-link { | |
a8dfd76f | 55 | color: #FFCF00; |
731b0901 | 56 | } |
57 | ||
58 | a.chatzilla-link:visited { | |
a8dfd76f | 59 | color: #8050B0; |
731b0901 | 60 | } |
61 | ||
a8dfd76f | 62 | .header-outer { |
63 | background-color: #E7ADE7; | |
731b0901 | 64 | } |
65 | ||
a8dfd76f | 66 | .header { |
67 | color: #000000; | |
68 | background-color: #9C9CFF; | |
69 | border-color: #FFCF00; | |
70 | -moz-border-radius: 7px; | |
731b0901 | 71 | } |
72 | ||
a8dfd76f | 73 | .value { |
74 | color: #008484; | |
731b0901 | 75 | } |
76 | ||
a8dfd76f | 77 | #splash { |
78 | color: #FF9F00; | |
731b0901 | 79 | } |
80 | ||
a8dfd76f | 81 | .chatzilla-rheet { |
82 | color: #FFCF00 !important; | |
731b0901 | 83 | } |
84 | ||
cc7585ee RK |
85 | .progress-fg { |
86 | background-color: #8050B0; | |
87 | } | |
88 | ||
89 | .msg[msg-type="ACTION"] .msg-data { | |
90 | font-style: italic; | |
91 | } | |
92 | ||
93 | .msg[msg-type="JOIN"] .msg-type, | |
94 | .msg[msg-type="PART"] .msg-type, | |
95 | .msg[msg-type="QUIT"] .msg-type { | |
a8dfd76f | 96 | font-weight: bold; |
731b0901 | 97 | } |
98 | ||
cc7585ee | 99 | .msg[msg-type="QUIT"] .msg-data { |
a8dfd76f | 100 | font-variant: small-caps; |
101 | font-weight: bold; | |
731b0901 | 102 | } |
103 | ||
cc7585ee RK |
104 | .msg[msg-type="JOIN"] .msg-data, |
105 | .msg[msg-type="PART"] .msg-data { | |
a8dfd76f | 106 | font-variant: small-caps; |
731b0901 | 107 | } |
108 | ||
cc7585ee RK |
109 | .msg[msg-type="HELLO"] .msg-data, |
110 | .msg[msg-type="NICK"] .msg-type, | |
111 | .msg[msg-type="NOTICE"] .msg-data { | |
a8dfd76f | 112 | font-weight: bold; |
731b0901 | 113 | } |
114 | ||
cc7585ee RK |
115 | .msg[msg-type="NICK"] .msg-data { |
116 | font-family: monospace; | |
a8dfd76f | 117 | } |
118 | ||
119 | .msg-type { /* .msg-type = message type */ | |
120 | color: #000000; /* indicator */ | |
121 | background-color: #008484; | |
122 | -moz-border-radius: 9px 0px 0px 9px; | |
123 | border: 1px solid transparent; | |
124 | } | |
125 | ||
cc7585ee | 126 | .msg-data { |
a8dfd76f | 127 | background-color: #9C9CFF; |
128 | border: 1px solid transparent; | |
129 | -moz-border-radius: 0px 9px 9px 0px; | |
130 | color: #000000; | |
131 | } | |
132 | ||
cc7585ee | 133 | .msg[mark="even"] .msg-data { /* use even/odd marks to create a */ |
a8dfd76f | 134 | color: #004242; /* subtle brightness change when */ |
135 | } /* the speaker changes. */ | |
136 | ||
cc7585ee RK |
137 | .msg[msg-type="JOIN"] .msg-data, |
138 | .msg[msg-type="PART"] .msg-data, | |
139 | .msg[msg-type="QUIT"] .msg-data, | |
140 | .msg[msg-type="NICK"] .msg-data, | |
141 | .msg[msg-type="NOTICE"] .msg-data, | |
142 | .msg[msg-type="INFO"] .msg-data, | |
143 | .msg[msg-type="MODE"] .msg-data, | |
144 | .msg[msg-type="HELLO"] .msg-data, | |
145 | .msg[msg-type="USAGE"] .msg-data { | |
a8dfd76f | 146 | background-color: #008484; |
147 | color: #000000; | |
148 | } | |
149 | ||
cc7585ee RK |
150 | .msg[msg-type="ERROR"] .msg-data, |
151 | .msg[msg-type="KICK"] .msg-data { | |
a8dfd76f | 152 | background-color: red; |
153 | color: #000000; | |
154 | } | |
155 | ||
cc7585ee | 156 | .msg[msg-type="ACTION"] .msg-data { |
a8dfd76f | 157 | font-weight: bold; |
158 | font-style: italic; | |
159 | } | |
160 | ||
161 | .msg-user a.chatzilla-link, | |
162 | .msg-user { /* msg-user = nickname portion of */ | |
163 | color: #008484 !important; /* a message (channel and query */ | |
164 | } /* views) */ | |
165 | ||
166 | .msg-user { | |
167 | background-color: #9C9CFF; | |
168 | border: 1px solid transparent; | |
169 | -moz-border-radius: 9px 0px 0px 9px; | |
170 | } | |
171 | ||
172 | /* important="true" means that the message has text from your /stalk list in | |
173 | * it, has your nickname in it, or was spoken by someone in your /stalk list. | |
174 | */ | |
cc7585ee RK |
175 | .msg[important="true"] .msg-user, |
176 | .msg[important="true"] .msg-data { | |
a8dfd76f | 177 | background: #FF9F00 !important; |
178 | color: #000000 !important; | |
731b0901 | 179 | } |
180 | ||
181 | /* :before and :after pseudoclasses form the decorations around nicknames. */ | |
182 | .msg-user:before, | |
183 | .msg-user:after { | |
cc7585ee RK |
184 | font-size: 100%; |
185 | font-family: monospace; | |
186 | font-weight: bolder; | |
a8dfd76f | 187 | } |
188 | ||
cc7585ee RK |
189 | .msg[msg-user$="ME!"] .msg-user:before, |
190 | .msg[msg-user$="ME!"] .msg-user:after { | |
a8dfd76f | 191 | color: #000000; |
192 | } | |
cc7585ee | 193 | .msg[msg-user$="ME!"] .msg-user { |
a8dfd76f | 194 | border: 1px solid #FFCF00; |
195 | font-weight: bold; | |
196 | } | |
197 | ||
cc7585ee RK |
198 | .msg[msg-type="ACTION"] .msg-user:before, |
199 | .msg[msg-type="ACTION"] .msg-user:after { | |
a8dfd76f | 200 | color: #000000; |
731b0901 | 201 | } |
202 | ||
cc7585ee RK |
203 | .msg[msg-type="NOTICE"] .msg-user:before, |
204 | .msg[msg-type="NOTICE"] .msg-user:after { | |
a8dfd76f | 205 | color: #000000; |
206 | } | |
207 | ||
208 | /* private messages *not* in a query window */ | |
cc7585ee RK |
209 | .msg[dest-type="IRCUser"] .msg-user:before, |
210 | .msg[dest-type="IRCUser"] .msg-user:after { | |
a8dfd76f | 211 | color: #FFCF00; |
212 | } | |
cc7585ee RK |
213 | |
214 | .msg[dest-type="IRCUser"] .msg-user, | |
215 | .msg[dest-type="IRCUser"][msg-dest$="ME!"] .msg-user { | |
216 | font-style: italic; | |
731b0901 | 217 | } |
218 | ||
cc7585ee RK |
219 | .msg[msg-dest$="ME!"] .msg-user:before, |
220 | .msg[msg-dest$="ME!"] .msg-user:after { | |
a8dfd76f | 221 | color: #FFCF00; |
222 | } | |
223 | ||
cc7585ee RK |
224 | .msg[dest-type="IRCUser"] .msg-user, |
225 | .msg[msg-dest$="ME!"] .msg-user { | |
a8dfd76f | 226 | border: 1px solid #FFCF00; |
cc7585ee | 227 | font-weight: bold; |
a8dfd76f | 228 | } |
229 | ||
230 | /* private messages in a query window */ | |
cc7585ee RK |
231 | .msg[view-type="IRCUser"] .msg-user:before, |
232 | .msg[view-type="IRCUser"] .msg-user:after { | |
a8dfd76f | 233 | color: #008484; |
234 | } | |
235 | ||
cc7585ee RK |
236 | .msg[view-type="IRCUser"][msg-user$="ME!"] .msg-user:before, |
237 | .msg[view-type="IRCUser"][msg-user$="ME!"] .msg-user:after { | |
a8dfd76f | 238 | color: #008484; |
731b0901 | 239 | } |