49c0b849c4
- 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>
40 lines
1.1 KiB
SCSS
40 lines
1.1 KiB
SCSS
// IBus Candidate Popup
|
|
|
|
.candidate-popup-boxpointer {
|
|
@extend .popup-menu-boxpointer;
|
|
}
|
|
|
|
.candidate-popup-content {
|
|
padding: $base_padding;
|
|
spacing: $base_padding;
|
|
@extend .popup-menu-content;
|
|
}
|
|
|
|
.candidate-index {
|
|
padding: 0;
|
|
padding-right: $base_padding;
|
|
color: $insensitive_fg_color;
|
|
}
|
|
|
|
.candidate-box {
|
|
padding: $base_padding $base_padding * 2 $base_padding $base_padding * 2;
|
|
border-radius: $base_border_radius;
|
|
&:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
|
|
&:hover { background-color: $hover_bg_color; color: $hover_fg_color; }
|
|
}
|
|
|
|
.candidate-page-button-box {
|
|
height: 2em;
|
|
.vertical & { padding-top: $base_padding * 2; }
|
|
.horizontal & { padding-left: $base_padding * 2; }
|
|
}
|
|
|
|
.candidate-page-button {
|
|
padding: $base_padding;
|
|
|
|
& StIcon { icon-size: $base_icon_size; }
|
|
}
|
|
|
|
.candidate-page-button-previous { border-radius: $base_border_radius 0px 0px $base_border_radius; border-right-width: 0;box-shadow: none;}
|
|
.candidate-page-button-next { border-radius: 0px $base_border_radius $base_border_radius 0px;box-shadow: none;}
|