mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-10 17:48:44 +08:00
26 lines
489 B
SCSS
26 lines
489 B
SCSS
@mixin make-flex-direction($prefix: '.') {
|
|
#{$prefix}flex-row {
|
|
flex-direction: row;
|
|
}
|
|
|
|
#{$prefix}flex-row-reverse {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
#{$prefix}flex-col {
|
|
flex-direction: column;
|
|
}
|
|
#{$prefix}flex-col-reverse {
|
|
flex-direction: column-reverse;
|
|
}
|
|
}
|
|
|
|
@include make-flex-direction();
|
|
@each $deivce in map-keys($devices) {
|
|
@include media-device($deivce) {
|
|
@include make-flex-direction('.' + selector-escape($deivce + ':'));
|
|
}
|
|
}
|
|
|
|
// hover ?
|