fix: sass1.77.7规则升级warning

This commit is contained in:
sudoooooo 2024-07-10 16:07:29 +08:00
parent 6431cc3210
commit eaa1abda82
3 changed files with 8 additions and 9 deletions

View File

@ -39,6 +39,8 @@ export default {
}
&:not(.show) {
transition: all 0.3s ease-in-out;
display: block;
opacity: 0;
height: 0;
@ -48,8 +50,6 @@ export default {
color: transparent;
padding-right: 0.1rem;
}
transition: all 0.3s ease-in-out;
}
&.show {

View File

@ -81,12 +81,12 @@
}
&.hasError {
/*由于错误提示可能多行因此有错误时取消margin让错误提示撑开边距*/
margin-bottom: 0;
.item-border {
border-color: $error-color;
}
/*由于错误提示可能多行因此有错误时取消margin让错误提示撑开边距*/
margin-bottom: 0;
}
&.special .module-err-tip {

View File

@ -89,6 +89,8 @@
}
&.is-checked {
transition: all 0.3s ease-in-out;
.item-title {
color: $primary-color;
}
@ -102,18 +104,15 @@
color: #fff;
border: none;
}
transition: all 0.3s ease-in-out;
}
&:not(.is-checked) {
transition: all 0.3s ease-in-out;
background-color: transparent;
.item-title {
color: $font-color;
}
transition: all 0.3s ease-in-out;
}
&.lastchild,