@@ -2,14 +2,15 @@ window {
22 border-width : 0px ;
33
44 & .csd {
5- box-shadow : shadow (5 ), 0 0 0 1px gtkalpha ($borders , 0.4 );
5+ box-shadow : shadow (5 ), inset 0 1 px 0 0 gtkalpha ( white , 0.15 ), inset 0 0 0 1px gtkalpha ($borders , 0.4 );
66 margin : 0px ;
77 border-radius : $window_radius ;
88
99 & :backdrop {
1010 // The transparent is to avoid jumping, and should be of the biggest shadow on active
1111 box-shadow : shadow (4 ), 0 32px 64px 0px transparent ,
12- 0 0 0 1px gtkalpha ($borders , 0.4 );
12+ inset 0 1px 0 0 gtkalpha (white , 0.15 ),
13+ inset 0 0 0 1px gtkalpha ($borders , 0.4 );
1314 }
1415
1516 & .dialog.message {
@@ -32,10 +33,10 @@ window {
3233 border-radius : 0 ;
3334 outline : none ;
3435
35- box-shadow : 0 0 0 1px $borders , 0 0 0 20px transparent ;
36+ box-shadow : inset 0 1 px 0 0 gtkalpha ( white , 0.15 ), inset 0 0 0 1px $borders , 0 0 0 20px transparent ;
3637
3738 & :backdrop {
38- box-shadow : 0 0 0 1px $borders , 0 0 0 20px transparent ;
39+ box-shadow : inset 0 1 px 0 0 gtkalpha ( white , 0.15 ), inset 0 0 0 1px $borders , 0 0 0 20px transparent ;
3940 }
4041 }
4142
@@ -51,11 +52,11 @@ window {
5152 margin : 0 ;
5253 padding : 5px ;
5354 border-radius : 0 ;
54- box-shadow : inset 0 0 0 9px $headerbar_bg_color , inset 0 0 0 1px $borders ;
55+ box-shadow : inset 0 0 0 9px $headerbar_bg_color , inset 0 1 px 0 0 gtkalpha ( white , 0.15 ), inset 0 0 0 1px $borders ;
5556
5657 & :backdrop {
5758 box-shadow : inset 0 0 0 9px $headerbar_backdrop_color ,
58- inset 0 0 0 1px $borders ;
59+ inset 0 1 px 0 0 gtkalpha ( white , 0.15 ), inset 0 0 0 1px $borders ;
5960 }
6061 }
6162}
0 commit comments