[libadwaita/wip/exalm/selection-color: 1/3] stylesheet: Drop an unused label selection style




commit ac95644c16ffc51882ac354ea31f275a67ca11d8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon May 3 14:37:55 2021 +0500

    stylesheet: Drop an unused label selection style
    
    This was originally added for the places sidebar in backdrop, separate
    backdrop styles are gone.

 src/stylesheet/_common.scss         | 10 +++-------
 src/stylesheet/widgets/_labels.scss |  2 --
 2 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 9e41f24..b0542bc 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -46,14 +46,10 @@ dnd {
 
 %selected_items {
   background-color: $selected_bg_color;
+  color: $selected_fg_color;
 
-  @at-root %nobg_selected_items, & {
-    color: $selected_fg_color;
-
-    @at-root %selected_items_disabled,
-    &:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
-
-  }
+  @at-root %selected_items_disabled,
+  &:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
 }
 
 :not(window):drop(active):focus,
diff --git a/src/stylesheet/widgets/_labels.scss b/src/stylesheet/widgets/_labels.scss
index 91cd0fe..146a994 100644
--- a/src/stylesheet/widgets/_labels.scss
+++ b/src/stylesheet/widgets/_labels.scss
@@ -5,8 +5,6 @@ label {
     @extend .dim-label;
   }
 
-  &:selected { @extend %nobg_selected_items; }
-
   > selection {
     background-color: $selected_bg_color;
     color: $selected_fg_color;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]