[libadwaita/wip/exalm/buttons-again-2: 1/4] stylesheet: Fix HC outlines for AdwViewSwitcher
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/buttons-again-2: 1/4] stylesheet: Fix HC outlines for AdwViewSwitcher
- Date: Mon, 15 Nov 2021 07:23:30 +0000 (UTC)
commit 9877cc27bd594cfd2fce9949451f8a0f1c28e51f
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Nov 15 02:12:31 2021 +0500
stylesheet: Fix HC outlines for AdwViewSwitcher
src/stylesheet/widgets/_view-switcher.scss | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/src/stylesheet/widgets/_view-switcher.scss b/src/stylesheet/widgets/_view-switcher.scss
index 614de8b1..529b88e5 100644
--- a/src/stylesheet/widgets/_view-switcher.scss
+++ b/src/stylesheet/widgets/_view-switcher.scss
@@ -11,6 +11,16 @@ viewswitcher {
font-size: 1rem;
font-weight: inherit;
+ @if $contrast == 'high' {
+ &:hover,
+ &.keyboard-activating,
+ &:active,
+ &:checked {
+ box-shadow: inset 1px 0 $border_color,
+ inset -1px 0 $border_color;
+ }
+ }
+
> stack > box {
&.narrow {
font-size: 0.75rem;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]