fix: 统一输入框样式(包括密码输入框)

This commit is contained in:
Your Name 2026-01-06 23:50:36 +08:00
parent b44d02f929
commit bc120b60da

View File

@ -4626,7 +4626,8 @@ watch(activeTab, (value) => {
.ant-input,
.ant-input-number,
.ant-select-selector,
.ant-picker {
.ant-picker,
.ant-input-affix-wrapper {
background: $bg-tertiary !important;
border-color: $border-primary !important;
color: $text-primary !important;
@ -4636,7 +4637,9 @@ watch(activeTab, (value) => {
}
&:focus,
&.ant-picker-focused {
&:focus-within,
&.ant-picker-focused,
&.ant-input-affix-wrapper-focused {
border-color: $brand-primary !important;
box-shadow: 0 0 0 2px rgba($brand-primary, 0.08) !important;
}
@ -4644,6 +4647,26 @@ watch(activeTab, (value) => {
&::placeholder {
color: $text-tertiary !important;
}
// 密码输入框内的input
.ant-input {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
// 密码显示/隐藏按钮
.ant-input-suffix {
color: $text-secondary !important;
.anticon {
color: $text-secondary !important;
&:hover {
color: $text-primary !important;
}
}
}
}
.ant-input-number-input {