vendor: amis 6.13.0 base (fork root)

This commit is contained in:
2026-06-16 22:14:57 +08:00
commit 8c8e4247a9
3840 changed files with 2467374 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
.#{$ns}Divider {
margin: var(--Divider-marginTop) var(--Divider-marginRight)
var(--Divider-marginBottom) var(--Divider-marginLeft);
font-size: 0;
&--dashed {
border-bottom-style: dashed;
}
&--horizontal.#{$ns}Divider--solid {
border-bottom-style: solid;
}
&--horizontal.#{$ns}Divider--dashed {
border-bottom-style: dashed;
}
&--vertical.#{$ns}Divider--solid {
border-left-style: solid;
}
&--vertical.#{$ns}Divider--dashed {
border-left-style: dashed;
}
&--horizontal {
position: relative;
height: px2rem(2px);
border-bottom: var(--Divider-width) var(--Divider-style)
var(--Divider-color);
transform-origin: 0 center;
clear: both;
}
&--vertical {
border-left: var(--Divider-width) var(--Divider-style) var(--Divider-color);
height: var(--sizes-base-15);
transform-origin: center bottom;
display: inline-block;
}
}
.#{$ns}Divider--with-text {
display: flex;
align-items: center;
height: unset;
border-bottom-width: 0 !important;
&::before,
&::after {
content: '';
height: 0;
flex: 1;
min-width: 0;
min-height: 0;
border-bottom: inherit;
border-bottom-width: var(--Divider-width);
}
&.#{$ns}Divider--with-text-left:before,
&.#{$ns}Divider--with-text-right:after {
flex-basis: var(--Divider-text-width);
flex-grow: 0;
}
}
.#{$ns}Divider-text {
margin: var(--Divider-text-marginTop) var(--Divider-text-marginRight)
var(--Divider-text-marginBottom) var(--Divider-text-marginLeft);
font-size: var(--Divider-text-fontSize);
font-weight: var(--Divider-text-fontWeight);
line-height: 1;
color: var(--Divider-text-color);
box-sizing: border-box;
}
/* 移动端样式调整 */
@include media-breakpoint-down(sm) {
.#{$ns}Divider {
transform: scaleY(0.5);
}
}