Files
dvcp_v2_wxcp_app/src/styles/common.scss

43 lines
640 B
SCSS
Raw Normal View History

2022-08-09 11:32:28 +08:00
@import '~uview-ui/index.scss';
2022-08-09 11:11:53 +08:00
@import "styles/ckeditor";
@import "styles/party";
@import "styles/iconfont.css";
2022-08-09 11:32:28 +08:00
/**
常用内外边距样式
*/
@each $padMar, $pm in (mar:margin, pad:padding) {
@each $pos, $p in (l:left, r:right, t:top, b:bottom) {
@each $v in (8, 10, 16, 32) {
.#{$padMar}-#{$pos+$v} {
#{$pm}-#{$p}: #{$v}px
}
}
}
}
div[flex] {
display: flex;
align-items: center;
&.spb {
justify-content: space-between;
}
&.wrap {
flex-wrap: wrap;
}
&.column {
flex-direction: column;
}
&.start {
align-items: flex-start;
}
}
div[shrink] {
flex-shrink: 0;
}