[libadwaita/wip/exalm/pill: 2/4] stylesheet: Add .pill style class for buttons




commit ca848cad5a73d0e3ec4a32bbfce4e2030b7363aa
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Aug 12 16:44:52 2021 +0500

    stylesheet: Add .pill style class for buttons
    
    It's a common pattern by now, let's have it in libadwaita.

 src/stylesheet/widgets/_buttons.scss | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index fd712737..dec5f229 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -263,6 +263,11 @@ button {
 
     label { padding: 0; }
   }
+
+  &.pill {
+    padding: 10px 32px;
+    border-radius: 9999px;
+  }
 }
 
 %needs_attention {


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