aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-07-06 21:33:48 +0200
committerfiaxh <git@lightrise.org>2020-07-06 21:52:33 +0200
commita21ddefbb987274991eb887e09d41274bd3e4a5e (patch)
tree39188a36b168021e836c5d1f27fa8348c6639654 /main/data
parent86420fdef11b2833fbc42549c8c5817031876d66 (diff)
downloaddino-a21ddefbb987274991eb887e09d41274bd3e4a5e.tar.gz
dino-a21ddefbb987274991eb887e09d41274bd3e4a5e.zip
Show dark unread counts for notifying conversations, light ones otherwise
Diffstat (limited to 'main/data')
-rw-r--r--main/data/conversation_row.ui3
-rw-r--r--main/data/theme.css20
2 files changed, 19 insertions, 4 deletions
diff --git a/main/data/conversation_row.ui b/main/data/conversation_row.ui
index 8d257201..1dd75035 100644
--- a/main/data/conversation_row.ui
+++ b/main/data/conversation_row.ui
@@ -110,9 +110,6 @@
<attribute name="scale" value="0.6"/>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
- <style>
- <class name="unread-count"/>
- </style>
</object>
</child>
</object>
diff --git a/main/data/theme.css b/main/data/theme.css
index 09e282ec..6bacee30 100644
--- a/main/data/theme.css
+++ b/main/data/theme.css
@@ -42,7 +42,7 @@ window.dino-main .dino-conversation .message-box:hover {
background: alpha(@theme_fg_color, 0.04);
}
-window.dino-main .unread-count {
+window.dino-main .unread-count-notify {
background-color: alpha(@theme_fg_color, 0.8);
color: @theme_base_color;
font-family: monospace;
@@ -50,6 +50,24 @@ window.dino-main .unread-count {
padding: .2em .41em;
}
+window.dino-main .unread-count-notify:backdrop {
+ background-color: alpha(@theme_unfocused_fg_color, 0.8);
+ color: @theme_unfocused_base_color;
+}
+
+window.dino-main .unread-count {
+ background-color: alpha(@theme_fg_color, 0.1);
+ color: @theme_fg_color;
+ font-family: monospace;
+ border-radius: 999em;
+ padding: .2em .41em;
+}
+
+window.dino-main .unread-count:backdrop {
+ background-color: alpha(@theme_unfocused_fg_color, 0.1);
+ color: @theme_unfocused_fg_color;
+}
+
window.dino-main .dino-sidebar > frame {
background: @insensitive_bg_color;
border-left: 1px solid @borders;