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

21 lines
337 B
SCSS

/* Entries */
StEntry {
@extend %entry;
StIcon.capslock-warning {
icon-size: $scalable_icon_size;
warning-color: $warning_color;
padding: 0 $base_margin;
}
StIcon.peek-password {
icon-size: $scalable_icon_size;
padding: 0 $base_margin;
}
StLabel.hint-text {
margin-left: $base_margin * 0.5;
}
}