/* -*- Mode: Text; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 * ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * 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 the Initial Developer are Copyright (C) 1999
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Robert Ginda, rginda@ndcico.com, original author
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

/*  the very-much-like "mozdev" output window. */
/*  see output-base.css for details. Last modified: 2007-June-18. (worms) */


@import url(chrome://chatzilla/content/output-base.css);

body.chatzilla-body {                        /* The topmost container in the ChatZilla */
    background-color: #fff;                 /* output window. */
    color: #000;                       /* colour of the text, other than msg */
    /*background-image: url("http://www.mozdev.org/sharedimages/background.gif") !important;
    background-position: top left;
    background-repeat: repeat;*/
    font-family: Verdana, Helvetica, Arial, sans-serif, serif !important;
    font-size: 0.80em !important;
}

a.chatzilla-link {
    background-color: #FF9900;
    color: #910;
    font-weight: bold;
    /*border-top-style: solid;
    * border-right-style: none;
    * border-bottom-style: solid;
    * border-left-style: none;
    * border-width: thin;
    * border-top-color: #43191E;
    * border-bottom-color: #43191E;
    * font-style: italic; */
}

a.chatzilla-link:visited {
    background-color: #FF9900;
    color: #551A8B;
    font-weight: normal;
}

a.chatzilla-link:hover {
    text-decoration: underline;
}

.msg[msg-type="JOIN"] .msg-data a.chatzilla-link,
.msg[msg-type="PART"] .msg-data a.chatzilla-link,
.msg[msg-type="KICK"] .msg-data a.chatzilla-link,
.msg[msg-type="MODE"] .msg-data a.chatzilla-link {
    color: #910;
    background-color: white !important;
}

.msg[msg-type="MODE"] .msg-data a.chatzilla-link {
    color: #910;
    background-color: white !important;
    text-decoration: overline underline;
}

.msg[msg-type="NOTICE"] .msg-data a.chatzilla-link {
    color: #3D3E2E;
}

.header-outer {
    background-color: #232A3D;
}

.header {
    color: #3D3331;
    background-color: #970000;
    background-image: url("http://www.mozdev.org/sharedimages/background.gif");
    background-image: url("http://www.mozdev.org/sharedimages/header42.gif") !important;
    background-position: top center;
    background-repeat: no-repeat;
}

.progress-fg {
    background-color: #FF9900;
}

.value {
    color: white;
    font-weight: bold;
}

#splash {
    color: #C21626;                                              
    padding-top: 50% !important;
    font-family: Verdana, Helvetica, Arial, sans-serif !important;
    font-stretch: condensed !important;
}

#usr-descnodes,
#ch-topicnodes {
    color: #ffffff;                                            /* white */
    font-weight: bold;
    background-color: #FF9900;                            /* orange */
}

#ch-usercount,
#ch-modestr {
    color: #fff;
}

treechildren {
    background: #970000;
}

treechildren::-moz-tree-cell(op-true) {
    background-color: #FF9900 !important;
}

treechildren::-moz-tree-cell(halfop-true) {
    background-color: #FFAD2B !important;
}

treechildren::-moz-tree-cell(voice-true) {
    background-color: #FFB643 !important; /*#FFB643 FFC76F*/
}

treechildren::-moz-tree-cell-text,
treechildren::-moz-tree-cell-text(op-true),
treechildren::-moz-tree-cell-text(halfop-true),
treechildren::-moz-tree-cell-text(voice-true) {
    font-family: Verdana, Helvetica, Arial, sans-serif !important;
    font-weight: bold !important;
    color: #fff;
}

treechildren::-moz-tree-cell-text(away-true) {
    font-family: Verdana, Helvetica, Arial, sans-serif !important;
    font-weight: bold !important;
    color: silver;
}

#chatzilla-window #user-list[mode="graphic"] treechildren::-moz-tree-image {
    margin-right: 3px;
    list-style-image: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/mozilla.org_images_mozilla-16.png") !important;
}

#chatzilla-window #user-list[mode="graphic"] treechildren::-moz-tree-image(voice-true) {
    margin-right: 3px;
    list-style-image: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/mozilla.org_images_mozilla-16_voice.png") !important;
}

#chatzilla-window #user-list[mode="graphic"] treechildren::-moz-tree-image(halfop-true) {
    margin-right: 3px;
    list-style-image: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/mozilla.org_images_mozilla-16_halfop.png") !important;
}

#chatzilla-window #user-list[mode="graphic"] treechildren::-moz-tree-image(op-true) {
    margin-right: 3px;
    list-style-image: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/mozilla.org_images_mozilla-16_op.png") !important;
}

[condition] {
    font-weight: bold;
}

[condition="red"] {
    color: red;
}

[condition="yellow"] {
    color: yellow;
}

[condition="green"] {
    color: lightgreen;
}

.chatzilla-rheet {
    color: magenta !important;
}

.msg-timestamp {
    color: #E34A1F;
}

.msg[mark="odd"] .msg-data {
    color: #191B1A;                         /* light blue, cf. users list */
}
                                            /* another light blue */
.msg[mark="even"] .msg-data {               /* use even/odd marks to create a */
    color: #200602;                         /* sutble brightness change when  */
                                            /*  the speaker changes.          */
}

.msg-type {                                 /* .msg-type = message type       */
    color: #8F8D8D;                         /* indicator                      */ 
}                                           /* light grey */

/************ rules for .msg-data depending on msg-type ***********************/
/**** join, part, kick, nick, quit ******/
/**** hello, usage, action, error, disconnect ***/
/**** notice, mode ****/

.msg[msg-type="JOIN"] .msg-data,
.msg[msg-type="PART"] .msg-data,
.msg[msg-type="KICK"] .msg-data,
.msg[msg-type="NICK"] .msg-data,
.msg[msg-type="QUIT"] .msg-data,
.msg[msg-type="MODE"] .msg-data {
    font-size: 0.90em !important;
    font-style: italic;
    color: #51392F;
}

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

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

.msg[msg-type="NICK"] .msg-data {
    color: #8E5946;
    font-weight: bold;
}

.msg[msg-type="QUIT"] .msg-data {
    color: #817565;
}

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

.msg[msg-type="USAGE"] .msg-data {
    color: #3A2522;
}

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

.msg[msg-type="ERROR"] .msg-data,
.msg[msg-type="DISCONNECT"] .msg-data,
.msg[msg-type="NOTICE"] .msg-data {
/*.msg[msg-type="MODE"] .msg-data {*/
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-width: thin;
    border-top-color: #43191E;
    border-bottom-color: #43191E;
    color: #800000;
}

.msg[msg-type="NOTICE"] .msg-data {
    color: black;
    background-color: #F0A300;
    /*-moz-opacity: 0.95;*/
}

.msg[msg-type="MODE"] .msg-data {
    color: #681821;
    font-weight: bold;
    text-decoration: overline underline;
}

/***************  "important" words triggers msg-data decoration  *************/
/*.msg[important="true"] .msg-user,*/

.msg[important="true"] .msg-data {
    /*background-color: #D20C0C !important;*/
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-width: thin;
    border-top-color: #43191E;
    border-bottom-color: #43191E;
    font-weight: bold;
    font-size: small;
    font-style: italic;
}

/******* rules for blobs after & before msg-data depending on msg-type ********/
/**** join, part, kick, nick, quit ******/
/**** hello, usage, action, error, disconnect ***/
/**** notice, mode ****/
/**** notify-on, notify-off ****/

                        /***** BEFORE *****/

                                /* mozdev arrow when someone joins channel */
.msg[msg-type="JOIN"] .msg-data::before,
.msg[msg-type="PART"] .msg-data::before,
.msg[msg-type="KICK"] .msg-data::before,
.msg[msg-type="QUIT"] .msg-data::before,
.msg[msg-type="ACTION"] .msg-data::before,
.msg[msg-type="MODE"] .msg-data::before,
.msg[msg-type="NOTIFY-ON"] .msg-data:before,
.msg[msg-type="NOTIFY-OFF"] .msg-data:before {
    margin-right: 1px;
    vertical-align: -35%;
    content: url("http://www.mozdev.org/sharedimages/nav_arrow.gif");
}

                                           /* reverse arrow when someone parts channel */
.msg[msg-type="PART"] .msg-data::before {
    content: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/nav_arrow_reverse.gif");
}

                                        /* red mozilla when someone is kicked */
.msg[msg-type="KICK"] .msg-data::before {
       content: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/mozilla.org_images_mozilla-16.png");
}

                                 /* quit arrow when someone quits network */
.msg[msg-type="QUIT"] .msg-data::before {
        content: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/nav_arrow_quit.gif");
}

                             /* seal around message of nick doing action */
.msg[msg-type="ACTION"] .msg-data::before,     
.msg[msg-type="ACTION"] .msg-data::after {
    margin-left: 7px;
    margin-right: 5px;
    content: url("http://www.mozdev.org/sharedimages/nav-icon.png");
}
                           /* chinese letter before the message changing the mode */
.msg[msg-type="MODE"] .msg-data::before {
    vertical-align: 0% !important;
    content: url("http://www.mozdev.org/sharedimages/boxes.gif");
}

                                    /* flashing blue blob for notify-on alert */
.msg[msg-type="NOTIFY-ON"] .msg-data:before {
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/flashingblue.gif");
}

                                    /* flashing red blob for notify-off alert */
.msg[msg-type="NOTIFY-OFF"] .msg-data:before {
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/flashingred.gif");
}
                                  /***** AFTER ***** /

                               /* chinese letter next to who kicked (right of msg)*/

.msg[msg-type="KICK"] .msg-data::after,
.msg[msg-type="ACTION"] .msg-data::after,
.msg[msg-type="MODE"] .msg-data::after {
    margin-left: 7px;
    vertical-align: 0%;
    content: url("http://www.mozdev.org/sharedimages/boxes.gif");
}

.msg[msg-type="MODE"] .msg-data::after {
    content: url("http://www.mozdev.org/sharedimages/boxes.gif");
}

                              /*seal around message of nick doing action */
.msg[msg-type="ACTION"] .msg-data::after {
    content: url("http://www.mozdev.org/sharedimages/nav-icon.png");
    vertical-align: -35%;
}
                                /* seal after message changing the mode */
/**************************** Dogear plugin ***********************************/

.msg[msg-type="DOGEAR"] .msg-timestamp {
    font-weight: bold;
    background-color: #FF9900 ;
    border-style: solid;
    border-width: thin;
    border-color: #990000;
}

.msg[msg-type="DOGEAR"] .msg-data {
    background-image: url("http://www.mozdev.org/sharedimages/boxes.gif");
    background-repeat: repeat-x;
    vertical-align: -20%;
}
/*************************** msg-user (nick) **********************************/

                                                /******* general format *******/

                                            /* image inside the nicks borders */
.msg-user {
    color: #1B221B;
    /*background: black;*/
    /*background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/blackbuttonL.png");
    *background-position: top left;
    *background-repeat: no-repeat;
    *border-style: groove;
    *border-width: thin;
    *-moz-border-radius: 5px;
    *border-top-color: #B3C5C3;
    *border-right-color: #C0C0C0;
    *border-bottom-color: #064CB6;
    *border-left-color: #0060FE;*/
}
                                                    /* hovering over a nickname */
.msg-user a:hover {
    /*color:#BCE2DA;*/
    /*background-color: black;*/
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/purplebar3.png");
    /*background-position: top left;*/
    /*background-repeat: no-repeat;*/
}

.msg-user a.chatzilla-link {                /* msg-user = nickname portion of */
    color: #910 /*#AEF4F3*/ !important;  /* a message (channel and query   */
    font-weight: bold;                                               /* views)*/
    font-style: normal;
    background-color: #FFD28B !important; /*#FFE3B7*/
}
/*********** decoration  of nick depending on type of user or type of msg ********/

                              /* user = ME !: always a red seal after ME nick */
/*.msg[msg-user$="ME!"] .msg-user::before,*/
/*.msg[msg-user$="ME!"] .msg-user::after {
    margin-right: 3px;
    margin-left: 3px;
    vertical-align: -15%;
    content: url("http://www.mozdev.org/sharedimages/bullet_w.png") !important;
}*/
                 /* seal after someone's nick (not ME) talks (except notices) */
.msg-user:after {
    vertical-align: -15%;
    margin-left: 3px;
    margin-right: 3px;
    content: url("http://www.mozdev.org/sharedimages/bullet.gif") !important;
}

.msg[msg-dest$="ME!"] .msg-user::before {
    margin-right: 3px;
    margin-left: 3px;
    vertical-align: -15%;
    content: url("http://www.mozdev.org/sharedimages/bullet.gif") !important;
}

.msg[view-type="IRCChannel"] .msg-user::before {
    vertical-align: -15%;
    margin-left: 3px;
    margin-right: 3px;
    white-space: nowrap;
    content: "" !important;
}

                                /* star before my nick when ME sends a notice */
.msg[msg-type="NOTICE"][msg-user$="ME!"] .msg-user::before {
    margin-left: 3px;
    margin-right: 3px;
    vertical-align: -25%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/star.gif") !important;
}

.msg[msg-type="NOTICE"][msg-user$="ME!"] .msg-user::after {
    margin-left: 3px;
    margin-right: 3px;
    vertical-align: -15%;
    content: url("http://www.mozdev.org/sharedimages/bullet_w.png") !important;
}
                                  /* star after someone's nick sending ME a notice */
.msg[msg-type="NOTICE"] .msg-user::after {
    margin-right: 3px;
    margin-left: 3px;
    vertical-align: -25%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/mozdev/star.gif") !important;
}

.msg[msg-type="NOTICE"] .msg-user {
    background-color: #F0A300;
    /*-moz-opacity: 0.95;*/
    white-space: nowrap;
    font-weight: bold;
}

                  /* mozilla icon (eye) to indicate notice or prv msg not in query view */
.msg[dest-type="IRCUser"] .msg-data::before {
    margin-right: 7px;
    vertical-align: -25%;
    content: url("http://www.mozdev.org/sharedimages/mozdev-icon.png");
}

                                  /* sending prv msg to user, not in query view */
.msg[view-type="IRCChannel"][msg-type="PRIVMSG"][dest-type="IRCUser"][msg-user$="ME!"] .msg-user,
.msg[view-type="IRCChannel"][msg-type="PRIVMSG"][dest-type="IRCUser"][msg-user$="ME!"] .msg-data {
    background-color: #E34A1F !important;
    /*background-image: url("http://corpsmoderne.net/~eve97/gothdns/bamboo/blinds2.png");
    -moz-opacity: 0.90;*/
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-width: thin;
    border-top-color: #C00000;
    border-bottom-color: #C00000;
    font-weight: bold;
    font-style: italic;
}

/********************* specific to bots ***************************************/

              /* Sugnim bot in #ChatZilla with a dEvil Red Cat-Chat decoration */
.msg[msg-user="sugnim"] .msg-data::before {
    margin-right: 7px;
    vertical-align: -25%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sugnim.gif") !important;
}

.msg[msg-user="sugnim"] .msg-data::after {
    margin-left: 7px;
    vertical-align: -25%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sugnim.gif") !important;
}
                                         /* image for thebot */
.msg[msg-user="thebot"] .msg-data::before {
    margin-right: 5px;
    vertical-align: -25%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/thebot_01.gif") !important;
}

.msg[msg-user="thebot"] .msg-data::after {
    margin-left: 7px;
    vertical-align: -25%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/thebot_01.gif") !important;
}
                                        /* 3D image before firebot talks */
/*.msg[msg-user="firebot"] .msg-data::before {*/
  /*  margin-right: 5px;*/
  /*  vertical-align: -25%; */
  /*  content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/firebot3d.gif") !important; */
/*}*/

                                              /* 3D image after firebot talks */
/*.msg[msg-user="firebot"] .msg-data::after {*/
/*    margin-left: 7px; */
/*    vertical-align: -25%; */
/*    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/firebot3d.gif") !important; */
/*}*/



