GTK4: Fix inset shadow of entry widgets

This commit is contained in:
Daniel Ruiz de Alegría 2021-03-03 13:30:37 +01:00
parent 04b923927c
commit 443bab6be6
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C

View File

@ -1,4 +1,4 @@
$_widget_inset_shadow: inset 0 3px 5px -4px $shadow_color, 0 1px rgba(255, 255, 255, .05);
$_widget_inset_shadow: inset 0 3px 10px -4px $shadow_color, 0 1px rgba(255, 255, 255, .05);
/**********
* Button *
@ -28,8 +28,10 @@ button {
**********/
%entry,
entry {
&:not(:disabled) {
box-shadow: $_widget_inset_shadow;
background: if($variant=='dark', $dark_fill, $base_color);
background: if($variant=='dark', $dark_fill, $bg_color);
}
&:backdrop {
box-shadow: none;