| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Mozilla Public License Version |
| 5 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 | * the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/MPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is Mozilla JSIRC Library. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * New Dimensions Consulting, Inc. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 1999 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Robert Ginda, rginda@ndcico.com, original author |
| 23 | * |
| 24 | * Alternatively, the contents of this file may be used under the terms of |
| 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 28 | * of those above. If you wish to allow use of your version of this file only |
| 29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 | * use your version of this file under the terms of the MPL, indicate your |
| 31 | * decision by deleting the provisions above and replace them with the notice |
| 32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 | * the provisions above, a recipient may use your version of this file under |
| 34 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 35 | * |
| 36 | * ***** END LICENSE BLOCK ***** */ |
| 37 | |
| 38 | body { |
| 39 | |
| 40 | margin: 0px 0px 0px 0px; |
| 41 | background: black; |
| 42 | |
| 43 | } |
| 44 | |
| 45 | .bold { |
| 46 | |
| 47 | font-weight: bold; |
| 48 | |
| 49 | } |
| 50 | |
| 51 | .italic { |
| 52 | |
| 53 | font-style: italic; |
| 54 | |
| 55 | } |
| 56 | |
| 57 | .underline { |
| 58 | |
| 59 | text-decoration: underline; |
| 60 | |
| 61 | } |
| 62 | |
| 63 | .strikethrough { |
| 64 | |
| 65 | text-decoration: line-through; |
| 66 | |
| 67 | } |
| 68 | |
| 69 | .teletype { |
| 70 | |
| 71 | font-family: monospace; |
| 72 | |
| 73 | } |
| 74 | |
| 75 | .smallcap { |
| 76 | |
| 77 | font-variant: small-caps; |
| 78 | |
| 79 | } |
| 80 | |
| 81 | .rheet { |
| 82 | |
| 83 | font-size: 14pt; |
| 84 | font-weight: bold; |
| 85 | color: magenta; |
| 86 | |
| 87 | } |
| 88 | |
| 89 | /* output from a chat session (contains msgs) */ |
| 90 | .chat-view { |
| 91 | |
| 92 | vertical-align: text-bottom; |
| 93 | |
| 94 | } |
| 95 | |
| 96 | /* common container for all portions of a message |
| 97 | * (contains msg-*s) */ |
| 98 | .msg { |
| 99 | |
| 100 | font-family: sans-serif; |
| 101 | |
| 102 | } |
| 103 | |
| 104 | .msg[user="!ME"] { |
| 105 | |
| 106 | background: lightgrey; |
| 107 | |
| 108 | } |
| 109 | |
| 110 | /* message data in output window */ |
| 111 | .msg-data { |
| 112 | |
| 113 | font-weight: bold; |
| 114 | color: lightgrey; |
| 115 | background: #1a2a44; |
| 116 | |
| 117 | } |
| 118 | |
| 119 | /* message data in output window */ |
| 120 | |
| 121 | .msg-data[user="!ME"]{ |
| 122 | |
| 123 | background: black; |
| 124 | |
| 125 | } |
| 126 | |
| 127 | .msg-data[msgtype="JOIN"], |
| 128 | .msg-data[msgtype="PART"] { |
| 129 | |
| 130 | width: 100%; |
| 131 | font-variant: small-caps; |
| 132 | background: lightgray; |
| 133 | color: black; |
| 134 | |
| 135 | } |
| 136 | |
| 137 | .msg-data[msgtype="HELLO"] { |
| 138 | |
| 139 | background: white; |
| 140 | color: darkgreen; |
| 141 | |
| 142 | } |
| 143 | |
| 144 | .msg-data[msgtype="ERROR"], |
| 145 | .msg-data[msgtype="DISCONNECT"] { |
| 146 | |
| 147 | background: red; |
| 148 | color: white; |
| 149 | |
| 150 | } |
| 151 | |
| 152 | .msg-data[msgtype="USAGE"] { |
| 153 | |
| 154 | font-style: italic; |
| 155 | color: white; |
| 156 | |
| 157 | } |
| 158 | |
| 159 | .msg-data[msgtype="HELP"] { |
| 160 | |
| 161 | font-weight: normal; |
| 162 | |
| 163 | } |
| 164 | |
| 165 | .msg-data[msgtype="ACTION"] { |
| 166 | |
| 167 | color: cyan; |
| 168 | |
| 169 | } |
| 170 | |
| 171 | .msg-data[msgtype="NOTICE"] { |
| 172 | |
| 173 | color: yellow; |
| 174 | |
| 175 | } |
| 176 | |
| 177 | .msg-data[msgtype="KICK"] { |
| 178 | |
| 179 | background: orange; |
| 180 | color: yellow; |
| 181 | |
| 182 | } |
| 183 | |
| 184 | .msg-data[msgtype="QUIT"] { |
| 185 | |
| 186 | background: lightgrey; |
| 187 | color: brown; |
| 188 | |
| 189 | } |
| 190 | |
| 191 | /* nickname field in output */ |
| 192 | .msg-user { |
| 193 | |
| 194 | text-align: center; |
| 195 | vertical-align: middle; |
| 196 | color: lightgrey; |
| 197 | font-weight: bold; |
| 198 | background: grey; |
| 199 | |
| 200 | } |
| 201 | |
| 202 | .msg-user[parity="odd"]{ |
| 203 | |
| 204 | background: black; |
| 205 | |
| 206 | } |
| 207 | |
| 208 | .msg-user[user="!ME"] { |
| 209 | |
| 210 | color : white; |
| 211 | |
| 212 | } |
| 213 | |
| 214 | .msg-user[msgtype="ACTION"] { |
| 215 | |
| 216 | font-style: italic; |
| 217 | |
| 218 | } |
| 219 | |
| 220 | /* Message type indicator in output window */ |
| 221 | .msg-type { |
| 222 | |
| 223 | text-align: center; |
| 224 | vertical-align: middle; |
| 225 | color: brown; |
| 226 | font-weight: bold; |
| 227 | background: lightgrey; |
| 228 | |
| 229 | } |
| 230 | |
| 231 | .msg-type[user="!ME"] { |
| 232 | |
| 233 | background: silver; |
| 234 | |
| 235 | } |