style: 样式调整

This commit is contained in:
rd
2025-09-08 16:11:46 +08:00
parent 6c5373689b
commit a40bd7b2e9

View File

@ -8,42 +8,42 @@
width: 560px; width: 560px;
height: 36px; height: 36px;
padding: 0 2px 0 16px; padding: 0 2px 0 16px;
border-radius: 50px; border-radius: 50px !important;
background: rgba(255, 255, 255, 0.6); background-color: rgba(255, 255, 255, 0.6) !important;
backdrop-filter: blur(8px); backdrop-filter: blur(8px);
border-color: #fff; border-color: #fff !important;
box-shadow: none; box-shadow: none;
transition: all 0.3s; transition: all 0.3s;
display: flex; display: flex;
align-items: center; align-items: center;
&.ant-input-affix-wrapper-focused { &.ant-input-affix-wrapper-focused {
border-color: #6d4cfe; border-color: #6d4cfe !important;
caret-color: #6d4cfe; caret-color: #6d4cfe !important;
} }
&:hover { &:hover {
border-color: #6d4cfe; border-color: #6d4cfe !important;
} }
.ant-input-suffix { .ant-input-suffix {
margin-inline-start: 0; margin-inline-start: 0 !important;
} }
.ant-input { .ant-input {
padding-right: 16px; padding-right: 16px;
border: none !important; border: none !important;
background-color: transparent; background-color: transparent !important;
box-shadow: none; box-shadow: none;
font-family: $font-family-regular; font-family: $font-family-regular;
color: #211f24; color: #211f24;
font-size: 12px; font-size: 12px !important;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;
&::placeholder { &::placeholder {
color: #939499; color: #939499 !important;
} }
&:focus-within { &:focus-within {
&::after { &::after {
border-width: 1px; border-width: 1px !important;
} }
} }
} }