优化前端2
Browse files- public/style.css +25 -20
public/style.css
CHANGED
|
@@ -111,18 +111,19 @@ code, pre, .mono, .token-display {
|
|
| 111 |
font-family: 'Ubuntu Mono', 'Consolas', 'Monaco', monospace !important;
|
| 112 |
}
|
| 113 |
|
| 114 |
-
.container {
|
| 115 |
-
max-width: 1400px;
|
| 116 |
-
margin: 0 auto;
|
| 117 |
-
padding: 0.5rem;
|
| 118 |
-
height: 100vh;
|
| 119 |
-
display: flex;
|
| 120 |
-
|
| 121 |
-
|
| 122 |
}
|
| 123 |
|
| 124 |
/* 登录表单 */
|
| 125 |
.login-form {
|
|
|
|
| 126 |
background: rgba(255, 255, 255, 0.6);
|
| 127 |
backdrop-filter: blur(24px) saturate(180%);
|
| 128 |
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
@@ -209,6 +210,7 @@ button.loading::after {
|
|
| 209 |
|
| 210 |
/* 主内容区 */
|
| 211 |
.main-content {
|
|
|
|
| 212 |
background: rgba(255, 255, 255, 0.6);
|
| 213 |
backdrop-filter: blur(24px) saturate(180%);
|
| 214 |
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
@@ -216,7 +218,7 @@ button.loading::after {
|
|
| 216 |
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
|
| 217 |
width: 100%;
|
| 218 |
max-width: 1400px;
|
| 219 |
-
height: calc(100vh - 1rem);
|
| 220 |
display: flex;
|
| 221 |
flex-direction: column;
|
| 222 |
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
@@ -279,7 +281,7 @@ button.loading::after {
|
|
| 279 |
.content {
|
| 280 |
padding: 1rem;
|
| 281 |
flex: 1;
|
| 282 |
-
overflow
|
| 283 |
}
|
| 284 |
|
| 285 |
/* 顶部栏 - 统计+操作 */
|
|
@@ -701,6 +703,7 @@ button.loading::after {
|
|
| 701 |
box-shadow: 0 16px 48px rgba(0,0,0,0.2);
|
| 702 |
animation: scaleIn 0.2s;
|
| 703 |
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
|
|
| 704 |
}
|
| 705 |
@media (prefers-color-scheme: dark) {
|
| 706 |
.modal-content {
|
|
@@ -736,14 +739,15 @@ button.loading::after {
|
|
| 736 |
.form-modal .modal-content { max-width: 480px; }
|
| 737 |
.form-modal input { margin-bottom: 0.75rem; }
|
| 738 |
.form-modal .form-row { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
|
| 739 |
-
.form-modal .oauth-steps {
|
| 740 |
-
background: rgba(59,130,246,0.1);
|
| 741 |
-
padding: 0.875rem;
|
| 742 |
-
border-radius: 0.5rem;
|
| 743 |
-
margin-bottom: 1rem;
|
| 744 |
-
border: 1.5px solid var(--info);
|
|
|
|
| 745 |
}
|
| 746 |
-
.form-modal .oauth-steps p { margin-bottom: 0.5rem; font-size: 0.8rem; }
|
| 747 |
.form-modal .oauth-steps p:last-child { margin-bottom: 0; }
|
| 748 |
|
| 749 |
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
|
|
@@ -1021,6 +1025,7 @@ input:checked + .slider:before {
|
|
| 1021 |
border: 1.5px solid var(--border);
|
| 1022 |
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
|
| 1023 |
cursor: default;
|
|
|
|
| 1024 |
}
|
| 1025 |
.quota-item:hover {
|
| 1026 |
transform: scale(1.02);
|
|
@@ -1228,10 +1233,10 @@ input:checked + .slider:before {
|
|
| 1228 |
|
| 1229 |
/* 响应式 */
|
| 1230 |
@media (max-width: 768px) {
|
| 1231 |
-
.container { padding: 0; height: 100vh; }
|
| 1232 |
-
.login-form { margin: 0.5rem; padding: 1.5rem; }
|
| 1233 |
.login-form h2 { font-size: 1.25rem; }
|
| 1234 |
-
.main-content { height: 100vh; border-radius: 0; }
|
| 1235 |
.header {
|
| 1236 |
padding: 0.5rem 0.75rem;
|
| 1237 |
flex-wrap: nowrap;
|
|
|
|
| 111 |
font-family: 'Ubuntu Mono', 'Consolas', 'Monaco', monospace !important;
|
| 112 |
}
|
| 113 |
|
| 114 |
+
.container {
|
| 115 |
+
max-width: 1400px;
|
| 116 |
+
margin: 0 auto;
|
| 117 |
+
padding: 0.5rem;
|
| 118 |
+
min-height: 100vh;
|
| 119 |
+
display: flex;
|
| 120 |
+
justify-content: center;
|
| 121 |
+
align-items: flex-start;
|
| 122 |
}
|
| 123 |
|
| 124 |
/* 登录表单 */
|
| 125 |
.login-form {
|
| 126 |
+
margin: auto;
|
| 127 |
background: rgba(255, 255, 255, 0.6);
|
| 128 |
backdrop-filter: blur(24px) saturate(180%);
|
| 129 |
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
|
|
| 210 |
|
| 211 |
/* 主内容区 */
|
| 212 |
.main-content {
|
| 213 |
+
margin: 0;
|
| 214 |
background: rgba(255, 255, 255, 0.6);
|
| 215 |
backdrop-filter: blur(24px) saturate(180%);
|
| 216 |
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
|
|
| 218 |
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
|
| 219 |
width: 100%;
|
| 220 |
max-width: 1400px;
|
| 221 |
+
min-height: calc(100vh - 1rem);
|
| 222 |
display: flex;
|
| 223 |
flex-direction: column;
|
| 224 |
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
|
|
| 281 |
.content {
|
| 282 |
padding: 1rem;
|
| 283 |
flex: 1;
|
| 284 |
+
overflow: visible;
|
| 285 |
}
|
| 286 |
|
| 287 |
/* 顶部栏 - 统计+操作 */
|
|
|
|
| 703 |
box-shadow: 0 16px 48px rgba(0,0,0,0.2);
|
| 704 |
animation: scaleIn 0.2s;
|
| 705 |
border: 1px solid rgba(255, 255, 255, 0.5);
|
| 706 |
+
color: var(--text);
|
| 707 |
}
|
| 708 |
@media (prefers-color-scheme: dark) {
|
| 709 |
.modal-content {
|
|
|
|
| 739 |
.form-modal .modal-content { max-width: 480px; }
|
| 740 |
.form-modal input { margin-bottom: 0.75rem; }
|
| 741 |
.form-modal .form-row { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
|
| 742 |
+
.form-modal .oauth-steps {
|
| 743 |
+
background: rgba(59,130,246,0.1);
|
| 744 |
+
padding: 0.875rem;
|
| 745 |
+
border-radius: 0.5rem;
|
| 746 |
+
margin-bottom: 1rem;
|
| 747 |
+
border: 1.5px solid var(--info);
|
| 748 |
+
color: var(--text);
|
| 749 |
}
|
| 750 |
+
.form-modal .oauth-steps p { margin-bottom: 0.5rem; font-size: 0.8rem; color: var(--text); }
|
| 751 |
.form-modal .oauth-steps p:last-child { margin-bottom: 0; }
|
| 752 |
|
| 753 |
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
|
|
|
|
| 1025 |
border: 1.5px solid var(--border);
|
| 1026 |
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
|
| 1027 |
cursor: default;
|
| 1028 |
+
color: var(--text);
|
| 1029 |
}
|
| 1030 |
.quota-item:hover {
|
| 1031 |
transform: scale(1.02);
|
|
|
|
| 1233 |
|
| 1234 |
/* 响应式 */
|
| 1235 |
@media (max-width: 768px) {
|
| 1236 |
+
.container { padding: 0; min-height: 100vh; align-items: stretch; }
|
| 1237 |
+
.login-form { margin: auto 0.5rem; padding: 1.5rem; }
|
| 1238 |
.login-form h2 { font-size: 1.25rem; }
|
| 1239 |
+
.main-content { min-height: 100vh; border-radius: 0; margin: 0; }
|
| 1240 |
.header {
|
| 1241 |
padding: 0.5rem 0.75rem;
|
| 1242 |
flex-wrap: nowrap;
|