完全跑通1.0版本
This commit is contained in:
48
frontend/node_modules/element-plus/theme-chalk/src/divider.scss
generated
vendored
Normal file
48
frontend/node_modules/element-plus/theme-chalk/src/divider.scss
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
@use 'common/var' as *;
|
||||
@use 'mixins/mixins' as *;
|
||||
|
||||
@include b(divider) {
|
||||
position: relative;
|
||||
|
||||
@include m(horizontal) {
|
||||
display: block;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
margin: 24px 0;
|
||||
border-top: 1px getCssVar('border-color') getCssVar('border-style');
|
||||
}
|
||||
|
||||
@include m(vertical) {
|
||||
display: inline-block;
|
||||
width: 1px;
|
||||
height: 1em;
|
||||
margin: 0 8px;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
border-left: 1px getCssVar('border-color') getCssVar('border-style');
|
||||
}
|
||||
|
||||
@include e(text) {
|
||||
position: absolute;
|
||||
background-color: getCssVar('bg-color');
|
||||
padding: 0 20px;
|
||||
font-weight: 500;
|
||||
color: getCssVar('text-color', 'primary');
|
||||
font-size: 14px;
|
||||
|
||||
@include when(left) {
|
||||
left: 20px;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
@include when(center) {
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
@include when(right) {
|
||||
right: 20px;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user