style(web): remove rounded corners and localize card titles

This commit is contained in:
caoqianming 2026-03-16 10:25:32 +08:00
parent f33c96a4e5
commit dd110919dd
2 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@
<main class="grid">
<section class="panel top-left">
<div class="panel-head">
<h2>Sources</h2>
<h2>数据源</h2>
<button id="openSourceForm">+ 新增</button>
</div>
<div class="list" id="sourceList"></div>
@ -23,7 +23,7 @@
<section class="panel top-right">
<div class="panel-head">
<h2>Points</h2>
<h2>点位</h2>
<div class="pager">
<button class="secondary" id="prevPoints" title="上一页">&lsaquo;</button>
<span id="pointsPageInfo">1 / 1</span>

View File

@ -14,7 +14,7 @@
--warning: #d97706;
--border: #e2e8f0;
--border-light: #f1f5f9;
--radius: 6px;
--radius: 0;
--topbar-h: 42px;
}
@ -200,7 +200,7 @@ button.danger:hover { background: var(--danger-hover); }
font-size: 10px;
font-weight: 600;
padding: 1px 6px;
border-radius: 3px;
border-radius: 0;
text-transform: uppercase;
letter-spacing: 0.3px;
background: rgba(37, 99, 235, 0.1);
@ -424,7 +424,7 @@ button.danger:hover { background: var(--danger-hover); }
white-space: pre-wrap;
word-break: break-word;
padding: 0 4px;
border-radius: 2px;
border-radius: 0;
}
.log-line:hover { background: rgba(255, 255, 255, 0.04); }
@ -464,7 +464,7 @@ button.danger:hover { background: var(--danger-hover); }
max-height: 85vh;
overflow: hidden;
background: var(--surface);
border-radius: 10px;
border-radius: 0;
border: 1px solid var(--border);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
display: flex;
@ -509,7 +509,7 @@ button.danger:hover { background: var(--danger-hover); }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
/* ── Responsive ───────────────────────────────────── */