[libadwaita/wip/exalm/card: 18/27] stylesheet: Support .pill for menu buttons
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/card: 18/27] stylesheet: Support .pill for menu buttons
- Date: Mon, 25 Oct 2021 13:21:56 +0000 (UTC)
commit 4304435f402b77a99b136ec4ee9eeb18207db33f
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Oct 19 18:29:06 2021 +0500
stylesheet: Support .pill for menu buttons
src/stylesheet/widgets/_buttons.scss | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index 4ac1eca6..4436a15e 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -298,6 +298,7 @@ button {
label { padding: 0; }
}
+ @at-root %pill_button,
&.pill {
padding: 10px 32px;
border-radius: 9999px;
@@ -362,6 +363,7 @@ menubutton {
&.circular > button { @extend %circular_button; }
&.flat > button { @extend %button_basic_flat; }
&.outline > button { @extend %outline_button; }
+ &.pill > button { @extend %pill_button; }
&.suggested-action {
background-color: $accent_bg_color;
@@ -383,7 +385,7 @@ menubutton {
&.opaque {
border-radius: $button_radius;
- &.circular {
+ &.circular, &.pill {
border-radius: 9999px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]