[gtk+] Adwaita: fix selected backdrop list rows.



commit 7dac876caf570a494de0810a10635a38903b3b4d
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 f43d0f9..8875261 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2594,6 +2594,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 {
@@ -2601,7 +2602,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 08ffc23..59a171d 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -3485,14 +3485,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 052bfd3..8b70a6e 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3647,14 +3647,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]