scss-library/components/01_Layouts/fan/_fan.scss
2020-08-23 11:35:03 +02:00

36 lines
497 B
SCSS

@mixin RV-Fan ($base_height, $base_width) {
&__Container {
display: flex;
&--horizontal {
flex-direction: row;
}
&--vertical {
flex-direction: column;
width:max-content;
}
}
&__Base {
height: $base_height;
width: $base_width;
flex: 0 0 auto;
}
&__Surface {
@include RV-ContentCrop;
}
&__Container--horizontal &__Surface {
height: $base_height;
}
&__Container--vertical &__Surface {
width: $base_width;
}
}
.RV-Fan {
@include RV-Fan(280px, 320px);
}