[polari] ui: Use more standard colors in room list
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] ui: Use more standard colors in room list
- Date: Tue, 29 Oct 2013 15:00:33 +0000 (UTC)
commit c33a5f2d821a75385e89c28417b9c8ca6534bd1f
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Oct 23 18:19:28 2013 +0200
ui: Use more standard colors in room list
Designers have asked to use standard ListBox styling instead of
replicating the style from the mockups - less code is good,
let's do this!
https://bugzilla.gnome.org/show_bug.cgi?id=710708
data/resources/application.css | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index beb7d26..b989bd4 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -52,24 +52,22 @@
padding: 2px 6px;
}
-.polari-room-list .list-row:selected {
- background-color: mix(@theme_selected_bg_color, @theme_selected_fg_color, 0.7);
- color: @theme_text_color;
-}
-
-.polari-room-list .list-row:selected:backdrop {
- background-color: @theme_unfocused_selected_bg_color;
- color: @theme_unfocused_text_color;
-}
-
.polari-room-list .list-row.inactive {
color: mix(@theme_text_color, @theme_base_color, 0.3);
}
+.polari-room-list .list-row.inactive:selected {
+ color: mix(@theme_selected_fg_color, @theme_base_color, 0.3);
+}
+
.polari-room-list .list-row.inactive:backdrop {
color: mix(@theme_unfocused_text_color, @theme_unfocused_base_color, 0.3);
}
+.polari-room-list .list-row.inactive:selected:backdrop {
+ color: @theme_unfocused_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]