Skip to content

Commit 39f66ea

Browse files
committed
BUGFIX: Remove this box-shadow inset shadow as it wasn't working well with the window
1 parent f709e57 commit 39f66ea

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

Helium/gtk-4.0/widgets/_window.scss

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ window {
22
border-width: 0px;
33

44
&.csd {
5-
box-shadow: shadow(5), inset 0 0 0 1px gtkalpha($borders, 0.4);
5+
box-shadow: shadow(5);
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
11-
box-shadow: shadow(4), 0 32px 64px 0px transparent,
12-
inset 0 0 0 1px gtkalpha($borders, 0.4);
11+
box-shadow: shadow(4), 0 32px 64px 0px transparent;
1312
}
1413

1514
&.dialog.message {
@@ -32,10 +31,10 @@ window {
3231
border-radius: 0;
3332
outline: none;
3433

35-
box-shadow: inset 0 0 0 1px $borders, 0 0 0 20px transparent;
34+
box-shadow: 0 0 0 20px transparent;
3635

3736
&:backdrop {
38-
box-shadow: inset 0 0 0 1px $borders, 0 0 0 20px transparent;
37+
box-shadow: 0 0 0 20px transparent;
3938
}
4039
}
4140

@@ -51,11 +50,10 @@ window {
5150
margin: 0;
5251
padding: 5px;
5352
border-radius: 0;
54-
box-shadow: inset 0 0 0 9px $headerbar_bg_color, inset 0 0 0 1px $borders;
53+
box-shadow: inset 0 0 0 9px $headerbar_bg_color
5554

5655
&:backdrop {
57-
box-shadow: inset 0 0 0 9px $headerbar_backdrop_color,
58-
inset 0 0 0 1px $borders;
56+
box-shadow: inset 0 0 0 9px $headerbar_backdrop_color;
5957
}
6058
}
6159
}

0 commit comments

Comments
 (0)