| 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: url(chrome://chatzilla/skin/images/xtal.jpg); |
| 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 | |
| 115 | } |
| 116 | |
| 117 | .msg-data[msgtype="JOIN"], |
| 118 | .msg-data[msgtype="PART"] { |
| 119 | |
| 120 | font-variant: small-caps; |
| 121 | color: darkslategrey; |
| 122 | |
| 123 | } |
| 124 | |
| 125 | .msg-data[msgtype="ACTION"] { |
| 126 | |
| 127 | color: darkred; |
| 128 | |
| 129 | } |
| 130 | |
| 131 | .msg-data[msgtype="NOTICE"] { |
| 132 | |
| 133 | color: green; |
| 134 | |
| 135 | } |
| 136 | |
| 137 | .msg-data[msgtype="KICK"] { |
| 138 | |
| 139 | color: slategrey; |
| 140 | |
| 141 | } |
| 142 | |
| 143 | .msg-data[msgtype="QUIT"] { |
| 144 | |
| 145 | color: brown; |
| 146 | |
| 147 | } |
| 148 | |
| 149 | /* nickname field in output */ |
| 150 | .msg-user { |
| 151 | |
| 152 | text-align: center; |
| 153 | vertical-align: middle; |
| 154 | color: blue; |
| 155 | font-weight: bold; |
| 156 | background: grey; |
| 157 | |
| 158 | } |
| 159 | |
| 160 | .msg-user[user="!ME"] { |
| 161 | |
| 162 | color: green; |
| 163 | |
| 164 | } |
| 165 | |
| 166 | .msg-user[msgtype="ACTION"] { |
| 167 | |
| 168 | font-style: italic; |
| 169 | |
| 170 | } |
| 171 | |
| 172 | /* Message type indicator in output window */ |
| 173 | .msg-type { |
| 174 | |
| 175 | text-align: center; |
| 176 | vertical-align: middle; |
| 177 | color: brown; |
| 178 | font-weight: bold; |
| 179 | background: lightgrey; |
| 180 | |
| 181 | } |