[libadwaita/wip/exalm/backdrop: 20/27] 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: 20/27] stylesheet: Fix shadow transition in dark variant
- Date: Mon, 3 May 2021 14:17:19 +0000 (UTC)
commit 9a987caba5212d06f789f45d8400a9fabca04713
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]