[libadwaita/wip/exalm/pill: 1/3] stylesheet: Add .pill style class for buttons




commit 37ff8bad9a5c8eabf916114a5ebcbf28b0368beb
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..0072d9f5 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -263,6 +263,11 @@ button {
 
     label { padding: 0; }
   }
+
+  &.pill {
+    padding: 7px 20px;
+    border-radius: 9999px;
+  }
 }
 
 %needs_attention {


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