[gtk+] Adwaita: Add assistant sidebar theming
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Add assistant sidebar theming
- Date: Fri, 22 Aug 2014 03:09:32 +0000 (UTC)
commit 975f29f17fdc14a70a3eb92daf5d47761be3993e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 21 23:07:57 2014 -0400
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(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 04cfe3e..79edaf1 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 4a81df2..3f95e47 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 35f1ccb..bb98e7d 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 *
*********************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]