GTK3: improve backdrop window shadow

This commit is contained in:
Daniel Ruiz de Alegría 2021-11-04 15:10:40 +01:00
parent 10e7ed4ff9
commit fa86145b83
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
4 changed files with 5 additions and 4 deletions

View File

@ -5998,7 +5998,7 @@ decoration {
background: #23252e;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(13, 14, 17, 0.75); }
decoration:backdrop {
box-shadow: 0 2px 8px 0 transparent, 0 0 0 3px rgba(0, 0, 0, 0.25); }
box-shadow: 0 2px 8px 0 transparent, 0 0 5px 3px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.75); }
.maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration {
border-width: 0; }
.popup decoration {

View File

@ -5998,7 +5998,7 @@ decoration {
background: #23252e;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(13, 14, 17, 0.75); }
decoration:backdrop {
box-shadow: 0 2px 8px 0 transparent, 0 0 0 3px rgba(0, 0, 0, 0.25); }
box-shadow: 0 2px 8px 0 transparent, 0 0 5px 3px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.75); }
.maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration {
border-width: 0; }
.popup decoration {

View File

@ -6019,7 +6019,7 @@ decoration {
background: #ffffff;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1); }
decoration:backdrop {
box-shadow: 0 2px 8px 0 transparent, 0 0 0 3px rgba(0, 0, 0, 0.15); }
box-shadow: 0 2px 8px 0 transparent, 0 0 5px 3px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03); }
.maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration {
border-width: 0; }
.popup decoration {

View File

@ -565,7 +565,8 @@ decoration {
&:backdrop {
box-shadow: 0 2px 8px 0 transparent,
0 0 0 3px transparentize(black, if($variant == 'light', .85, .75));
0 0 5px 3px transparentize(black, if($variant == 'light', .85, .75)),
0 0 0 1px if($variant=='light', transparentize(black, 0.97), transparentize(black, 0.25));
}
.maximized &,