[libadwaita/wip/snwh/linked-button-fixes] buttons: more hc exemptions
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/snwh/linked-button-fixes] buttons: more hc exemptions
- Date: Fri, 12 Nov 2021 14:43:09 +0000 (UTC)
commit 631bcdbf231a2f957b5b20972a2a05b082ba4ea9
Author: Sam Hewitt <sam snwh org>
Date: Fri Nov 12 11:12:59 2021 -0330
buttons: more hc exemptions
src/stylesheet/widgets/_buttons.scss | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index 7cf004de..61a72878 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -129,6 +129,7 @@ button {
@if $contrast == 'high' {
box-shadow: 0 0 0 1px currentColor;
+ > * {transform: none;}
}
&:hover {
@@ -535,6 +536,7 @@ splitbutton {
border-bottom-left-radius: 0;
margin-left: -1px;
}
+
@at-root %flat_split_button,
&.flat {
> separator {
@@ -552,6 +554,7 @@ splitbutton {
@if $contrast == 'high' {
box-shadow: inset 0 0 0 1px $thin_border_color;
+ > * {transform: none;}
}
}
@@ -571,7 +574,7 @@ splitbutton {
> * {transform: translateY(1px);}
}
}
-
+
// Reimplementing linked so we don't blow up css
> button:dir(ltr),
> menubutton > button:dir(rtl) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]