Files
dvcp_v2_wxcp_app/src/styles/common.scss

49 lines
676 B
SCSS
Raw Normal View History

2022-08-09 11:32:28 +08:00
@import '~uview-ui/index.scss';
2022-08-09 11:46:41 +08:00
@import "./ckeditor";
@import "./party";
@import "./iconfont";
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;
}
2022-08-09 11:39:26 +08:00
.fill {
flex: 1;
min-width: 0;
min-height: 0;
}