From 975f29f17fdc14a70a3eb92daf5d47761be3993e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 21 Aug 2014 23:07:57 -0400 Subject: [PATCH] Adwaita: Add assistant sidebar theming This is just enough to draw the sidebar background and markt he current page as active. --- gtk/resources/theme/Adwaita/_common.scss | 13 +++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 27 insertions(+) diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index 04cfe3e56e..79edaf1a6d 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -145,6 +145,19 @@ GtkLabel { text-shadow: none; } +GtkAssistant { + & .sidebar { + background-color: $base_color; + } + & .sidebar GtkLabel { + padding: 6px; + } + & .sidebar GtkLabel.highlight { + background-color: darken($bg_color, 10%); + } +} + + /********************* * Spinner Animation * *********************/ diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index 4a81df2c56..3f95e47b21 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -121,6 +121,13 @@ opacity: 0.55; text-shadow: none; } +GtkAssistant .sidebar { + background-color: #292929; } +GtkAssistant .sidebar GtkLabel { + padding: 6px; } +GtkAssistant .sidebar GtkLabel.highlight { + background-color: #212424; } + /********************* * Spinner Animation * *********************/ diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index 35f1ccbdad..bb98e7dea9 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -121,6 +121,13 @@ opacity: 0.55; text-shadow: none; } +GtkAssistant .sidebar { + background-color: white; } +GtkAssistant .sidebar GtkLabel { + padding: 6px; } +GtkAssistant .sidebar GtkLabel.highlight { + background-color: lightgray; } + /********************* * Spinner Animation * *********************/