mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:19:01 +08:00
26 lines
480 B
SCSS
26 lines
480 B
SCSS
@mixin make-whitespace($prefix: '.') {
|
|
@each $name,
|
|
$value
|
|
in (
|
|
'normal': normal,
|
|
'nowrap': nowrap,
|
|
'pre': pre,
|
|
'pre-line': pre-line,
|
|
'pre-wrap': pre-wrap
|
|
)
|
|
{
|
|
#{$prefix}align-#{$name} {
|
|
vertical-align: $value;
|
|
}
|
|
}
|
|
}
|
|
|
|
@include make-whitespace();
|
|
@each $deivce in map-keys($devices) {
|
|
@include media-device($deivce) {
|
|
@include make-whitespace('.' + selector-escape($deivce + ':'));
|
|
}
|
|
}
|
|
|
|
// hover ?
|