[PATCH] Restore some CSS rules from the pre-3.13 Adwaita theme.
David Shea
dshea at redhat.com
Wed Jul 9 18:30:34 UTC 2014
This adds back the bluish background for selected custom widgets and the
shading of insensitive custom widgets.
---
data/anaconda-gtk.css | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/data/anaconda-gtk.css b/data/anaconda-gtk.css
index e7cebde..ce6c987 100644
--- a/data/anaconda-gtk.css
+++ b/data/anaconda-gtk.css
@@ -156,3 +156,30 @@ 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 and
+ * shading for insensitivity 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;
+}
+
+ at define-color anaconda_insensitive_bg_color #f4f4f2;
+ at define-color anaconda_insensitive_fg_color #a7aba7;
+ at define-color anaconda_internal_element_color #888a85;
+ at define-color anaconda_insensitive_borders shade(@anaconda_internal_element_color, 1.37);
+
+*:insensitive {
+ background-color: @anaconda_insensitive_bg_color;
+ color: @anaconda_insensitive_fg_color;
+ border-color: @anaconda_insensitive_borders;
+}
--
2.0.0
More information about the anaconda-patches
mailing list