GTK3: improve entry visibility
This commit is contained in:
@@ -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%)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user