From d02dcbaf50cd39714424eed609df352b11491321 Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Wed, 30 Oct 2019 15:16:20 +0800 Subject: [PATCH] =?UTF-8?q?fieldSet=20border=20=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scss/components/form/_fieldset.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scss/components/form/_fieldset.scss b/scss/components/form/_fieldset.scss index add462ff3..e310d28d1 100644 --- a/scss/components/form/_fieldset.scss +++ b/scss/components/form/_fieldset.scss @@ -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; } } -} +} \ No newline at end of file