diff --git a/frontend/src/views/Settings.vue b/frontend/src/views/Settings.vue index 08eb798..846eec8 100644 --- a/frontend/src/views/Settings.vue +++ b/frontend/src/views/Settings.vue @@ -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 {