X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=data%2Fstylesheets%2Fdefault.qss;h=e372d24fc4f3c99e4c3eb05abd3944289edc1765;hp=b92bd09c81240fa19a80512fd89d3a4186c7cdce;hb=be8eb9963bb6c0e6522f818c51f9b6930adc7876;hpb=a8b1a382d95b0fd6c2438eb05daeea587e20b661 diff --git a/data/stylesheets/default.qss b/data/stylesheets/default.qss index b92bd09c..e372d24f 100644 --- a/data/stylesheets/default.qss +++ b/data/stylesheets/default.qss @@ -6,16 +6,27 @@ // Basics ChatLine { foreground: palette(text); + // By default, allow color codes everywhere + allow-foreground-override: true; + allow-background-override: true; } ChatLine[label="highlight"] { foreground: black; background: #ff8000; + allow-foreground-override: false; + allow-background-override: false; } ChatLine[label="selected"] { foreground: palette(highlighted-text); background: palette(highlight); + allow-foreground-override: false; + allow-background-override: false; +} + +ChatLine[label="hovered"] { + font-style: underline; } // ChatLine::sender[sender="self"] { @@ -28,10 +39,12 @@ ChatLine::timestamp { ChatLine::url { foreground: palette(link); + allow-foreground-override: false; } +// Markerline gets a nice (and hardly visible) gradient Palette { - marker-line: red; + marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop:0 red, stop: 0.1 transparent); } // mIRC colors @@ -69,27 +82,29 @@ ChatLine[fg-color="0f"] { foreground: #c0c0c0; } ChatLine[bg-color="0f"] { background: #c0c0c0; } // mIRC formats -ChatLine[format="bold"] { font-weight: bold; } -ChatLine[format="italic"] { font-style: italic; } -ChatLine[format="underline"] { font-style: underline; } +ChatLine[format="bold"] { font-weight: bold; } +ChatLine[format="italic"] { font-style: italic; } +ChatLine[format="underline"] { font-style: underline; } +ChatLine[format="strikethrough"] { font-style: strikethrough; } // ChatView message colors ChatLine#notice { foreground: #916409; } ChatLine#action { foreground: #0000ff; } -ChatLine#nick { foreground: #960096; } -ChatLine#mode { foreground: #960096; } -ChatLine#join { foreground: #960096; } -ChatLine#part { foreground: #960096; } -ChatLine#quit { foreground: #960096; } -ChatLine#kick { foreground: #960096; } -ChatLine#kill { foreground: #960096; } +ChatLine#nick { foreground: #707070; } +ChatLine#mode { foreground: #707070; } +ChatLine#join { foreground: #707070; } +ChatLine#part { foreground: #707070; } +ChatLine#quit { foreground: #707070; } +ChatLine#kick { foreground: #707070; } +ChatLine#kill { foreground: #707070; } ChatLine#server { foreground: #916409; } ChatLine#info { foreground: #916409; } -ChatLine#error { foreground: #916409; } +ChatLine#error { foreground: #b30e0e; } ChatLine#daychange { foreground: #916409; } -ChatLine#topic { foreground: #960096; } -ChatLine#netsplit-join { foreground: #960096; } -ChatLine#netsplit-quit { foreground: #960096; } +ChatLine#topic { foreground: #707070; } +ChatLine#netsplit-join { foreground: #707070; } +ChatLine#netsplit-quit { foreground: #707070; } +ChatLine#invite { foreground: #916409; } // BufferView Colors ChatListItem[state="inactive"] { foreground: #a0a0a4; }