feat: input、textare组件替换

This commit is contained in:
rd
2025-09-04 11:07:21 +08:00
parent 1a6fad8bd5
commit cf574da1da
47 changed files with 435 additions and 425 deletions

View File

@ -6,9 +6,9 @@
padding: 0 12px;
display: flex;
align-items: center;
color: var(--Text-4, #211F24);
color: var(--Text-4, #211f24);
font-family: $font-family-regular;
font-size: 14px;
font-size: 14px !important;
font-style: normal;
font-weight: 400;
&::placeholder {
@ -24,8 +24,8 @@
background-color: #fff !important;
}
&:focus-within,
&.arco-input-focus,
&.arco-textarea-focus {
&.ant-input-focus,
&.ant-textarea-focus {
background-color: var(--color-bg-2) !important;
border-color: rgb(var(--primary-6)) !important;
box-shadow: 0 0 0 0 var(--color-primary-light-2) !important;
@ -38,3 +38,20 @@
margin-right: 4px;
}
}
.ant-input-affix-wrapper {
padding-top: 0;
padding-bottom: 0;
&:focus,
&-focused {
box-shadow: none !important;
}
.ant-input {
height: 30px;
&.ant-input-lg {
height: 34px;
}
&.ant-input-sm {
height: 26px;
}
}
}

View File

@ -0,0 +1,5 @@
.ant-input-textarea {
.ant-input {
padding: 8px 12px 4px 12px;
}
}

View File

@ -19,5 +19,6 @@
@import "./ant-table.scss";
@import "./ant-checkbox.scss";
@import "./ant-input.scss";
@import "./ant-textarea.scss";