From abeb4a0126fc79931981f9e7f7e0e7eff44b0e2d Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 14 Jul 2026 11:29:36 +0800 Subject: [PATCH] style(system): polish admin password reset trigger and dialog layout Improve the password reset entry button and dialog styling for clearer visual hierarchy, consistent spacing, and better mobile responsiveness. --- frontend/src/views/system/SystemSettings.vue | 131 ++++++++++++++++++- 1 file changed, 127 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/system/SystemSettings.vue b/frontend/src/views/system/SystemSettings.vue index cbf223f2..56cd267d 100644 --- a/frontend/src/views/system/SystemSettings.vue +++ b/frontend/src/views/system/SystemSettings.vue @@ -200,7 +200,12 @@

{{ t('system.globalSettings.passwordReset.description') }}

- + {{ t('system.globalSettings.passwordReset.action') }} @@ -442,13 +447,18 @@ { width: 320px; } +.password-reset-trigger { + min-width: 112px; + height: 32px; + padding: 0 12px; + color: var(--td-error-color); + background: var(--td-error-color-light); + border: 1px solid transparent; + border-radius: 6px; + + &:hover { + color: var(--td-error-color-hover); + background: var(--td-error-color-light-hover); + border-color: var(--td-error-color-focus); + } + + &:active { + color: var(--td-error-color-active); + background: var(--td-error-color-focus); + } +} + .password-reset-warning { - margin-bottom: 18px; + margin-bottom: 20px; } @media (max-width: 860px) { @@ -2561,6 +2593,97 @@ onUnmounted(() => {