gnome-shell-dark-theme/gnome-shell-sass/widgets/_buttons.scss

40 lines
617 B
SCSS
Raw Permalink Normal View History

/* Buttons */
.button {
2024-03-25 13:34:36 -04:00
@extend %button;
// uses scalable value since it's a text element
min-height: to_em(22px);
// default style
&.default {
@extend %default_button;
}
// flat style
&.flat {
@extend %flat_button;
}
}
.icon-button {
2024-03-25 13:34:36 -04:00
@extend %button;
2024-03-25 13:34:36 -04:00
border-radius: $forced_circular_radius; // is circular
padding: $scaled_padding * 2;
min-height: $scalable_icon_size;
StIcon {
2024-03-25 13:34:36 -04:00
icon-size: $scalable_icon_size;
-st-icon-style: symbolic;
}
2024-03-25 13:34:36 -04:00
// default style
&.default {
@extend %default_button;
}
// flat style
&.flat {
@extend %flat_button;
}
}