GTK3: improve entry visibility

This commit is contained in:
Daniel Ruiz de Alegría
2020-06-10 12:17:49 +02:00
parent 97c032e9e2
commit 640c6af932
4 changed files with 60 additions and 1 deletions
@@ -1,4 +1,5 @@
$_menu_shadow: 0 1px 6px transparentize(black, if($variant == 'light', .85, .5));
$_widget_inset_shadow: inset 0 3px 5px -4px $shadow_color;
$_wm_border: if($variant=='light', transparentize(black, 0.9), transparentize($borders_color, 0.25));
* {
@@ -15,13 +16,30 @@ $_wm_border: if($variant=='light', transparentize(black, 0.9), transparentize($b
}
}
/**********
* Button *
**********/
%button_active,
button:active,
button:checked, {
background: $dark_fill;
box-shadow: inset 0 3px 5px -4px $shadow_color;
box-shadow: $_widget_inset_shadow;
}
/**********
* Entry *
**********/
%entry,
entry {
box-shadow: $_widget_inset_shadow;
@if ($variant == 'dark') {
background-color: $dark_fill;
}
}
/**********
* Slider *
**********/
%slider_active {
background-image: if($variant == 'light', image(lighten($bg_color, 14%)), image(darken($bg_color, 9%)));
}