From 7abc508067459087871427d924a679f47766f62c Mon Sep 17 00:00:00 2001 From: zzh Date: Fri, 21 Nov 2025 22:04:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=B4=A7=E6=9F=A5=E8=AF=A2=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E8=AE=BE=E8=AE=A1=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/assets/styles.css | 43 +++++++++++++++++++++ frontend/index.html | 22 +++++++++-- frontend/js/router.js | 5 ++- server/app.py | 76 +++++++++++++++++++++++++++++++++----- 4 files changed, 131 insertions(+), 15 deletions(-) diff --git a/frontend/assets/styles.css b/frontend/assets/styles.css index b533644..965e799 100644 --- a/frontend/assets/styles.css +++ b/frontend/assets/styles.css @@ -533,3 +533,46 @@ input[type="date"]::-webkit-calendar-picker-indicator:hover{ background-repeat: no-repeat; background-position: center; } + +/* Table styles */ +.table { + width: 100%; + border-collapse: collapse; + background: var(--surface); + border-radius: 8px; + overflow: hidden; +} + +.table thead { + background: var(--border); +} + +.table th { + padding: 12px; + text-align: left; + font-weight: 600; + color: var(--text); + border-bottom: 2px solid var(--border); +} + +.table td { + padding: 12px; + border-bottom: 1px solid var(--border); + color: var(--text); +} + +.table tbody tr:hover { + background: var(--hover); +} + +.table tbody tr:last-child td { + border-bottom: none; +} + +@media(max-width: 768px) { + .table th, + .table td { + padding: 8px; + font-size: 14px; + } +} diff --git a/frontend/index.html b/frontend/index.html index 372af0e..4394b2b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -52,10 +52,23 @@