[libadwaita/wip/exalm/stylesheet2: 14/97] stylesheet: Remove redundant rubberband styles




commit d625f0cc5d7ba7554e914e43245b804f70c130f8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 8 12:45:25 2021 +0500

    stylesheet: Remove redundant rubberband styles
    
    They are there to prevent unwanted borders from propagating, but they
    define their own borders.

 src/stylesheet/_common.scss | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index d96d9c5..867e22a 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -91,8 +91,6 @@ rubberband {
 }
 
 flowbox {
-  > rubberband { @extend rubberband; }
-
   > flowboxchild {
     padding: 3px;
     transition: $focus_transition;
@@ -108,8 +106,6 @@ flowbox {
 }
 
 gridview {
-  > rubberband { @extend rubberband; }
-
   > child {
     padding: 3px;
     transition: $focus_transition;
@@ -1595,8 +1591,6 @@ treeview.view {
 
   @include focus-ring();
 
-  > rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
-
   &:selected {
     &:focus, & {
       border-radius: 0;
@@ -3976,10 +3970,7 @@ colorchooser .popover.osd { border-radius: 5px; }
 
     &:active, &:selected { background-color: if($variant=='light', transparent, $selected_bg_color); }
     &:disabled { background-color: if($variant=='light', transparent, $insensitive_bg_color); }
-}
-
-  > rubberband { @extend rubberband; }
-
+  }
 }
 
 .scale-popup {


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