[libadwaita/wip/exalm/background-colors: 11/20] stylesheet: Simplify needs-attention indicator
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/background-colors: 11/20] stylesheet: Simplify needs-attention indicator
- Date: Mon, 18 Oct 2021 15:04:01 +0000 (UTC)
commit e648cec60d4c055d7609cba0e5ee1c05c836dfb0
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Oct 18 13:25:36 2021 +0500
stylesheet: Simplify needs-attention indicator
It has a shadow in the past, but not anymore, so everything related to
mulitple backgrounds and light/dark special casing is redundant.
src/stylesheet/_common.scss | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 48120d1e..ee41361a 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -91,17 +91,13 @@ expander-widget {
animation: needs_attention 150ms ease-in;
background-image: radial-gradient(farthest-side, $accent_bg_color 96%, transparent);
- background-size: 6px 6px, 6px 6px;
+ background-size: 6px 6px;
background-repeat: no-repeat;
- @if $variant == 'light' { background-position: right 3px, right 4px; }
-
- @else { background-position: right 3px, right 2px; }
+ background-position: right 3px;
&:dir(rtl) {
- @if $variant == 'light' { background-position: left 3px, left 4px; }
-
- @else { background-position: left 3px, left 2px; }
+ background-position: left 3px;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]