[libadwaita/wip/exalm/card: 19/27] stylesheet: Stop supporting .flat+suggested/destructive-action
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/card: 19/27] stylesheet: Stop supporting .flat+suggested/destructive-action
- Date: Mon, 25 Oct 2021 13:21:56 +0000 (UTC)
commit 5ebabe591d5d0f6579b35f05f42feffb91f8c611
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Oct 19 18:45:09 2021 +0500
stylesheet: Stop supporting .flat+suggested/destructive-action
We only use that in message dialogs, just special case it there instead.
src/stylesheet/widgets/_buttons.scss | 8 --------
src/stylesheet/widgets/_message-dialog.scss | 8 ++++++++
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index 4436a15e..38244538 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -246,14 +246,6 @@ button {
filter: opacity($strong_disabled_opacity);
}
- &.suggested-action {
- color: $accent_color;
- }
-
- &.destructive-action {
- color: $destructive_color;
- }
-
// Specificity bump
&:drop(active) {
@extend %button_basic_drop_active;
diff --git a/src/stylesheet/widgets/_message-dialog.scss b/src/stylesheet/widgets/_message-dialog.scss
index f7f7672c..40eb9386 100644
--- a/src/stylesheet/widgets/_message-dialog.scss
+++ b/src/stylesheet/widgets/_message-dialog.scss
@@ -45,6 +45,14 @@ window.dialog.message {
&:last-child {
border-bottom-right-radius: $window_radius+1;
}
+
+ &.suggested-action {
+ color: $accent_color;
+ }
+
+ &.destructive-action {
+ color: $destructive_color;
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]