multilineedit: handle unterminated mIRC codes
[quassel.git] / data / stylesheets / m4yer.qss
1 // "Quassel Classic" stylesheet for Quassel IRC
2 // developed by m4yer <m4yer@minad.de>
3
4 // Basics
5 ChatLine {
6   foreground: palette(text);
7 }
8
9 ChatLine[label="highlight"] {
10   background: #d7d7d7;
11 }
12
13 ChatLine::sender[label="highlight"] {
14   background: #d7d7d7;
15   font-weight:bold;
16   foreground: #0000aa;
17 }
18
19 ChatLine[label="selected"] {
20   foreground: palette(highlighted-text);
21   background: palette(highlight);
22 }
23
24 ChatLine::sender {
25   foreground: #0000aa;
26 }
27
28 ChatLine::sender[sender="self"] {
29   font-style: normal;
30   foreground: #0000ff;
31 }
32
33 ChatLine[sender="self"] { foreground: #323232; }
34
35 ChatLine::timestamp { foreground: #707c70; }
36 ChatLine::timestamp[sender="self"] { foreground: #707c70; }
37 ChatLine::timestamp[label="highlight"] { foreground: #707c70; }
38
39 Palette { marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop:0 #ff0000, stop: 0.1 transparent); }
40
41 ChatLine::url { foreground: #0000aa; }
42 ChatLine::url[sender="self"] { foreground: #0000aa; }
43 ChatLine::url[label="highlight"] { foreground: #0000aa; }
44
45 ChatLine::nick { font-weight: bold; }
46 ChatLine::nick[sender="self"] { font-weight: bold; }
47 ChatLine::nick[label="highlight"] { foreground: #0000aa; }
48
49 // mIRC colors
50 ChatLine[fg-color="00"] { foreground: #ffffff; }
51 ChatLine[bg-color="00"] { background: #ffffff; }
52 ChatLine[fg-color="01"] { foreground: #000000; }
53 ChatLine[bg-color="01"] { background: #000000; }
54 ChatLine[fg-color="02"] { foreground: #000080; }
55 ChatLine[bg-color="02"] { background: #000080; }
56 ChatLine[fg-color="03"] { foreground: #008000; }
57 ChatLine[bg-color="03"] { background: #008000; }
58 ChatLine[fg-color="04"] { foreground: #ff0000; }
59 ChatLine[bg-color="04"] { background: #ff0000; }
60 ChatLine[fg-color="05"] { foreground: #800000; }
61 ChatLine[bg-color="05"] { background: #800000; }
62 ChatLine[fg-color="06"] { foreground: #800080; }
63 ChatLine[bg-color="06"] { background: #800080; }
64 ChatLine[fg-color="07"] { foreground: #ffa500; }
65 ChatLine[bg-color="07"] { background: #ffa500; }
66 ChatLine[fg-color="08"] { foreground: #ffff00; }
67 ChatLine[bg-color="08"] { background: #ffff00; }
68 ChatLine[fg-color="09"] { foreground: #00ff00; }
69 ChatLine[bg-color="09"] { background: #00ff00; }
70 ChatLine[fg-color="0a"] { foreground: #008080; }
71 ChatLine[bg-color="0a"] { background: #008080; }
72 ChatLine[fg-color="0b"] { foreground: #00ffff; }
73 ChatLine[bg-color="0b"] { background: #00ffff; }
74 ChatLine[fg-color="0c"] { foreground: #4169e1; }
75 ChatLine[bg-color="0c"] { background: #4169e1; }
76 ChatLine[fg-color="0d"] { foreground: #ff00ff; }
77 ChatLine[bg-color="0d"] { background: #ff00ff; }
78 ChatLine[fg-color="0e"] { foreground: #808080; }
79 ChatLine[bg-color="0e"] { background: #808080; }
80 ChatLine[fg-color="0f"] { foreground: #c0c0c0; }
81 ChatLine[bg-color="0f"] { background: #c0c0c0; }
82
83 // mIRC formats
84 ChatLine[format="bold"]      { font-weight: bold;}
85 ChatLine[format="italic"]    { font-style: italic; }
86 ChatLine[format="underline"] { font-style: underline; }
87
88     // for sender
89     ChatLine[format="bold", sender="self"]      { foreground: #323232; font-weight: bold; }
90     ChatLine[format="italic", sender="self"]    { foreground: #323232; font-style: italic; }
91     ChatLine[format="underline", sender="self"] { foreground: #323232; font-style: underline; }
92
93 // ChatView message colors
94 ChatLine#notice { foreground: #916409; }
95 ChatLine#action { foreground: #000088; }
96 ChatLine#nick { foreground: #ff7700; }
97 ChatLine#mode { foreground: #ff7700; }
98 ChatLine#join { foreground: #009600; }
99 ChatLine#part { foreground: #990000; }
100 ChatLine#quit { foreground: #990000; }
101 ChatLine#kick { foreground: #990000; }
102 ChatLine#kill { foreground: #990000; }
103 ChatLine#server { foreground: #916409; }
104 ChatLine#info { foreground: #916409; }
105 ChatLine#error { foreground: #916409; }
106 ChatLine#daychange { foreground: #ff0000; }
107 ChatLine#topic { foreground: #ff7700; }
108
109 // BufferView Colors
110 ChatListItem[type="query"] { foreground: #303030; }
111 ChatListItem[type="query", state="away"] { foreground: #a0a0a4; }
112 ChatListItem[type="network"] { foreground: #707c70; }
113
114 ChatListItem[state="inactive"] { foreground: #a0a0a4; }
115 ChatListItem[state="channel-event"] { foreground: #21c300; }
116 ChatListItem[state="unread-message"] { foreground: #0000CC; }
117 ChatListItem[state="highlighted"] { foreground: #ff8000; }
118
119 // NickView Colors
120 NickListItem[type="category"] { foreground: #707c70; }
121 NickListItem[type="user", state="away"] { foreground: #a0a0a4; }