[libadwaita/wip/exalm/card: 7/14] 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: 7/14] stylesheet: Stop supporting .flat+suggested/destructive-action
- Date: Thu, 21 Oct 2021 22:56:49 +0000 (UTC)
commit df40245067cddf899ac69d97dbbb9413c7bcad70
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 06660448..c07f5c41 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -242,14 +242,6 @@ button {
}
}
- &.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]