style(web): remove rounded corners and localize card titles
This commit is contained in:
parent
f33c96a4e5
commit
dd110919dd
|
|
@ -15,7 +15,7 @@
|
||||||
<main class="grid">
|
<main class="grid">
|
||||||
<section class="panel top-left">
|
<section class="panel top-left">
|
||||||
<div class="panel-head">
|
<div class="panel-head">
|
||||||
<h2>Sources</h2>
|
<h2>数据源</h2>
|
||||||
<button id="openSourceForm">+ 新增</button>
|
<button id="openSourceForm">+ 新增</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="list" id="sourceList"></div>
|
<div class="list" id="sourceList"></div>
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<section class="panel top-right">
|
<section class="panel top-right">
|
||||||
<div class="panel-head">
|
<div class="panel-head">
|
||||||
<h2>Points</h2>
|
<h2>点位</h2>
|
||||||
<div class="pager">
|
<div class="pager">
|
||||||
<button class="secondary" id="prevPoints" title="上一页">‹</button>
|
<button class="secondary" id="prevPoints" title="上一页">‹</button>
|
||||||
<span id="pointsPageInfo">1 / 1</span>
|
<span id="pointsPageInfo">1 / 1</span>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
--warning: #d97706;
|
--warning: #d97706;
|
||||||
--border: #e2e8f0;
|
--border: #e2e8f0;
|
||||||
--border-light: #f1f5f9;
|
--border-light: #f1f5f9;
|
||||||
--radius: 6px;
|
--radius: 0;
|
||||||
--topbar-h: 42px;
|
--topbar-h: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -200,7 +200,7 @@ button.danger:hover { background: var(--danger-hover); }
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
border-radius: 3px;
|
border-radius: 0;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.3px;
|
letter-spacing: 0.3px;
|
||||||
background: rgba(37, 99, 235, 0.1);
|
background: rgba(37, 99, 235, 0.1);
|
||||||
|
|
@ -424,7 +424,7 @@ button.danger:hover { background: var(--danger-hover); }
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
border-radius: 2px;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.log-line:hover { background: rgba(255, 255, 255, 0.04); }
|
.log-line:hover { background: rgba(255, 255, 255, 0.04); }
|
||||||
|
|
@ -464,7 +464,7 @@ button.danger:hover { background: var(--danger-hover); }
|
||||||
max-height: 85vh;
|
max-height: 85vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
border-radius: 10px;
|
border-radius: 0;
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border);
|
||||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -509,7 +509,7 @@ button.danger:hover { background: var(--danger-hover); }
|
||||||
|
|
||||||
::-webkit-scrollbar { width: 5px; height: 5px; }
|
::-webkit-scrollbar { width: 5px; height: 5px; }
|
||||||
::-webkit-scrollbar-track { background: transparent; }
|
::-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); }
|
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
|
||||||
|
|
||||||
/* ── Responsive ───────────────────────────────────── */
|
/* ── Responsive ───────────────────────────────────── */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue