ChatZilla changes only, bug 89713, r=samuel@sieb.net, a=asa

initial add of dark and light output styles
This commit is contained in:
rginda%netscape.com 2001-08-23 20:24:02 +00:00
Родитель e7a2161855
Коммит ff023582ca
2 изменённых файлов: 396 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,193 @@
/* -*- 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
*
*/
/*
* a dark background/light text version of the output window.
* see output-base.css for details.
*/
@import url(chrome://chatzilla/content/output-base.css);
body.chatzilla-body { /* The topmost container in the ChatZilla */
background: black; /* output window. */
color: lightgrey;
}
a.chatzilla-link {
color: #fffdd6;
}
a.chatzilla-link:visited {
color: lightgrey;
}
.msg-data[msg-type="JOIN"] a.chatzilla-link,
.msg-data[msg-type="PART"] a.chatzilla-link {
color: lightcyan;
}
.msg-data[msg-type="KICK"] a.chatzilla-link {
color: #ff5700;
}
.chatzilla-rheet {
color: magenta !important;
}
.chatzilla-highlight[name="Large"] {
font-size: 12pt;
}
.chatzilla-highlight[name="Small"] {
font-size: 8pt;
}
.chatzilla-highlight[name="Bold text"] {
font-weight: bold;
}
.chatzilla-highlight[name="Slate"] {
color: white;
background: #15272d;
}
.chatzilla-highlight[name="Plum"] {
color: white;
background: #442144;
}
.chatzilla-highlight[name="Brown"] {
color: white;
background: #562a14;
}
.msg-type { /* .msg-type = message type */
color: silver; /* indicator */
}
.msg-user { /* msg-user = nickname portion of */
color: white; /* a message (channel and query */
} /* views) */
.msg-data[mark="even"] { /* use even/odd marks to create a */
color: white; /* subtle brightness change when */
} /* the speaker changes. */
.msg-data[msg-type="JOIN"],
.msg-data[msg-type="PART"] {
color: lightblue;
}
.msg-data[msg-type="PART"] {
color: lightblue;
}
.msg-data[msg-type="HELLO"] {
color: yellow;
}
.msg-data[msg-type="ERROR"] {
background: red;
color: white;
}
.msg-data[msg-type="USAGE"] {
color: white;
}
.msg-data[msg-type="ACTION"] {
color: #6ac9ee;
}
.msg-data[msg-type="NICK"] {
color: #96fa94;
}
.msg-data[msg-type="NOTICE"],
.msg-data[msg-type="MODE"] {
color: #60e066;
}
.msg-data[msg-type="NOTICE"] a.chatzilla-link,
.msg-data[msg-type="MODE"] a.chatzilla-link {
color: #6dff74;
}
.msg-data[msg-type="KICK"] {
color: #d85d24;
}
.msg-data[msg-type="QUIT"] {
color: #f7b183;
}
/* 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[important="true"] {
background: #333333;
}
.msg-user:before,
.msg-user:after {
color: blue;
}
.msg-user[msg-user="ME!"]:before,
.msg-user[msg-user="ME!"]:after {
color: #6afc73;
}
.msg-user[msg-type="ACTION"]:before,
.msg-user[msg-type="ACTION"]:after {
color: cyan;
}
.msg-user[msg-type="NOTICE"]:before,
.msg-user[msg-type="NOTICE"]:after {
color: #6afc73;
}
/* private messages *not* in a query window */
.msg-user[dest-type="IRCUser"]:before,
.msg-user[dest-type="IRCUser"]:after {
color: #6afc73;
}
.msg-user[msg-dest="ME!"]:before,
.msg-user[msg-dest="ME!"]:after {
color: magenta;
}
/* private messages in a query window */
.msg-user[view-type="IRCUser"]:before,
.msg-user[view-type="IRCUser"]:after {
color: white;
}
.msg-user[view-type="IRCUser"][msg-user="ME!"]:before,
.msg-user[view-type="IRCUser"][msg-user="ME!"]:after {
color: #6afc73;
}

Просмотреть файл

@ -0,0 +1,203 @@
/* -*- 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
*
*/
/*
* a light background/dark text version of the output window.
* see output-base.css for details.
*/
@import url(chrome://chatzilla/content/output-base.css);
body.chatzilla-body { /* The topmost container in the ChatZilla */
background: white; /* output window. */
color: #222222;
}
a.chatzilla-link {
color: #777499 /*#ea3838*/;
}
.msg-data[msg-type="QUIT"] a.chatzilla-link {
color: #d1ecf9;
}
.msg-data[msg-type="ERROR"] a.chatzilla-link {
font-weight: bold;
color: white;
}
.msg-data[msg-type="QUIT"] a.chatzilla-link:visited {
color: #b4ccd8;
}
.msg-data[msg-type="KICK"] a.chatzilla-link {
color: lightgrey;
}
.chatzilla-rheet {
color: #e25e00 !important;
}
a.chatzilla-link:visited {
color: ;
}
.chatzilla-highlight[name="Bold text"] {
font-weight: bold;
}
.chatzilla-highlight[name="Large"] {
font-size: 12pt;
}
.chatzilla-highlight[name="Small"] {
font-size: 8pt;
}
.chatzilla-highlight[name="Slate"] {
color: black;
background: #b8c4e0;
}
.chatzilla-highlight[name="Plum"] {
color: black;
background: #ddb8d0;
}
.chatzilla-highlight[name="Brown"] {
color: black;
background: #ffbf77;
}
.msg-type { /* .msg-type = message type */
color: #202020; /* indicator */
}
.msg-user { /* msg-user = nickname portion of */
color: black; /* a message (channel and query */
font-weight: bold; /* views) */
}
.msg-data[mark="even"] { /* use even/odd marks to create a */
color: #555555; /* subtle brightness change when */
} /* the speaker changes. */
.msg-type[msg-type="KICK"],
.msg-type[msg-type="NICK"],
.msg-type[msg-type="QUIT"],
.msg-type[msg-type="JOIN"],
.msg-type[msg-type="PART"] {
visibility: hidden;
}
.msg-data[msg-type="JOIN"],
.msg-data[msg-type="PART"] {
background: #b4ccd8;
color: black;
font-weight: bold;
-moz-border-radius: 5px 5px 5px 5px;
/*border: thin darkblue solid;*/
}
.msg-data[msg-type="QUIT"] {
background: #777499;
color: white;
font-weight: bold;
-moz-border-radius: 5px 5px 5px 5px;
}
.msg-data[msg-type="HELLO"] {
background: #ffd000;
color: white;
-moz-border-radius: 5px 5px 5px 5px;
font-weight: bold;
}
.msg-data[msg-type="ERROR"] {
-moz-border-radius: 5px 5px 5px 5px;
background: #ff2600;
color: white;
}
.msg-data[msg-type="USAGE"] {
color: black;
}
.msg-data[msg-type="ACTION"] {
color: black;
font-style: italic;
}
.msg-data[msg-type="NICK"] {
color: #669da3;
font-weight: bold;
}
.msg-data[msg-type="NOTICE"] {
color: #ff6500;
font-weight: bold;
}
.msg-data[msg-type="MODE"] {
color: purple;
}
.msg-data[msg-type="KICK"] {
color: white;
background: #ff6500;
-moz-border-radius: 5px 5px 5px 5px;
}
/* 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"] {
-moz-border-radius: 5px 0px 0px 5px;
border-bottom: 1px black solid;
border-top: 1px lightslategrey solid;
border-left: 1px lightslategrey solid;
background: #d7ceea;
}
.msg-data[important="true"] {
-moz-border-radius: 0px 5px 5px 0px;
border-bottom: 1px black solid;
border-right: 1px black solid;
border-top: 1px lightslategrey solid;
background: #d7ceea;
}
/* :before and :after pseudoclasses form the decorations around nicknames. */
.msg-user:before,
.msg-user:after {
color: #777499;
}
.msg-user[msg-user="ME!"]:before, /* the decoration around MY */
.msg-user[msg-user="ME!"]:after { /* nick */
color: #843c6c;
}