theme/entries: Adjust style of entries according to mockups

Add some more padding for the actual text inside the entry and add some
clearance between the left border of the text (where the cursor is) and
the hint-text.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/944
This commit is contained in:
Jonas Dreßler 2020-01-21 19:31:53 +01:00 committed by Florian Müllner
parent 7638485f9e
commit 397454d844

View File

@ -2,7 +2,7 @@
StEntry { StEntry {
border-radius: $base_border_radius; border-radius: $base_border_radius;
padding: 4px; padding: 8px;
border-width: 1px; border-width: 1px;
color: $fg_color; color: $fg_color;
@include entry(normal); @include entry(normal);
@ -20,5 +20,8 @@ StEntry {
icon-size: $base_icon_size; icon-size: $base_icon_size;
padding: 0 4px; padding: 0 4px;
} }
StLabel.hint-text { color: transparentize($fg_color, 0.3); } StLabel.hint-text {
margin-left: 2px;
color: transparentize($fg_color, 0.3);
}
} }