[gtk/wip/jimmac/button-shed: 1/4] Adwaita: duplicate selector
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/button-shed: 1/4] Adwaita: duplicate selector
- Date: Thu, 10 Dec 2020 13:25:53 +0000 (UTC)
commit 7442bdc383436ca8252a01c02def0691e39f4959
Author: Jakub Steiner <jimmac gmail com>
Date: Thu Dec 10 13:51:10 2020 +0100
Adwaita: duplicate selector
- awkward duplicate selector that should have no effect
(resulting in the same css)
gtk/theme/Adwaita/_common.scss | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 2fb68a6f8e..b66b1001fb 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -496,9 +496,9 @@ button {
&:hover {
transition: $button_transition;
transition-duration: 500ms;
-
- &:active { transition: $button_transition; }
}
+ &:active { transition: $button_transition; }
+ &:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }
}
&:hover {
@@ -532,9 +532,6 @@ button {
}
}
- @at-root %button_basic_flat,
- &.flat { &:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }}
-
&:disabled {
@include button(insensitive);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]