[PATCH 1/2] Restore the bluish background for selected widgets

David Shea dshea at redhat.com
Wed Jul 9 18:10:29 UTC 2014


---
 data/anaconda-gtk.css | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/data/anaconda-gtk.css b/data/anaconda-gtk.css
index e7cebde..00402ef 100644
--- a/data/anaconda-gtk.css
+++ b/data/anaconda-gtk.css
@@ -156,3 +156,19 @@ AnacondaSpokeWindow #layout-indicator {
 AnacondaSpokeWindow #nav-box {
     background-color: @fedora;
 }
+
+/* These rules were removed when the Adwaita theme moved from
+ * gnome-themes-standard to gtk, and they were replaced with much more specific
+ * selectors. We need something like this for the selection highlights to
+ * appear on the MountpointSelector, DiskOverview and SpokeSelector widgets. We
+ * could probably be specific to the Anaconda widgets, but on the other hand
+ * gtk can go to hell.
+ */
+ at define-color anaconda_selected_bg_color #4a90d9;
+ at define-color anaconda_selected_fg_color #ffffff;
+
+*:selected,
+*:selected:focus {
+    background-color: @anaconda_selected_bg_color;
+    color: @anaconda_selected_fg_color;
+}
-- 
2.0.0



More information about the anaconda-patches mailing list