[libadwaita/wip/exalm/stylesheet2: 7/103] stylesheet: Remove leftover entry styles




commit b768b86088eb78cabdb354f0441e0d20a1c56c2e
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Apr 7 16:00:43 2021 +0500

    stylesheet: Remove leftover entry styles

 src/stylesheet/_common.scss  |  3 ---
 src/stylesheet/_drawing.scss | 18 +-----------------
 2 files changed, 1 insertion(+), 20 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 51d150e..10a4a6e 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -320,7 +320,6 @@ entry {
     }
 
     &:focus-within {
-      @include entry(focus);
       > placeholder {
         opacity: 0; /* We hide placeholders on focus */
       }
@@ -338,8 +337,6 @@ entry {
 
         @include focus-ring($focus-state: 'focus-within', $fc: transparentize($e_color, 0.5));
 
-        &:focus-within { @include entry(focus, $e_color); }
-
         > selection { background-color: $e_color; }
       }
     }
diff --git a/src/stylesheet/_drawing.scss b/src/stylesheet/_drawing.scss
index 909af03..baf0afb 100644
--- a/src/stylesheet/_drawing.scss
+++ b/src/stylesheet/_drawing.scss
@@ -48,7 +48,7 @@
 // $fc: focus color
 //
 // possible $t values:
-// normal, focus, insensitive, backdrop, backdrop-insensitive, osd, osd-focus, osd-backdrop, block_cursor;
+// normal, insensitive, osd, osd-focus, block_cursor;
 //
 
   @if $t==normal {
@@ -62,16 +62,6 @@
     border-color: $borders_color;
     background-color: $insensitive_bg_color;
   }
-  @if $t==backdrop {
-    color: $backdrop_text_color;
-    border-color: $backdrop_borders_color;
-    background-color: $backdrop_base_color;
-  }
-  @if $t==backdrop-insensitive {
-    color: $backdrop_insensitive_color;
-    border-color: $backdrop_borders_color;
-    background-color: $insensitive_bg_color;
-  }
   @if $t==osd {
     color: $osd_text_color;
     border-color: $osd_borders_color;
@@ -92,12 +82,6 @@
     background-color: $osd_insensitive_bg_color;
     background-clip: padding-box;
   }
-  @if $t==osd-backdrop {
-    color: $osd_text_color;
-    border-color: $osd_borders_color;
-    background-color: transparentize(opacify($osd_borders_color, 1), 0.5);
-    background-clip: padding-box;
-  }
   @if $t==block_cursor {
     color: $base_color;
     background-color: $text_color;


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