[gtk+] Adwaita: GtkPlacesSidebar insensitive items.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: GtkPlacesSidebar insensitive items.
- Date: Wed, 15 Apr 2015 18:22:13 +0000 (UTC)
commit 149e7df6085dd13728e598f181a7a3221cd630ee
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Apr 15 20:20:52 2015 +0200
Adwaita: GtkPlacesSidebar insensitive items.
Set the right colors there.
gtk/theme/Adwaita/_common.scss | 16 ++++++++++++++--
gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++
gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++
3 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index d9065b6..dc3e178 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2935,10 +2935,22 @@ GtkPlacesSidebar.sidebar .view {
&:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 90%); }
}
- &:backdrop { color: mix($backdrop_fg_color, $sidebar_bg_color, 70%); }
+ &:insensitive { color: mix($insensitive_fg_color, $sidebar_bg_color, 70%); }
+
+ &:backdrop {
+ color: mix($backdrop_fg_color, $sidebar_bg_color, 70%);
+
+ &:insensitive { color: mix($backdrop_insensitive_color, $sidebar_bg_color, 70%); }
+ }
}
- &:backdrop { color: $backdrop_fg_color; }
+ &:insensitive { color: $insensitive_fg_color; }
+
+ &:backdrop {
+ color: $backdrop_fg_color;
+
+ &:insensitive { color: $backdrop_insensitive_color; }
+ }
&:selected {
@extend %selected_items;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 0b80156..fc4b62f 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -4027,10 +4027,18 @@ GtkPlacesSidebar.sidebar .view {
color: #e8eef5; }
GtkPlacesSidebar.sidebar .view .image:selected:backdrop {
color: #e8eef5; }
+ GtkPlacesSidebar.sidebar .view .image:insensitive {
+ color: #7b7f7f; }
GtkPlacesSidebar.sidebar .view .image:backdrop {
color: #7b7f7f; }
+ GtkPlacesSidebar.sidebar .view .image:backdrop:insensitive {
+ color: #555e5e; }
+ GtkPlacesSidebar.sidebar .view:insensitive {
+ color: #939695; }
GtkPlacesSidebar.sidebar .view:backdrop {
color: #939695; }
+ GtkPlacesSidebar.sidebar .view:backdrop:insensitive {
+ color: #5d6767; }
.sidebar-item {
padding: 10px 4px; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index b599ac1..af6856c 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -4199,10 +4199,18 @@ GtkPlacesSidebar.sidebar .view {
color: #ecf3fb; }
GtkPlacesSidebar.sidebar .view .image:selected:backdrop {
color: #ecf3fb; }
+ GtkPlacesSidebar.sidebar .view .image:insensitive {
+ color: #adafb0; }
GtkPlacesSidebar.sidebar .view .image:backdrop {
color: #adafb0; }
+ GtkPlacesSidebar.sidebar .view .image:backdrop:insensitive {
+ color: #d6d6d6; }
+ GtkPlacesSidebar.sidebar .view:insensitive {
+ color: #8d9091; }
GtkPlacesSidebar.sidebar .view:backdrop {
color: #8d9091; }
+ GtkPlacesSidebar.sidebar .view:backdrop:insensitive {
+ color: #c7c7c7; }
.sidebar-item {
padding: 10px 4px; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]