QTfrontend/res/css/chat.css
changeset 6182 d56d18802481
parent 6181 c739b503ae31
child 6185 a6aa2d44f390
equal deleted inserted replaced
6181:c739b503ae31 6182:d56d18802481
     1 /*
     1 /*
     2  * see http://doc.qt.nokia.com/4.5/richtext-html-subset.html#css-properties
     2  * see http://doc.qt.nokia.com/4.5/richtext-html-subset.html#css-properties
     3  *
     3  *
     4  * In the QTfrontend of hedgewars also display:none; will work for class names
     4  * In the QTfrontend of hedgewars also display:none; will work for class names
     5  * that start with msg_ - as long as they are referenced directly and not
     5  * that start with msg_   -   as long as they are referenced directly and not
     6  * within any hierachy.
     6  * within any hierachy.
     7  */
     7  */
     8 
     8 
     9 /* links */
     9 /* links */
    10 a { color:#c8c8ff; }
    10 a { color:#c8c8ff; }
    11 
    11 
       
    12 
    12 /* nick names (they are also sometimes linked) */
    13 /* nick names (they are also sometimes linked) */
    13 .nick { text-decoration: none; }
    14 .nick { text-decoration: none; }
    14 
    15 
    15 /* various chat messages */
    16 /* various chat messages */
    16 .msg_UserChat { }
    17 .msg_UserChat { color:#ffcc00; } /* chat of people who aren't your friends */
    17 .msg_UserChat .nick { color:#ffec20; }
    18 .msg_UserChat .nick { color:#ffec20; }
    18 .msg_FriendChat { color: #08e008; }
    19 .msg_FriendChat { color: #b0ff08; }
    19 .msg_FriendChat .nick { color: #20ff20; }
    20 .msg_FriendChat .nick { color: #30ff30; }
    20 .msg_UserJoin { color: #c0c0c0; }
    21 .msg_UserJoin { color: #c0c0c0; }
    21 .msg_UserJoin .nick { color: #d0d0d0; }
    22 .msg_UserJoin .nick { color: #d0d0d0; }
    22 .msg_FriendJoin { font-weight: bold; color: #c0f0c0; }
    23 .msg_FriendJoin { font-weight: bold; color: #c0f0c0; }
    23 .msg_FriendJoin .nick { color: #d8f0d8; }
    24 .msg_FriendJoin .nick { color: #d8f0d8; }
    24 .msg_UserAction { color: #ff80ff; }
    25 .msg_UserAction { color: #ff80ff; }
    25 .msg_UserAction .nick { color: #ffa0ff;}
    26 .msg_UserAction .nick { color: #ffa0ff;}
    26 .msg_FriendAction { color: #ff00ff; }
    27 .msg_FriendAction { color: #ff00ff; }
    27 .msg_FriendAction .nick { color: #ff30ff; }
    28 .msg_FriendAction .nick { color: #ff30ff; }
       
    29 
       
    30 /* messages that contain your nickname */
       
    31 .highlight {  }
       
    32 .highlight .nick { color: red; } /* nicknames in highlighted messages */
       
    33 
    28 /* uncomment next line to disable join and leave messages of non-friends */
    34 /* uncomment next line to disable join and leave messages of non-friends */
    29 /* .msg_UserJoin { display:none; } */
    35 /* .msg_UserJoin { display:none; } */
    30 
    36 
    31 /* frontend messages */
    37 /* system messages */
    32 .msg_Error { color: #ff0000; }
    38 .msg_Error { color: #ff0000; }
    33 .msg_Warning { color: #ff8000; }
    39 .msg_Warning { color: #ff8000; }
    34 .msg_Notice { color: #fefefe; }
    40 .msg_Notice { color: #fefefe; }
       
    41