42 lines
1.0 KiB
Stylus
42 lines
1.0 KiB
Stylus
|
|
.el-form-item.is-required:not(.is-no-asterisk).asterisk-left > .el-form-item__label-wrap > .el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk).asterisk-left > .el-form-item__label:before {
|
|
position: absolute;
|
|
top calc(50% - 16px)
|
|
left 0
|
|
width 7px !important;
|
|
text-align: center !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.el-form-item__label {
|
|
text-align-last: justify;
|
|
display: inline-block !important;
|
|
position: relative;
|
|
padding 0 12px 0 0 !important;
|
|
}
|
|
|
|
|
|
.el-form-item.is-required .el-form-item__label {
|
|
padding 0 12px !important;
|
|
}
|
|
|
|
.el-form-item.is-required ~ .el-form-item:not(.is-required) .el-form-item__label {
|
|
padding 0 12px !important;
|
|
}
|
|
|
|
.el-form-item:has(+ .el-form-item.is-required):not(.is-required) .el-form-item__label {
|
|
padding 0 12px !important;
|
|
}
|
|
|
|
.el-form-item.is-error {
|
|
.a-uploader {
|
|
.el-upload {
|
|
&.el-upload--text,
|
|
&.el-upload--picture,
|
|
&.el-upload--picture-card {
|
|
border-color: var(--el-color-danger);
|
|
}
|
|
}
|
|
}
|
|
}
|