6027980a762e7780d4cc72a0d00a93eb5f8b7d5a
[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-background-override: false;
18 }
19
20 ChatLine[label="selected"] {
21   foreground: palette(highlighted-text);
22   background: palette(highlight);
23   allow-foreground-override: false;
24   allow-background-override: false;
25 }
26
27 // ChatLine::sender[sender="self"] {
28 //   font-style: italic;
29 // }
30
31 ChatLine::timestamp {
32   foreground: #707c70;
33 }
34
35 ChatLine::url {
36   foreground: palette(link);
37   allow-foreground-override: false;
38 }
39
40 // Markerline gets a nice (and hardly visible) gradient
41 Palette {
42   marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop:0 red, stop: 0.1 transparent);
43 }
44
45 // mIRC colors
46 ChatLine[fg-color="00"] { foreground: #ffffff; }
47 ChatLine[bg-color="00"] { background: #ffffff; }
48 ChatLine[fg-color="01"] { foreground: #000000; }
49 ChatLine[bg-color="01"] { background: #000000; }
50 ChatLine[fg-color="02"] { foreground: #000080; }
51 ChatLine[bg-color="02"] { background: #000080; }
52 ChatLine[fg-color="03"] { foreground: #008000; }
53 ChatLine[bg-color="03"] { background: #008000; }
54 ChatLine[fg-color="04"] { foreground: #ff0000; }
55 ChatLine[bg-color="04"] { background: #ff0000; }
56 ChatLine[fg-color="05"] { foreground: #800000; }
57 ChatLine[bg-color="05"] { background: #800000; }
58 ChatLine[fg-color="06"] { foreground: #800080; }
59 ChatLine[bg-color="06"] { background: #800080; }
60 ChatLine[fg-color="07"] { foreground: #ffa500; }
61 ChatLine[bg-color="07"] { background: #ffa500; }
62 ChatLine[fg-color="08"] { foreground: #ffff00; }
63 ChatLine[bg-color="08"] { background: #ffff00; }
64 ChatLine[fg-color="09"] { foreground: #00ff00; }
65 ChatLine[bg-color="09"] { background: #00ff00; }
66 ChatLine[fg-color="0a"] { foreground: #008080; }
67 ChatLine[bg-color="0a"] { background: #008080; }
68 ChatLine[fg-color="0b"] { foreground: #00ffff; }
69 ChatLine[bg-color="0b"] { background: #00ffff; }
70 ChatLine[fg-color="0c"] { foreground: #4169e1; }
71 ChatLine[bg-color="0c"] { background: #4169e1; }
72 ChatLine[fg-color="0d"] { foreground: #ff00ff; }
73 ChatLine[bg-color="0d"] { background: #ff00ff; }
74 ChatLine[fg-color="0e"] { foreground: #808080; }
75 ChatLine[bg-color="0e"] { background: #808080; }
76 ChatLine[fg-color="0f"] { foreground: #c0c0c0; }
77 ChatLine[bg-color="0f"] { background: #c0c0c0; }
78
79 // mIRC formats
80 ChatLine[format="bold"]          { font-weight: bold; }
81 ChatLine[format="italic"]        { font-style: italic; }
82 ChatLine[format="underline"]     { font-style: underline; }
83 ChatLine[format="strikethrough"] { font-style: strikethrough; }
84
85 // ChatView message colors
86 ChatLine#notice { foreground: #916409; }
87 ChatLine#action { foreground: #0000ff; }
88 ChatLine#nick { foreground: #707070; }
89 ChatLine#mode { foreground: #707070; }
90 ChatLine#join { foreground: #707070; }
91 ChatLine#part { foreground: #707070; }
92 ChatLine#quit { foreground: #707070; }
93 ChatLine#kick { foreground: #707070; }
94 ChatLine#kill { foreground: #707070; }
95 ChatLine#server { foreground: #916409; }
96 ChatLine#info { foreground: #916409; }
97 ChatLine#error { foreground: #b30e0e; }
98 ChatLine#daychange { foreground: #916409; }
99 ChatLine#topic { foreground: #707070; }
100 ChatLine#netsplit-join { foreground: #707070; }
101 ChatLine#netsplit-quit { foreground: #707070; }
102 ChatLine#invite { foreground: #916409; }
103
104 // BufferView Colors
105 ChatListItem[state="inactive"] { foreground: #a0a0a4; }
106 ChatListItem[state="channel-event"] { foreground: #008000; }
107 ChatListItem[state="unread-message"] { foreground: #0000f5; }
108 ChatListItem[state="highlighted"] { foreground: #ff8000; }
109
110 // NickView Colors
111 NickListItem[type="user", state="away"] { foreground: #a0a0a4; }