/* -*- 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 Robert Tolliver
 * Portions created by Robert Tolliver are
 * Copyright (C) 2003 Robert Tolliver. All
 * Rights Reserved.
 *
 * Contributor(s):
 *  Robert Tolliver <RobbTiger@softhome.net>
 * 
 * Styles for output window
 *
 */

@import url(output-base.css);

body.chatzilla-body{
    background: #ccc;
}

.msg-table {
    background: inherit;
    height: 100%;
}
.msg-type {
    vertical-align: middle;
}
.msg-user {
    text-align: center;
    vertical-align: middle;
    border: thin #f74 solid;
    -moz-border-radius: 5px;
    background: white;
    padding: .5ex .5em;
    font-weight: bold;
}
.msg-user:before,
.msg-user:after{
    font-weight: normal;
}

.msg-data {
    text-align: left;
    vertical-align: middle;
    border: thin #44f solid;
    background: white;
    -moz-border-radius: 5px;
    padding: .5ex 1em;
}

.msg[important="true"] .msg-data,
.msg[important="true"] .msg-user {
    border-width: 2px;
    font-weight: bold;
}

.msg[msg-type="JOIN"] .msg-data,
.msg[msg-type="QUIT"] .msg-data,
.msg[msg-type="PART"] .msg-data {
    background-color: #f74;
    color: black;
    -moz-border-radius: 5px;
}

.msg[msg-type="372"] .msg-data,
.msg[msg-type="EVAL-IN"] .msg-data,
.msg[msg-type="EVAL-OUT"] .msg-data,
.msg[msg-type="HELLO"] .msg-data,
.msg[msg-type="ERROR"] .msg-data,
.msg[msg-type="USAGE"] .msg-data,
.msg[msg-type="NICK"] .msg-data,
.msg[msg-type="NOTICE"] .msg-data,
.msg[msg-type="MODE"] .msg-data,
.msg[msg-type="KICK"] .msg-data,
.msg[msg-type="INFO"] .msg-data,
.msg[msg-type="HELP"] .msg-data,
.msg[msg-type="STATUS"] .msg-data {
    border: 0px;
    background: inherit;
}


.msg[msg-type="ACTION"] .msg-user:before {
    content: "*"
}

.msg[msg-type="ACTION"] .msg-data {
    font-style: italic;
}

.msg[dest-type="IRCUser"] .msg-user:before,
.msg[dest-type="IRCUser"] .msg-user:after {
    content: "<<";
    font-weight: bold;
}
.msg[msg-dest$="ME!"] .msg-user:before,
.msg[msg-dest$="ME!"] .msg-user:after {
    content: ">>";
    font-weight: bold;
}
