36 lines
497 B
SCSS
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);
|
|
} |