61ccd4c139ae123121e9594ea9e721c002fcc9ac
[quassel.git] / data / stylesheets / default.qss
1 // Default stylesheet for Quassel IRC
2 // Note: Some items use the system palette, such as plain messages, default buffer items,
3 //       and online nicks.
4 // Sender coloring is off by default.
5
6 // Basics
7 ChatLine {
8   foreground: palette(text);
9   // By default, allow color codes everywhere
10   allow-foreground-override: true;
11   allow-background-override: true;
12 }
13
14 ChatLine[label="highlight"] {
15   foreground: black;
16   background: #ff8000;
17   allow-foreground-override: false;
18   allow-background-override: false;
19 }
20
21 ChatLine[label="selected"] {
22   foreground: palette(highlighted-text);
23   background: palette(highlight);
24   allow-foreground-override: false;
25   allow-background-override: false;
26 }
27
28 // ChatLine::sender[sender="self"] {
29 //   font-style: italic;
30 // }
31
32 ChatLine::timestamp {
33   foreground: #707c70;
34 }
35
36 ChatLine::url {
37   foreground: palette(link);
38   allow-foreground-override: false;
39 }
40
41 // Markerline gets a nice (and hardly visible) gradient
42 Palette {
43   marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop:0 red, stop: 0.1 transparent);
44 }
45
46 // mIRC colors
47 ChatLine[fg-color="00"] { foreground: #ffffff; }
48 ChatLine[bg-color="00"] { background: #ffffff; }
49 ChatLine[fg-color="01"] { foreground: #000000; }
50 ChatLine[bg-color="01"] { background: #000000; }
51 ChatLine[fg-color="02"] { foreground: #000080; }
52 ChatLine[bg-color="02"] { background: #000080; }
53 ChatLine[fg-color="03"] { foreground: #008000; }
54 ChatLine[bg-color="03"] { background: #008000; }
55 ChatLine[fg-color="04"] { foreground: #ff0000; }
56 ChatLine[bg-color="04"] { background: #ff0000; }
57 ChatLine[fg-color="05"] { foreground: #800000; }
58 ChatLine[bg-color="05"] { background: #800000; }
59 ChatLine[fg-color="06"] { foreground: #800080; }
60 ChatLine[bg-color="06"] { background: #800080; }
61 ChatLine[fg-color="07"] { foreground: #ffa500; }
62 ChatLine[bg-color="07"] { background: #ffa500; }
63 ChatLine[fg-color="08"] { foreground: #ffff00; }
64 ChatLine[bg-color="08"] { background: #ffff00; }
65 ChatLine[fg-color="09"] { foreground: #00ff00; }
66 ChatLine[bg-color="09"] { background: #00ff00; }
67 ChatLine[fg-color="0a"] { foreground: #008080; }
68 ChatLine[bg-color="0a"] { background: #008080; }
69 ChatLine[fg-color="0b"] { foreground: #00ffff; }
70 ChatLine[bg-color="0b"] { background: #00ffff; }
71 ChatLine[fg-color="0c"] { foreground: #4169e1; }
72 ChatLine[bg-color="0c"] { background: #4169e1; }
73 ChatLine[fg-color="0d"] { foreground: #ff00ff; }
74 ChatLine[bg-color="0d"] { background: #ff00ff; }
75 ChatLine[fg-color="0e"] { foreground: #808080; }
76 ChatLine[bg-color="0e"] { background: #808080; }
77 ChatLine[fg-color="0f"] { foreground: #c0c0c0; }
78 ChatLine[bg-color="0f"] { background: #c0c0c0; }
79
80 // mIRC formats
81 ChatLine[format="bold"]          { font-weight: bold; }
82 ChatLine[format="italic"]        { font-style: italic; }
83 ChatLine[format="underline"]     { font-style: underline; }
84 ChatLine[format="strikethrough"] { font-style: strikethrough; }
85
86 // ChatView message colors
87 ChatLine#notice { foreground: #916409; }
88 ChatLine#action { foreground: #0000ff; }
89 ChatLine#nick { foreground: #707070; }
90 ChatLine#mode { foreground: #707070; }
91 ChatLine#join { foreground: #707070; }
92 ChatLine#part { foreground: #707070; }
93 ChatLine#quit { foreground: #707070; }
94 ChatLine#kick { foreground: #707070; }
95 ChatLine#kill { foreground: #707070; }
96 ChatLine#server { foreground: #916409; }
97 ChatLine#info { foreground: #916409; }
98 ChatLine#error { foreground: #b30e0e; }
99 ChatLine#daychange { foreground: #916409; }
100 ChatLine#topic { foreground: #707070; }
101 ChatLine#netsplit-join { foreground: #707070; }
102 ChatLine#netsplit-quit { foreground: #707070; }
103 ChatLine#invite { foreground: #916409; }
104
105 // BufferView Colors
106 ChatListItem[state="inactive"] { foreground: #a0a0a4; }
107 ChatListItem[state="channel-event"] { foreground: #008000; }
108 ChatListItem[state="unread-message"] { foreground: #0000f5; }
109 ChatListItem[state="highlighted"] { foreground: #ff8000; }
110
111 // NickView Colors
112 NickListItem[type="user", state="away"] { foreground: #a0a0a4; }