diff --git a/frontend/src/style.css b/frontend/src/style.css index 942b074..017ff5f 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -340,10 +340,25 @@ button:not(:disabled), [role="button"]:not([aria-disabled="true"]) { cursor: poi background: #fafafa; border-bottom: 1px solid rgb(24 24 27 / 0.07); } -.theme-text .card table thead :is(th, td) { font-weight: 700; letter-spacing: 0.04em; } +/* 表头统一:各页曾分别写 10px/11px、tracking 0.2em/0.04em——收拢到同一规格。 */ +.theme-text .card table thead :is(th, td) { + font-size: 11px; + font-weight: 700; + letter-spacing: 0.07em; + color: var(--fg-3); + padding-top: 11px; + padding-bottom: 11px; + white-space: nowrap; +} .theme-text .card table tbody tr { transition: background-color 0.12s ease; } .theme-text .card table tbody tr:hover { background-color: #f7f7f8; } .theme-text .card table tbody tr:last-child { border-bottom: 0; } +/* 多选表格的选中行高亮(行加 .row-on) */ +.theme-text .card table tbody tr.row-on { background-color: rgb(24 24 27 / 0.035); } +.theme-text .card table tbody tr.row-on:hover { background-color: #f0f0f2; } +/* 表体单元格基线:没显式设颜色的 td 统一次要色,数字/名称列各自覆盖 */ +.theme-text .card table tbody td { color: var(--fg-2); } +.theme-text .card table tbody tr.row-on td:first-child { box-shadow: inset 2px 0 0 #18181b; } .public-dark .hover\:bg-slate-50:hover { background: rgb(255 255 255 / 0.04); } .public-dark .hover\:bg-slate-100:hover { background: rgb(255 255 255 / 0.06); } diff --git a/frontend/src/views/BannedWordsView.vue b/frontend/src/views/BannedWordsView.vue index 5be09c7..c10fdf7 100644 --- a/frontend/src/views/BannedWordsView.vue +++ b/frontend/src/views/BannedWordsView.vue @@ -154,7 +154,7 @@ onMounted(load)