[libadwaita/wip/exalm/backdrop: 18/24] stylesheet: Fix shadow transition in dark variant
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/backdrop: 18/24] stylesheet: Fix shadow transition in dark variant
- Date: Sun, 2 May 2021 10:23:36 +0000 (UTC)
commit 961bc9837a00d4afc02d80cd892f10dfe7eb5af3
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Apr 30 17:16:41 2021 +0500
stylesheet: Fix shadow transition in dark variant
Add a bogus transparent shadow so that a hairline border doesn't transition
into a larger shadow.
Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/148
src/stylesheet/widgets/_window.scss | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/stylesheet/widgets/_window.scss b/src/stylesheet/widgets/_window.scss
index 5c23cb6..e76a53e 100644
--- a/src/stylesheet/widgets/_window.scss
+++ b/src/stylesheet/widgets/_window.scss
@@ -9,6 +9,7 @@ window {
&.csd {
box-shadow: 0 3px 9px 1px transparentize(black, 0.5),
+ 0 2px 6px 2px transparent,
0 0 0 1px $_wm_border; //doing borders with box-shadow
margin: 0px;
border-radius: $window_radius;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]