[libadwaita/wip/exalm/pill: 1/3] stylesheet: Add .pill style class for buttons
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/pill: 1/3] stylesheet: Add .pill style class for buttons
- Date: Thu, 12 Aug 2021 12:40:03 +0000 (UTC)
commit 1183689fdd89363024b41aa4c411194ce77f5436
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]