GTK4: Fix inset shadow of entry widgets
This commit is contained in:
parent
04b923927c
commit
443bab6be6
@ -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 *
|
* Button *
|
||||||
@ -28,8 +28,10 @@ button {
|
|||||||
**********/
|
**********/
|
||||||
%entry,
|
%entry,
|
||||||
entry {
|
entry {
|
||||||
box-shadow: $_widget_inset_shadow;
|
&:not(:disabled) {
|
||||||
background: if($variant=='dark', $dark_fill, $base_color);
|
box-shadow: $_widget_inset_shadow;
|
||||||
|
background: if($variant=='dark', $dark_fill, $bg_color);
|
||||||
|
}
|
||||||
|
|
||||||
&:backdrop {
|
&:backdrop {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user