kspace-bludit-theme/scss/mixins/_borders.scss

16 lines
310 B
SCSS
Raw Permalink Normal View History

2024-04-10 20:58:16 +02:00
// Border, border radius and margin
@mixin borders() {
border: $border-size solid rgba(0, 0, 0, 0.3)
}
@mixin prefer-no-borders() {
&:not(:hover) {
border-color:transparent;
}
}
@mixin border-radius($border-radius) {
border-radius: $border-radius $border-radius $border-radius $border-radius;
}