[gtk+/gtk-3-16] Adwaita: fix selected backdrop list rows.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-16] Adwaita: fix selected backdrop list rows.
- Date: Wed, 6 May 2015 08:09:49 +0000 (UTC)
commit 259fc130fd27e104197cd8e10b59170cb2285d1f
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Apr 23 22:45:23 2015 +0200
Adwaita: fix selected backdrop list rows.
A misplaced selector was making backdrop selected list rows vanish
on hover, fixed. Thanks to Florian for spotting.
gtk/theme/Adwaita/_common.scss | 2 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++--
gtk/theme/Adwaita/gtk-contained.css | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index b035b51..c2e1246 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2630,6 +2630,7 @@ GtkScrolledWindow {
&:active {
box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
}
+ &:backdrop:hover { background-color: transparent; }
&:selected {
&:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
&:hover {
@@ -2637,7 +2638,6 @@ GtkScrolledWindow {
}
&:backdrop { background-color: $selected_bg_color; }
}
- &:backdrop:hover { background-color: transparent; }
}
.list-row:selected {
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 149b637..a4b0b9d 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -3572,14 +3572,14 @@ GtkPlacesSidebar.sidebar .view .separator:backdrop {
background-color: #323232; }
.list-row.button:active {
box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); }
+.list-row.button:backdrop:hover {
+ background-color: transparent; }
.list-row.button:selected:active {
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
.list-row.button:selected:hover {
background-color: #356ba4; }
.list-row.button:selected:backdrop {
background-color: #215d9c; }
-.list-row.button:backdrop:hover {
- background-color: transparent; }
.list-row:selected .button {
color: #eeeeec;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 53aeba7..4fdc7d8 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3734,14 +3734,14 @@ GtkPlacesSidebar.sidebar .view .separator:backdrop {
background-color: #f4f4f4; }
.list-row.button:active {
box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); }
+.list-row.button:backdrop:hover {
+ background-color: transparent; }
.list-row.button:selected:active {
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
.list-row.button:selected:hover {
background-color: #4786c8; }
.list-row.button:selected:backdrop {
background-color: #4a90d9; }
-.list-row.button:backdrop:hover {
- background-color: transparent; }
.list-row:selected .button {
color: #2e3436;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]