diff --git a/static/styles.css b/static/styles.css index ce84b08..5388899 100644 --- a/static/styles.css +++ b/static/styles.css @@ -249,18 +249,21 @@ input:checked + .slider:before { display: flex; justify-content: space-around; gap: 20px; - margin: 30px 0; + margin: 20px 0; +} +.home-header h1 { + font-size: 24px; + margin-bottom: 15px; } - .dashboard-card { flex: 1; background: linear-gradient(135deg, #4285f4, #34a853); color: white; - padding: 25px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); text-align: center; transition: transform 0.3s, box-shadow 0.3s; + padding: 15px; } .dashboard-card:hover { @@ -275,22 +278,23 @@ input:checked + .slider:before { } .stat { - font-size: 32px; + font-size: 24px; + margin: 5px 0 0; font-weight: 600; - margin: 10px 0 0; } .proxy-info { background-color: #f8f9fa; border-radius: 10px; - padding: 25px; - margin: 30px 0; + padding: 15px; + margin: 20px 0; border-left: 4px solid #4285f4; } .proxy-info h2 { margin-top: 0; color: #2c3e50; + font-size: 18px; } .proxy-info p { @@ -351,6 +355,7 @@ input:checked + .slider:before { display: flex; align-items: flex-start; gap: 15px; + margin-bottom: 10px; } .step-number { @@ -405,6 +410,49 @@ input:checked + .slider:before { font-size: 14px; } +/* 设置页按钮样式调整 */ +.settings-form .btn-danger { + background-color: #ea4335; + color: white; + padding: 10px 20px; + border: none; + border-radius: 6px; + cursor: pointer; + text-decoration: none; + display: inline-block; + text-align: center; +} + +.settings-form .btn-danger:hover { + background-color: #d33426; +} + +/* 分页样式 */ +.pagination { + display: flex; + justify-content: center; + margin-top: 20px; + gap: 5px; +} + +.pagination a, .pagination span { + padding: 8px 12px; + border: 1px solid #ddd; + text-decoration: none; + color: #4285f4; + border-radius: 4px; +} + +.pagination a:hover { + background-color: #f1f1f1; +} + +.pagination .current { + background-color: #4285f4; + color: white; + border-color: #4285f4; +} + /* 响应式调整 */ @media (max-width: 768px) { .quick-actions { diff --git a/templates/clients.html b/templates/clients.html index eb97cb9..6e1d792 100644 --- a/templates/clients.html +++ b/templates/clients.html @@ -33,6 +33,26 @@ {% endfor %} + + + +