[libadwaita/wip/exalm/background-colors: 33/54] stylesheet: Remove insensitive osd entry style




commit 1555435c85b971593bdc104b690ca7a4b6108988
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Sep 1 13:06:38 2021 +0500

    stylesheet: Remove insensitive osd entry style
    
    The regular insensitive style works for them too now.

 src/stylesheet/_colors.scss          | 2 --
 src/stylesheet/_drawing.scss         | 6 ------
 src/stylesheet/widgets/_entries.scss | 2 --
 3 files changed, 10 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index f6d34e23..050429c3 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -53,8 +53,6 @@ $slider_hover_color: white;
 $osd_fg_color: $dark_fg;
 $osd_text_color: white;
 $osd_bg_color: if($variant == 'light', transparentize($dark_bg,0.3), 
transparentize(darken(desaturate($dark_3, 100%), 10%),0.3));
-$osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5);
-$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%);
 
 $sidebar_bg_color: mix($bg_color, $base_color, 50%);
 
diff --git a/src/stylesheet/_drawing.scss b/src/stylesheet/_drawing.scss
index 4df758e5..c22ec9bc 100644
--- a/src/stylesheet/_drawing.scss
+++ b/src/stylesheet/_drawing.scss
@@ -73,12 +73,6 @@
     background-color: transparentize(black, 0.5);
     background-clip: padding-box;
   }
-  @if $t==osd-insensitive {
-    color: $osd_insensitive_fg_color;
-    border-color: $borders_color;
-    background-color: $osd_insensitive_bg_color;
-    background-clip: padding-box;
-  }
   @if $t==block_cursor {
     color: $base_color;
     background-color: $text_color;
diff --git a/src/stylesheet/widgets/_entries.scss b/src/stylesheet/widgets/_entries.scss
index f4753954..c69c9218 100644
--- a/src/stylesheet/widgets/_entries.scss
+++ b/src/stylesheet/widgets/_entries.scss
@@ -78,8 +78,6 @@ entry {
       @include entry(osd);
 
       &:focus-within { @include entry(osd-focus); }
-
-      &:disabled { @include entry(osd-insensitive); }
     }
   }
 


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