feat: 定义button,form等组件样式
This commit is contained in:
34
src/styles/components/ant-form.scss
Normal file
34
src/styles/components/ant-form.scss
Normal file
@ -0,0 +1,34 @@
|
||||
.ant-form {
|
||||
.ant-form-item {
|
||||
margin-bottom: 0;
|
||||
&:not(:last-child) {
|
||||
margin-bottom: 16px !important;
|
||||
}
|
||||
.ant-form-item-row {
|
||||
.ant-form-item-label {
|
||||
margin-right: 12px;
|
||||
> label {
|
||||
color: #211f24;
|
||||
font-family: $font-family-regular;
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 22px;
|
||||
&::before {
|
||||
margin-inline-end: unset;
|
||||
color: #f64b31;
|
||||
margin-right: 4px;
|
||||
font-size: 14px;
|
||||
font-family: $font-family-regular;
|
||||
line-height: 22px;
|
||||
}
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.ant-form-item-control {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user