diff -r ce60b734fff1 -r 4c834af76c3b QTfrontend/res/css/chat.css --- a/QTfrontend/res/css/chat.css Sat Oct 29 11:47:37 2011 +0200 +++ b/QTfrontend/res/css/chat.css Sat Oct 29 15:31:45 2011 +0200 @@ -8,8 +8,9 @@ * see http://doc.qt.nokia.com/4.5/richtext-html-subset.html#css-properties * * In the QTfrontend of hedgewars also display:none; will work for class names - * that start with msg_ and .TimeStamp - as long as they are referenced - * directly and not within any hierachy. + * that start with msg_ and .timestamp - as long as they are referenced + * directly and not within any class hierachy. + * Note: Will only effect new lines! * ****************************************************************************** * @@ -48,6 +49,9 @@ .msg_FriendAction { color: #ff00ff; } .msg_FriendAction .nick { color: #ff30ff; } +/* uncomment next line to disable join and leave messages of non-friends */ +/* .msg_UserJoin { display:none; } */ + /* timestamps */ .timestamp { color: #e0d8e0; @@ -58,6 +62,9 @@ /* display: none; */ } +.timestamp:hours { display: none; } +/* .timestamp:seconds { display: none; } */ + /* you can also set timestamp style for different msg types */ .msg_FriendChat .timestamp { color: #ffffff; } @@ -65,9 +72,6 @@ .highlight { } .highlight .nick { color: red; } /* nicknames in highlighted messages */ -/* uncomment next line to disable join and leave messages of non-friends */ -/* .msg_UserJoin { display:none; } */ - /* system messages */ .msg_Error { color: #ff0000; } .msg_Warning { color: #ff8000; }