[polari] ui: Use non-backdrop colors in room list



commit 7027f5e5c7e6728ee3d88e4aedf398ef35f51e3f
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Apr 23 16:30:39 2015 +0200

    ui: Use non-backdrop colors in room list
    
    The intention of commit aa099dbfd41 was to not fade out rooms in
    backdrop state, however this did not quite work, as active rooms
    use the default text style from the theme (which does apply a
    different backdrop style).
    Add back some application CSS to fix this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711854

 data/resources/application.css |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index 74eb56c..a34a6de 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -46,14 +46,24 @@
     padding: 2px 6px;
 }
 
-.polari-room-list .list-row.inactive {
+.polari-room-list .list-row.inactive,
+.polari-room-list .list-row.inactive:backdrop {
     color: mix(@theme_fg_color, @theme_base_color, 0.3);
 }
 
-.polari-room-list .list-row.inactive:selected {
+.polari-room-list .list-row.inactive:selected,
+.polari-room-list .list-row.inactive:selected:backdrop {
     color: mix(@theme_selected_fg_color, @theme_base_color, 0.3);
 }
 
+.polari-room-list .list-row:backdrop {
+    color: @theme_fg_color;
+}
+
+.polari-room-list .list-row:backdrop:selected {
+    color: @theme_selected_fg_color;
+}
+
 .polari-room-list .list-row .pending-messages-count {
     color: @theme_selected_fg_color;
     background-color: mix(@theme_selected_bg_color, @theme_selected_fg_color, 0.3);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]