/* -*- 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 Mozilla JSIRC Library.
 *
 * 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): 
 *
 *
 * Contributor(s):
 *  Robert Ginda, rginda@ndcico.com, original author
 * 
 * Styles for output window, See test3.css for UI styles
 *
 */

body {

    margin: 0px 0px 0px 0px;
    background: url(chrome://chatzilla/skin/images/blue_rock.gif);

}

a {

    color: cyan;

}

.bold {

    font-weight: bold;

}

.italic {

    font-style: italic;

}

.underline {

    text-decoration: underline;

}

.strikethrough {

    text-decoration: line-through;

}

.teletype {

    font-family: monospace;

}

.smallcap {

    font-variant: small-caps;

}

.rheet {

    font-size: 14pt;
    font-weight: bold;
    color: magenta;

}

/* output from a chat session (contains msgs) */
.chat-view {

    vertical-align: text-bottom;

}

/* common container for all portions of a message
 * (contains msg-*s) */
.msg {

    font-family: sans-serif;

}

.msg[user="!ME"] {

    background: lightgrey;

}

/* message data in output window */
.msg-data {

    padding: 2px;
    color: white;

}

.msg-data[msgtype="311"] {

    border: none;
    border-top: 1 cyan solid;
    border-right: 1 cyan solid;

}

.msg-data[msgtype="319"],
.msg-data[msgtype="312"],
.msg-data[msgtype="317"] {

    margin-top: 0px;
    border: none;
    border-right: 1 cyan solid;

}

.msg-data[msgtype="318"] {

    border: none;
    border-right: 1 cyan solid;
    border-bottom: 1 cyan solid;
    margin-top: 0px;

}

/* message data in output window */

.msg-data[user="!ME"]{


}

.msg-data[mark="odd"]{

    color: lightgrey;

}

.msg-data[directedToMe="true"] {

    color: orange;

}

.msg-data[msgtype="EVAL"] {

    font-family: monospace;

}

.msg-data[msgtype="JOIN"],
.msg-data[msgtype="PART"] {

    width: 100%;
    font-variant: small-caps;
    color: lightblue;

}

.msg-data[msgtype="HELLO"] {

    border: 1 white solid;
    color: yellow;

}

.msg-data[msgtype="ERROR"] {

    background: red;
    color: white;

}

.msg-data[msgtype="USAGE"] {

    font-style: italic;
    color: white;

}

.msg-data[msgtype="HELP"] {

    font-weight: normal;

}

.msg-data[msgtype="ACTION"] {

    color: #6ac9ee;

}

.msg-data[msgtype="NICK"] {

    color: #96fa94;

}

.msg-data[msgtype="NOTICE"],
.msg-data[msgtype="MODE"] {

    color: yellow;

}

.msg-data[msgtype="KICK"] {

    background: orange;
    color: yellow;

}

.msg-data[msgtype="QUIT"] {

    background: lightgrey;
    color: brown;

}

/* nickname field in output */
.msg-user {
	
    text-align: center;
    vertical-align: middle;
    color: white;
    font-weight: bold;
    border: 1 white solid;

}

.msg-user[user="!ME"] {

    color : yellow;

}

.msg-user[msgtype="ACTION"] {

    font-style: italic;

}

.msg-user[msgtype="PRIVMSG"],
.msg-user[msgtype="ACTION"] {

    border: none;
    padding-right: 2px;
    text-align: right;
    vertical-align: middle;
    font-weight: bold;

}

/* Message type indicator in output window */
.msg-type {

    text-align: center;
    vertical-align: middle;
    color: silver;
    border: 1 white solid;
    font-weight: bold;

}

.msg-type[msgtype="311"] {

    border: none;
    border-top: 1 cyan solid;
    border-left: 1 cyan solid;

}

.msg-type[msgtype="319"],
.msg-type[msgtype="312"],
.msg-type[msgtype="317"] {

    margin-top: 0px;
    border: none;
    border-left: 1 cyan solid;

}

.msg-type[msgtype="318"] {

    border: none;
    border-left: 1 cyan solid;
    border-bottom: 1 cyan solid;
    margin-top: 0px;

}


.msg-type[user="!ME"] {

    background: slategrey;

}

