修改样式

This commit is contained in:
CN-JS-HuiBai
2026-04-04 20:49:37 +08:00
parent 831d1d93c4
commit f67123a41f
2 changed files with 8 additions and 1 deletions

View File

@@ -389,6 +389,7 @@ input:checked + .slider:before {
font-weight: 600; font-weight: 600;
color: var(--accent-indigo); color: var(--accent-indigo);
opacity: 0.9; opacity: 0.9;
margin-top: 3px;
} }
:root.light-theme .title-time { :root.light-theme .title-time {
@@ -547,6 +548,12 @@ input:checked + .slider:before {
padding: 18px 22px 0; padding: 18px 22px 0;
} }
.chart-header-left {
display: flex;
align-items: center;
gap: 16px;
}
.chart-title { .chart-title {
display: flex; display: flex;
align-items: center; align-items: center;

View File

@@ -173,7 +173,7 @@
<!-- Network Traffic 24h Chart --> <!-- Network Traffic 24h Chart -->
<div class="chart-card chart-card-wide" id="networkChart"> <div class="chart-card chart-card-wide" id="networkChart">
<div class="chart-card-header"> <div class="chart-card-header">
<div style="display: flex; align-items: center; gap: 16px;"> <div class="chart-header-left">
<h2 class="chart-title"> <h2 class="chart-title">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" class="chart-title-icon"> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" class="chart-title-icon">
<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/> <polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/>