From c45ce0edb53f5df22eab5fff2317369fefa3f3b2 Mon Sep 17 00:00:00 2001 From: Dauren777 Date: Fri, 12 Jun 2026 11:45:54 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20table=20=E2=80=94=20fixed=20co?= =?UTF-8?q?l=20widths,=20zebra,=20sticky=20header,=20lighter=20bg,=20scrol?= =?UTF-8?q?lable"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit d547c5128f12b5ea076041360eb9a4fa08e756f4. --- index.html | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/index.html b/index.html index b316e0f..8ae94f3 100644 --- a/index.html +++ b/index.html @@ -31,20 +31,17 @@ input,select,textarea,button{font:inherit;outline:none} .top h2{font-size:20px;font-weight:700} .card{background:#fff;border-radius:12px;padding:20px;margin-bottom:16px;border:1px solid #E8ECF1;overflow-x:auto;box-shadow:0 1px 4px rgba(0,0,0,0.04)} .card h3{font-size:16px;font-weight:700;margin-bottom:12px} -table{width:100%;border-collapse:collapse;table-layout:fixed} -th,td{padding:12px 14px;font-size:13px;text-align:left;border-bottom:1px solid #EDF2F7;vertical-align:middle;overflow:hidden;text-overflow:ellipsis} -th{background:#F8FAFC;font-weight:600;font-size:11px;text-transform:uppercase;color:#64748B;white-space:nowrap;position:sticky;top:0;z-index:2;border-bottom:2px solid #E2E8F0} -tr:hover{background:#EEF2FF} -tr:nth-child(even){background:#FBFCFD} -tr:nth-child(even):hover{background:#EEF2FF} -tr.sub-item-row td{background:#FAFBFC;font-size:12px} -tr.sub-item-row:hover td{background:#EEF2FF} -th:nth-child(1){width:40px} -th:nth-child(2){width:auto} -th:nth-child(3){width:150px} -th:nth-child(4){width:105px} -th:nth-child(5){width:95px} -th:nth-child(6){width:105px;text-align:center} +table{width:100%;border-collapse:collapse} +th,td{padding:10px 14px;font-size:13px;text-align:left;border-bottom:1px solid #E2E8F0;vertical-align:top} +th{background:#F1F5F9;font-weight:600;font-size:11px;text-transform:uppercase;color:#64748B;white-space:nowrap;position:sticky;top:0;z-index:2} +tr:hover{background:#F8FAFC} +tr:nth-child(even){background:#FAFBFC} +tr:nth-child(even):hover{background:#F0F4F8} +th:nth-child(2){min-width:300px} +th:nth-child(3){min-width:140px} +th:nth-child(4){min-width:100px} +th:nth-child(5){min-width:90px} +th:nth-child(6){min-width:110px;text-align:center} .badge{display:inline-block;padding:3px 8px;border-radius:100px;font-size:11px;font-weight:600;white-space:nowrap} .badge.g{background:#E8F5E9;color:#2E7D32}.badge.a{background:#FFF3E0;color:#E65100}.badge.r{background:#FFEBEE;color:#C62828}.badge.b{background:#E3F2FD;color:#1565C0}.badge.w{background:#F5F5F5;color:#757575} .fr{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap;align-items:center} @@ -76,8 +73,6 @@ th:nth-child(6){width:105px;text-align:center} .file-item .fn{font-size:12px;flex:1;min-width:80px}.file-item .fs{font-size:10px;color:#64748B}.file-item a{font-size:11px;color:#00B4D8;cursor:pointer;text-decoration:underline} .stor-bar{font-size:11px;color:#64748B;padding:4px 0} @media(max-width:768px){#sidebar{width:56px}#sidebar .logo span,#sidebar a span,#sidebar .user{display:none}#main{margin-left:56px}.stat-grid{grid-template-columns:repeat(2,1fr)}} - -#ev_content.card{max-height:70vh;overflow-y:auto} #toast{position:fixed;top:20px;right:20px;z-index:9999;background:#2E7D32;color:#fff;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:600;box-shadow:0 4px 12px rgba(0,0,0,0.2);display:none;transition:opacity 0.3s}