-/* -*- Mode: Text; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
- * The contents of this file are subject to the Mozilla Public
- * License Version 1.1 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
- *
- * The Original Code is Chatzilla.
- *
- * The Initial Developer of the Original Code is New Dimensions Consulting,
- * Inc. Portions created by New Dimensions Consulting, Inc. are
- * Copyright (C) 1999 New Dimenstions Consulting, Inc. All
- * Rights Reserved.
- *
- * Contributor(s):
- * Robert Ginda, rginda@ndcico.com, original author
- *
- * Styles for output window
- *
- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* a version of the output window that uses only your default foreground and
* see output-base.css for details.
*/
-@import url(chrome://chatzilla/content/output-base.css);
-
/* LCARtrek needs corrections though. */
+@import url("chrome://chatzilla/content/output-base.css");
+
body.chatzilla-body { /* The topmost container in the ChatZilla */
background: #000000; /* output window. */
color: #008484;
color: #000000;
background-color: #9C9CFF;
border-color: #FFCF00;
- -moz-border-radius: 7px;
+ border-radius: 7px;
}
.value {
color: #FFCF00 !important;
}
-.msg-type[msg-type="JOIN"],
-.msg-type[msg-type="PART"],
-.msg-type[msg-type="QUIT"] {
+.progress-fg {
+ background-color: #8050B0;
+}
+
+.msg[msg-type="ACTION"] .msg-data {
+ font-style: italic;
+}
+
+.msg[msg-type="JOIN"] .msg-type,
+.msg[msg-type="PART"] .msg-type,
+.msg[msg-type="QUIT"] .msg-type {
font-weight: bold;
}
-.msg-data[msg-type="QUIT"] {
+.msg[msg-type="QUIT"] .msg-data {
font-variant: small-caps;
font-weight: bold;
}
-.msg-data[msg-type="JOIN"],
-.msg-data[msg-type="PART"] {
+.msg[msg-type="JOIN"] .msg-data,
+.msg[msg-type="PART"] .msg-data {
font-variant: small-caps;
}
-.msg-data[msg-type="HELLO"],
-.msg-type[msg-type="NICK"],
-.msg-data[msg-type="NOTICE"] {
+.msg[msg-type="HELLO"] .msg-data,
+.msg[msg-type="NICK"] .msg-type,
+.msg[msg-type="NOTICE"] .msg-data {
font-weight: bold;
}
-.msg-data[msg-type="NICK"] {
- font: 10pt courier;
+.msg[msg-type="NICK"] .msg-data {
+ font-family: "Liberation Mono", Consolas, "Courier New", monospace;
}
.msg-type { /* .msg-type = message type */
color: #000000; /* indicator */
background-color: #008484;
- -moz-border-radius: 9px 0px 0px 9px;
+ border-radius: 9px 0px 0px 9px;
border: 1px solid transparent;
}
-.msg-data,
-.msg-data[msg-type] {
+.msg-data {
background-color: #9C9CFF;
border: 1px solid transparent;
- -moz-border-radius: 0px 9px 9px 0px;
+ border-radius: 0px 9px 9px 0px;
color: #000000;
}
-.msg-data[mark="even"] { /* use even/odd marks to create a */
+.msg[mark="even"] .msg-data { /* use even/odd marks to create a */
color: #004242; /* subtle brightness change when */
} /* the speaker changes. */
-.msg-data a.chatzilla-link,
-.msg-data[msg-type] a.chatzilla-link {
- color: #FFCF00;
-}
-
-.msg-data a.chatzilla-link:visited,
-.msg-data[msg-type] a.chatzilla-link:visited {
- color: #8050B0;
-}
-
-.msg-data[msg-type="JOIN"],
-.msg-data[msg-type="PART"],
-.msg-data[msg-type="QUIT"],
-.msg-data[msg-type="NICK"],
-.msg-data[msg-type="NOTICE"],
-.msg-data[msg-type="INFO"],
-.msg-data[msg-type="MODE"],
-.msg-data[msg-type="HELLO"],
-.msg-data[msg-type="USAGE"] {
+.msg[msg-type="JOIN"] .msg-data,
+.msg[msg-type="PART"] .msg-data,
+.msg[msg-type="QUIT"] .msg-data,
+.msg[msg-type="NICK"] .msg-data,
+.msg[msg-type="NOTICE"] .msg-data,
+.msg[msg-type="INFO"] .msg-data,
+.msg[msg-type="MODE"] .msg-data,
+.msg[msg-type="HELLO"] .msg-data,
+.msg[msg-type="USAGE"] .msg-data {
background-color: #008484;
color: #000000;
}
-.msg-data[msg-type="ERROR"],
-.msg-data[msg-type="KICK"] {
+.msg[msg-type="ERROR"] .msg-data,
+.msg[msg-type="KICK"] .msg-data {
background-color: red;
color: #000000;
}
-.msg-data[msg-type="ACTION"] {
+.msg[msg-type="ACTION"] .msg-data {
font-weight: bold;
font-style: italic;
}
.msg-user {
background-color: #9C9CFF;
border: 1px solid transparent;
- -moz-border-radius: 9px 0px 0px 9px;
+ border-radius: 9px 0px 0px 9px;
}
/* important="true" means that the message has text from your /stalk list in
* it, has your nickname in it, or was spoken by someone in your /stalk list.
*/
-.msg-user[important="true"],
-.msg-data[important="true"] {
+.msg[important="true"] .msg-user,
+.msg[important="true"] .msg-data {
background: #FF9F00 !important;
color: #000000 !important;
}
/* :before and :after pseudoclasses form the decorations around nicknames. */
.msg-user:before,
.msg-user:after {
- font: 10pt courier;
- font-weight: bolder;
- color: #000000;
+ font-size: 100%;
+ font-family: "Liberation Mono", Consolas, "Courier New", monospace;
+ font-weight: bolder;
}
-.msg-user[msg-user$="ME!"]:before,
-.msg-user[msg-user$="ME!"]:after {
+.msg[msg-user$="ME!"] .msg-user:before,
+.msg[msg-user$="ME!"] .msg-user:after {
color: #000000;
}
-.msg-user[msg-user$="ME!"] {
+.msg[msg-user$="ME!"] .msg-user {
border: 1px solid #FFCF00;
font-weight: bold;
}
-.msg-user[msg-type="ACTION"]:before,
-.msg-user[msg-type="ACTION"]:after {
+.msg[msg-type="ACTION"] .msg-user:before,
+.msg[msg-type="ACTION"] .msg-user:after {
color: #000000;
}
-.msg-user[msg-type="NOTICE"]:before,
-.msg-user[msg-type="NOTICE"]:after {
+.msg[msg-type="NOTICE"] .msg-user:before,
+.msg[msg-type="NOTICE"] .msg-user:after {
color: #000000;
}
/* private messages *not* in a query window */
-.msg-user[dest-type="IRCUser"]:before,
-.msg-user[dest-type="IRCUser"]:after {
+.msg[dest-type="IRCUser"] .msg-user:before,
+.msg[dest-type="IRCUser"] .msg-user:after {
color: #FFCF00;
}
-.msg-user[dest-type="IRCUser"],
-.msg-user[dest-type="IRCUser"][msg-dest$="ME!"] {
- font-style: italic;
+
+.msg[dest-type="IRCUser"] .msg-user,
+.msg[dest-type="IRCUser"][msg-dest$="ME!"] .msg-user {
+ font-style: italic;
}
-.msg-user[msg-dest$="ME!"]:before,
-.msg-user[msg-dest$="ME!"]:after {
+.msg[msg-dest$="ME!"] .msg-user:before,
+.msg[msg-dest$="ME!"] .msg-user:after {
color: #FFCF00;
}
-.msg-user[dest-type="IRCUser"],
-.msg-user[msg-dest$="ME!"] {
+.msg[dest-type="IRCUser"] .msg-user,
+.msg[msg-dest$="ME!"] .msg-user {
border: 1px solid #FFCF00;
+ font-weight: bold;
}
/* private messages in a query window */
-.msg-user[view-type="IRCUser"]:before,
-.msg-user[view-type="IRCUser"]:after {
+.msg[view-type="IRCUser"] .msg-user:before,
+.msg[view-type="IRCUser"] .msg-user:after {
color: #008484;
}
-.msg-user[view-type="IRCUser"][msg-user$="ME!"]:before,
-.msg-user[view-type="IRCUser"][msg-user$="ME!"]:after {
+.msg[view-type="IRCUser"][msg-user$="ME!"] .msg-user:before,
+.msg[view-type="IRCUser"][msg-user$="ME!"] .msg-user:after {
color: #008484;
}