theme: use tabular figures where appropriate

Set font-feature-settings: "tnum" on spinbuttons, progress bars and
scales

fixes #1478
This commit is contained in:
Lukas K 2020-02-29 14:32:29 +01:00
parent 4c027d458b
commit 82b9be3297

View File

@ -1443,6 +1443,7 @@ spinbutton {
padding: 1px 2px; padding: 1px 2px;
} }
} }
font-feature-settings: "tnum";
} }
@ -3330,7 +3331,10 @@ scale {
} }
marks, marks,
value { color: gtkalpha(currentColor, 0.55); } value {
color: gtkalpha(currentColor, 0.55);
font-feature-settings: "tnum";
}
//marks margins //marks margins
@each $scale_orient, $marks_class, $marks_pos, $marks_margin in (horizontal, top, top, bottom), @each $scale_orient, $marks_class, $marks_pos, $marks_margin in (horizontal, top, top, bottom),
@ -3598,6 +3602,7 @@ progressbar {
// FIXME: insensitive state missing and some other state should be set probably // FIXME: insensitive state missing and some other state should be set probably
font-size: smaller; font-size: smaller;
color: transparentize($fg_color, 0.6); color: transparentize($fg_color, 0.6);
font-feature-settings: "tnum";
&:backdrop { &:backdrop {
box-shadow: none; box-shadow: none;