[gtk+] Adwaita: GtkAssistant tweakings
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: GtkAssistant tweakings
- Date: Tue, 26 Aug 2014 15:52:55 +0000 (UTC)
commit a677205dcab72a187a9c581980443ea84f0c754d
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Aug 26 17:51:45 2014 +0200
Adwaita: GtkAssistant tweakings
gtk/resources/theme/Adwaita/_common.scss | 17 ++++++++++++-----
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 13 ++++++++++---
gtk/resources/theme/Adwaita/gtk-contained.css | 13 ++++++++++---
3 files changed, 32 insertions(+), 11 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 0107b49..a122bd0 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -149,14 +149,21 @@ GtkLabel {
}
GtkAssistant {
- & .sidebar {
+ .sidebar {
background-color: $base_color;
+ border-right: 1px solid $borders_color;
+ border-top: 1px solid $borders_color;
+ &:backdrop {
+ background-color: $backdrop_base_color;
+ border-color: $backdrop_borders_color;
+ }
}
- & .sidebar GtkLabel {
- padding: 6px;
+ &.csd .sidebar { border-top-style: none; }
+ .sidebar GtkLabel {
+ padding: 6px 12px;
}
- & .sidebar GtkLabel.highlight {
- background-color: darken($bg_color, 10%);
+ .sidebar GtkLabel.highlight {
+ background-color: mix($bg_color, $fg_color, 80%);
}
}
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 01f4b7a..c557d06 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -125,11 +125,18 @@ GtkLabel:insensitive {
text-shadow: none; }
GtkAssistant .sidebar {
- background-color: #292929; }
+ background-color: #292929;
+ border-right: 1px solid #1c1f1f;
+ border-top: 1px solid #1c1f1f; }
+ GtkAssistant .sidebar:backdrop {
+ background-color: #2c2c2c;
+ border-color: #1e2222; }
+GtkAssistant.csd .sidebar {
+ border-top-style: none; }
GtkAssistant .sidebar GtkLabel {
- padding: 6px; }
+ padding: 6px 12px; }
GtkAssistant .sidebar GtkLabel.highlight {
- background-color: #212424; }
+ background-color: #5d6261; }
.app-notification.frame, .osd {
color: #eeeeec;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 5f7faa3..da81f34 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -125,11 +125,18 @@ GtkLabel:insensitive {
text-shadow: none; }
GtkAssistant .sidebar {
- background-color: #ffffff; }
+ background-color: #ffffff;
+ border-right: 1px solid #a1a1a1;
+ border-top: 1px solid #a1a1a1; }
+ GtkAssistant .sidebar:backdrop {
+ background-color: #fcfcfc;
+ border-color: #a8a8a8; }
+GtkAssistant.csd .sidebar {
+ border-top-style: none; }
GtkAssistant .sidebar GtkLabel {
- padding: 6px; }
+ padding: 6px 12px; }
GtkAssistant .sidebar GtkLabel.highlight {
- background-color: lightgray; }
+ background-color: #c6c8c8; }
.app-notification.frame, .osd {
color: #eeeeec;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]