fieldSet border 样式调整

This commit is contained in:
liaoxuezhi 2019-10-30 15:16:20 +08:00
parent 4cb5c033f4
commit f7ce345368

View File

@ -4,7 +4,7 @@
&:after {
content: '';
pointer-events: none;
border: 1px solid lighten($borderColor, 5%);
border: 1px solid $borderColor;
position: absolute;
z-index: 0;
top: 11px;
@ -13,7 +13,7 @@
right: 0;
}
> legend {
>legend {
position: absolute;
top: 0;
left: 0;
@ -31,7 +31,7 @@
}
fieldset.#{$ns}Collapse {
> legend {
>legend {
font-weight: $fontWeightNormal;
padding: $gap-xs 0;
font-size: $fontSizeMd;
@ -48,7 +48,7 @@ fieldset.#{$ns}Collapse {
@extend %fieldSetBase;
padding: 20px 5px 5px 5px;
> legend {
>legend {
left: 5px;
font-size: $fontSizeXs;
padding: 0 3px;
@ -65,7 +65,7 @@ fieldset.#{$ns}Collapse {
padding: 25px 10px 10px 10px;
> legend {
>legend {
left: 10px;
font-size: $fontSizeSm;
padding: 0 5px;
@ -82,7 +82,7 @@ fieldset.#{$ns}Collapse {
padding: 30px 15px 15px 15px;
> legend {
>legend {
left: 15px;
font-size: $fontSizeBase;
padding: 0 8px;
@ -98,7 +98,7 @@ fieldset.#{$ns}Collapse {
@extend %fieldSetBase;
padding: 30px 20px 20px 20px;
> legend {
>legend {
left: 20px;
font-size: $fontSizeMd;
padding: 0 10px;
@ -114,7 +114,7 @@ fieldset.#{$ns}Collapse {
@extend %fieldSetBase;
padding: 40px 30px 30px 30px;
> legend {
>legend {
left: 30px;
font-size: $fontSizeLg;
padding: 0 15px;
@ -125,4 +125,4 @@ fieldset.#{$ns}Collapse {
top: 9px;
}
}
}
}