/* -*- 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 ***** */

/*  a black and blue glossy output window. */
/*  see output-base.css for details. Last modified: */
/* 2007-May-14: added style for dogear plugin */
/* 2007-April-16. (worms) */


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

body.chatzilla-body {                        /* The topmost container in the ChatZilla */
    background-color: #131721;               /* output window. */
    color: #149AD8 !important;              /* colour of the text, other than msg */
}

a.chatzilla-link {
    color: #EC0404; /* red */
    font-style: italic;
    font-weight: bold;
}

a.chatzilla-link:visited {
    color: #D62310; /* red non bright */
    font-style: italic;
    font-weight: bold;
}

.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: #1CC6AC;                          /* dark aqua */
}

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

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

.header {
    color: #91C8FF;
    background-color: #FFFECB;
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/blackbar2tree.png") !important;
    background-position: top left;
    background-repeat: 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;
}

.progress-fg {
    background-color: silver;
}

.value {
    color: red;
}

treechildren {
    background: black;
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/blackbar2tree.png") !important;
    background-position: top left;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    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;
    font-weight: bold !important;
    color: #BCE2DA !important;
/*	font-family: "tahoma";*/
}

#main-splitter + #user-list-box treechildren {
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/blackbar2tree.png");
    background-position: top right;
}

#splash {
    color: #1CC6AC;                                              /* dark aqua */
    padding-top: 50% !important;
}

#usr-descnodes,
#ch-topicnodes {
    color: #3EA6DE;                                              /* bright blue */
    font-weight: bold;
}

[condition] {
    font-weight: bold;
}

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

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

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

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

.msg[mark="odd"] .msg-data {
    color: #BCE2DA;                         /* light blue, cf. users list */
    /**font-weight: bold;**/
}
                                            /* another light blue */
.msg[mark="even"] .msg-data {               /* use even/odd marks to create a */
    color: #ACE8DC;                         /* sutble brightness change when  */
    /**font-weight: bold;**/                /*  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: small;
    font-style: italic;
    color: #8FDFDE;
}

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

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

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

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

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

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

.msg[msg-type="ACTION"] .msg-data {
    color: #8FDFDE;
    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-style: groove;
    border-width: thin;
    -moz-border-radius: 5px;
    border-top-color: #EB0F0F;
    border-right-color: #C0C0C0;
    border-bottom-color: #A33B67;
    border-left-color: #EB0F0F;
    color: white;
    background-repeat: repeat;
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/errorpurplebar.png");
}

.msg[msg-type="NOTICE"] .msg-data {
    color: #131721;
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/bluebarL.png");
}

.msg[msg-type="MODE"] .msg-data {
    color: #BCE2DA;
    font-weight: bold;
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/darkdarkbluebar2L.png");
}

/**************************** Dogear plugin ***********************************/

.msg[msg-type="DOGEAR"] .msg-timestamp {
    font-weight: bold;
    background-color: #0E5E51;
    border-style: solid;
    border-width: thin;
    border-color: black;
    -moz-border-radius: 3px;
    border-color: #1CC6AC;
}

.msg[msg-type="DOGEAR"] .msg-data {
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/darkgreenbar.png");
    background-repeat: repeat-x;
    vertical-align: -15%;
}
/*******************************************************************************/

/****************** **********************/
/*.msg[important="true"] .msg-user,*/

.msg[important="true"] .msg-data {
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/darkgreenbar.png") !important;
    font-weight: bold;
}

/******* 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 *****/

                                /* dark green blob 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: 7px;
    vertical-align: -15%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_darkgreen_01.gif");
}

                                /* light grey blob when someone parts channel */
.msg[msg-type="PART"] .msg-data::before {
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_grey_01.gif");
}

                                        /* purple blob when someone is kicked */
.msg[msg-type="KICK"] .msg-data::before {
       content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_violet_01.gif");
}

                                 /* dark grey blob when someone quits network */
.msg[msg-type="QUIT"] .msg-data::before {
        content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_darkgrey_01.gif");
}

/* aqua blob around message of nick doing action */
.msg[msg-type="ACTION"] .msg-data::before,     
.msg[msg-type="ACTION"] .msg-data::after {
    margin-left: 7px;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_aqua_01.gif");
}
                           /* green blob before the message changing the mode */
.msg[msg-type="MODE"] .msg-data::before {
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_green_01.gif");
}

.msg[msg-type="NOTIFY-ON"] .msg-data:before {
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/flashingblue.gif");
}

.msg[msg-type="NOTIFY-OFF"] .msg-data:before {
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/flashingred.gif");
}

                                  /***** AFTER ***** /

                               /* green blob 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: -15%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_green_01.gif");
}

                              /*aqua blob around message of nick doing action */
.msg[msg-type="ACTION"] .msg-data::after {
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_aqua_01.gif");

}
                                /* green blob after message changing the mode */
.msg[msg-type="MODE"] .msg-data::after {
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_green_01.gif");
}

/*************************** msg-user (nick) **********************************/

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

                                            /* image inside the nicks borders */
.msg-user {
    color: #BCE2DA;
    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 of a nickname */
.msg-user a:hover {
    /*color:#BCE2DA;*/
    /*background-color: black;*/
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/bluebarL.png");
    /*background-position: top left;*/
    /*background-repeat: no-repeat;*/
}

.msg-user a.chatzilla-link {                /* msg-user = nickname portion of */
    color: #AEF4F3 !important;              /* a message (channel and query   */
    font-weight: bold;                      /* views)*/ /* light blue, cf. users list */
}
/*********** decoration  of nick depending on type of user or type of msg ********/

                                    /* user = ME !: always a red blob 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://corpsmoderne.net/~eve97/gothdns/blobs/sml_red_01.gif") !important;
}
                /* aqua blob after someone's nick (not ME) talks (except notices) */
.msg-user:after {
    vertical-align: -15%;
    margin-left: 3px;
    margin-right: 3px;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_aqua_01.gif") !important;
}

.msg[msg-dest$="ME!"] .msg-user::before {
    margin-right: 3px;
    margin-left: 3px;
    vertical-align: -15%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_aqua_01.gif") !important;
}

.msg[view-type="IRCChannel"] .msg-user::before {
    vertical-align: -15%;
    margin-left: 3px;
    margin-right: 3px;
    white-space: nowrap;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_aqua_01.gif") !important;
}

                                  /* bell 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: -15%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/bell.gif") !important;
}

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

.msg[msg-type="NOTICE"] .msg-user {
    /*background-color: ;*/
    background-repeat: no-repeat;
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/bluebuttonL.png") !important;
    white-space: nowrap;
    font-weight: bold;
}

                  /* pink blob to indicate notice or prv msg not in query view */
.msg[dest-type="IRCUser"] .msg-data::before {
    margin-right: 7px;
    vertical-align: -15%;
    content: url("http://corpsmoderne.net/~eve97/gothdns/blobs/sml_pink_01.gif");
}

                                  /* 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-repeat: repeat;
    background-image: url("http://corpsmoderne.net/~eve97/gothdns/blobs/brightbluebar.png") !important;
    white-space: nowrap;
    font-weight: bold;
    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;
}

/********************* 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; */
/*}*/

/************************ bits with no effect???? ****************************/

.msg-user:after,
.msg[msg-dest$="ME!"] .msg-user,
.msg[msg-user$="ME!"] .msg-user {
    white-space: nowrap;
}

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


.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;
}


