Sam Hewitt 49c0b849c4 style: Improve text scaling support
- new drawing function to convert px to em, for select instances
- updated fontsize function to convert fonts in pt to em
- replace instances of discrete sizes with defined values
- fix instances where assets or icons did not scale along with text
- rework panel buttons to accommodate the scaling padding and icons
- new 'scalable' definitions for elements that follow text scaling

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3033>
2023-12-05 12:14:53 +00:00

16 lines
317 B
SCSS

// Search entry
.search-entry {
border-radius: $forced_circular_radius;
margin-top: $base_padding * 2;
margin-bottom: $base_padding;
width: 24em;
@extend %system_entry;
.search-entry-icon {
icon-size: $scalable_icon_size;
margin-top: 2px; // center vertically
padding: 0 $base_margin;
}
}