diff --git a/lib/common/static/instance_theme.css b/lib/common/static/instance_theme.css index d296291..cacb6c0 100644 --- a/lib/common/static/instance_theme.css +++ b/lib/common/static/instance_theme.css @@ -782,7 +782,8 @@ html[data-theme="light"] .list-window-label { justify-content: flex-end; width: 100%; max-width: 400px; - margin: 0 auto 10px; + margin: 0 0 10px; + flex-shrink: 0; } /* ── 交易执行 / 复盘 / 统计(index 内联样式覆盖)── */ diff --git a/lib/instance/templates/login.html b/lib/instance/templates/login.html index efbe399..ef81ec9 100644 --- a/lib/instance/templates/login.html +++ b/lib/instance/templates/login.html @@ -2,8 +2,8 @@ - - + + @@ -21,11 +21,20 @@ background: #0a0a10; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; display: flex; + flex-direction: column; align-items: center; justify-content: center; - height: 100vh; + min-height: 100vh; + padding: 24px; color: #fff; } + .login-theme-bar { + width: 100%; + max-width: 400px; + display: flex; + justify-content: flex-end; + margin: 0 0 10px; + } .login-box { background: #12121a; padding: 2.5rem; @@ -36,7 +45,7 @@ box-shadow: 0 8px 24px rgba(0,0,0,0.3); } .login-box h2 { - margin-bottom: 2rem; + margin-bottom: 0.75rem; text-align: center; font-size: 1.5rem; background: linear-gradient(90deg, #4cc2ff, #7b42ff); @@ -65,7 +74,7 @@ .form-group input:focus { border-color: #4cc2ff; } - button { + .login-box > form > button { width: 100%; padding: 0.9rem; border-radius: 10px; @@ -77,7 +86,7 @@ cursor: pointer; transition: 0.2s; } - button:hover { + .login-box > form > button:hover { opacity: 0.9; } .flash { @@ -93,17 +102,17 @@ text-align: center; font-size: 0.82rem; color: #8892b0; - margin: -0.5rem 0 1.25rem; + margin: 0 0 1.5rem; } .exchange-line strong { color: #b8f5d0; font-weight: 600; } - - + -
+ +
-
- +

{{ pwa_app_name }}

登录 · {{ exchange_display }}