[libadwaita/wip/exalm/stylesheet2: 26/103] stylesheet: Properly style toolbar buttons
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/stylesheet2: 26/103] stylesheet: Properly style toolbar buttons
- Date: Fri, 16 Apr 2021 22:38:44 +0000 (UTC)
commit f71707bf6aa25f39cb34f5cb3b3d9fa9d2ce8df0
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Apr 8 16:08:01 2021 +0500
stylesheet: Properly style toolbar buttons
Flat style has changed since they were added and they weren't flat in
some states.
src/stylesheet/_common.scss | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index e5a07ab..85d73eb 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -847,11 +847,9 @@ modelbutton.flat {
margin: 1px;
@extend %undecorated_button;
- &:hover { @include button('hover'); }
- &:active { @include button('active'); }
- &:disabled { @include button('insensitive'); }
- &:backdrop { @include button('backdrop'); }
- &:backdrop:disabled { @include button('backdrop-insensitive'); }
+ &:hover { @include button(undecorated-hover); }
+ &:active { @include button(undecorated-active); }
+ &:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }
}
button.color {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]