theme: No stroke on entries

- Tobias' mini guadec initiative

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1924>
This commit is contained in:
Jakub Steiner 2021-07-22 13:44:12 +02:00
parent 678b06fc7e
commit c17601bdee
2 changed files with 3 additions and 6 deletions

View File

@ -3,7 +3,7 @@
StEntry { StEntry {
border-radius: $base_border_radius; border-radius: $base_border_radius;
padding: 8px; padding: 8px;
border-width: 1px; border-width: 0;
color: $fg_color; color: $fg_color;
@include entry(normal); @include entry(normal);
//&:hover { @include entry(hover);} //&:hover { @include entry(hover);}

View File

@ -10,19 +10,16 @@ $search_entry_height: 36px;
border-radius: $search_entry_height * 0.5; // half the height border-radius: $search_entry_height * 0.5; // half the height
color: transparentize($fg_color,0.3); color: transparentize($fg_color,0.3);
background-color: $bg_color; background-color: $bg_color;
border-color: $borders_color;
margin-top: $base_spacing * 2; margin-top: $base_spacing * 2;
margin-bottom: $base_spacing; margin-bottom: $base_spacing;
border-width: 2px;
border-color: transparent;
&:hover { &:hover {
background-color: $hover_bg_color; background-color: $hover_bg_color;
border-color: $hover_borders_color;
color: $hover_fg_color; color: $hover_fg_color;
} }
&:focus { &:focus {
padding: $base_padding $base_padding+2; // 1px less to account for wider border
border-width: 2px;
border-style: solid; border-style: solid;
border-color: $selected_bg_color; border-color: $selected_bg_color;
color: $fg_color; color: $fg_color;