/* -*- 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(output-base.css);

body.chatzilla-body {               /* The topmost container in the ChatZilla */
    background: black;         /* output window. */
    background-image: url(images/mozilla-star-dblue.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;    
}

a.chatzilla-link {
    color: #fffdd6;
}

a.chatzilla-link:visited {
    color: lightgrey;
}

/*
data,
.msg-type,
.msg-user
.msg-table {
    background-image: url(images/mozilla-bask-dblue.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
*/

.msg[msg-type="JOIN"] .msg-data a.chatzilla-link,
.msg[msg-type="PART"] .msg-data a.chatzilla-link {
    color: lightcyan;
}

.msg[msg-type="KICK"] .msg-data 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[mark="even"] .msg-data {               /* use even/odd marks to create a */
    color: white;                           /* subtle brightness change when  */
}                                           /* the speaker changes.           */

.msg[msg-type="JOIN"] .msg-data,
.msg[msg-type="PART"] .msg-data {
    color: lightblue;
}

.msg[msg-type="PART"] .msg-data {
    color: lightblue;
}

.msg[msg-type="HELLO"] .msg-data {
    color: yellow;
}

.msg[msg-type="ERROR"] .msg-data {
    background: red;
    color: white;
}

.msg[msg-type="USAGE"] .msg-data {
    color: white;
}

.msg[msg-type="ACTION"] .msg-data {
    color: #6ac9ee;
}

.msg[msg-type="NICK"] .msg-data {
    color: #96fa94;
}

.msg[msg-type="NOTICE"] .msg-data,
.msg[msg-type="MODE"] .msg-data {
    color: #60e066;
}

.msg[msg-type="NOTICE"] .msg-data a.chatzilla-link,
.msg[msg-type="MODE"] .msg-data a.chatzilla-link {
    color: #6dff74;
}

.msg[msg-type="KICK"] .msg-data {
    color: #d85d24;
}

.msg[msg-type="QUIT"] .msg-data {
    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"] .msg-data {
    -moz-border-radius: 3px;
    border: 1px #444444 solid;
    background: #111111;
    background-image: url(images/mozilla-star-lblue.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.msg-user:before,
.msg-user:after {
    color: blue;
}

.msg[msg-user="ME!"] .msg-user:before,
.msg[msg-user="ME!"] .msg-user:after {
    color: #6afc73;
}

.msg[msg-type="ACTION"] .msg-user:before,
.msg[msg-type="ACTION"] .msg-user:after {
    color: cyan;
}

.msg[msg-type="NOTICE"] .msg-user:before,
.msg[msg-type="NOTICE"] .msg-user:after {
    color: #6afc73;
}

/* private messages *not* in a query window */
.msg[dest-type="IRCUser"] .msg-user:before,
.msg[dest-type="IRCUser"] .msg-user:after {
    color: #6afc73;
}

.msg[msg-dest="ME!"] .msg-user:before,
.msg[msg-dest="ME!"] .msg-user:after {
    color: magenta;
}

/* private messages in a query window */
.msg[view-type="IRCUser"] .msg-user:before,
.msg[view-type="IRCUser"] .msg-user:after {
    color: white;
}

.msg[view-type="IRCUser"][msg-user="ME!"] .msg-user:before,
.msg[view-type="IRCUser"][msg-user="ME!"] .msg-user:after {
    color: #6afc73;
}
