[libadwaita/wip/exalm/buttons-v2: 4/9] stylesheet: Extend button for the color chooser add button




commit f453a3c8f3cbe9b8e3b3d543114a3adcf38f0c8c
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun May 23 13:39:24 2021 +0500

    stylesheet: Extend button for the color chooser add button

 src/stylesheet/widgets/_color-chooser.scss | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/src/stylesheet/widgets/_color-chooser.scss b/src/stylesheet/widgets/_color-chooser.scss
index d077d06e..9385acc3 100644
--- a/src/stylesheet/widgets/_color-chooser.scss
+++ b/src/stylesheet/widgets/_color-chooser.scss
@@ -104,17 +104,13 @@ colorswatch {
   }
 
   &#add-color-button {
-    border-radius: $_colorswatch_radius 0 0 $_colorswatch_radius;
-
-    &:only-child { border-radius: $_colorswatch_radius; }
-
     > overlay {
-      @include button(normal);
-    }
+      @extend %button_basic;
 
-    &.activatable:hover > overlay {
-      @include button(hover);
+      border-radius: $_colorswatch_radius 0 0 $_colorswatch_radius;
     }
+
+    &:only-child > overlay { border-radius: $_colorswatch_radius; }
   }
 
   &:disabled {


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