🗽 Sync 2026-11-11 15:31:38

This commit is contained in:
github-actions[bot] committed 2026-11-11 15:31:38 +08:00
1 parent da9e4bea36
commit 2e3c0a9b33
189 files changed
+29797 -10433

No files matched your search

@@ -22,6 +22,7 @@
--dashboard-series-7: #b0367c;
--dashboard-series-8: #9c9a1c;
--dashboard-gap: 16px;
--dashboard-extra-lightness: 42%;
display: grid;
/* minmax(0, …): a wide tab menu must scroll, not widen every row. */
@@ -31,6 +32,7 @@
}
[data-darkmode="true"] .Dashboard {
--dashboard-extra-lightness: 65%;
--dashboard-surface-alt: var(--background-color-medium, #262b34);
--dashboard-text: var(--text-color-high, #e6e8eb);
--dashboard-text-muted: var(--text-color-high, #9aa3ad);
@@ -44,6 +46,7 @@
@media (prefers-color-scheme: dark) {
:root:not([data-darkmode="false"]) .Dashboard {
--dashboard-extra-lightness: 65%;
--dashboard-surface-alt: var(--background-color-medium, #262b34);
--dashboard-text: var(--text-color-high, #e6e8eb);
--dashboard-text-muted: var(--text-color-high, #9aa3ad);
@@ -57,6 +60,70 @@
}
/* ---- Layout ---- */
.dashboard-settings .dashboard-widget-list {
display: flex;
flex-direction: column;
width: 100%;
max-width: none;
}
.dashboard-settings .dashboard-widget-list > .item,
.dashboard-settings .dashboard-widget-list > .add-item,
.dashboard-settings .dashboard-widget-list > .add-item > .cbi-dropdown {
box-sizing: border-box;
width: 100%;
max-width: none;
}
.dashboard-widget-list.dashboard-sorting > .item * {
pointer-events: none;
}
.dashboard-settings .dashboard-configurable::after {
bottom: auto;
height: 28px;
}
.dashboard-widget-settings > summary {
cursor: pointer;
padding: 2px 0;
}
.dashboard-widget-options {
margin: 12px 0 6px 12px;
padding-left: 12px;
cursor: default;
word-break: normal;
overflow-wrap: anywhere;
}
.dashboard-widget-options .cbi-value-title {
display: none;
}
.dashboard-widget-options .cbi-value-field {
margin-left: 0;
min-width: 0;
}
.dashboard-widget-options .cbi-value {
padding: 0;
}
.dashboard-sensor-choice {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 0 3px 6px;
}
.dashboard-sensor-choice > i {
display: inline-block;
width: 9px;
height: 9px;
border-radius: 2px;
}
/* Every row fills the width: an item's basis is its row's share, set from
--dashboard-per-row, and flex-grow takes up the rest. On narrow screens
the min-width wraps the items, which still fill their rows. */
@@ -82,6 +149,28 @@
min-width: 250px;
}
/* All charts share one compact header; keep the plotting area aligned even
when a source has no metadata. Card surfaces and heading fonts stay themed. */
.Dashboard .dashboard-chart > h3 {
margin: 0 0 4px;
padding: 0;
border: 0;
line-height: 1.4;
}
.Dashboard .dashboard-chart > .cbi-section-descr {
min-height: 1.4em;
margin: 0 0 16px;
padding: 0;
font-size: 12px;
line-height: 1.4;
color: var(--dashboard-text-muted);
}
.dashboard-chart > em:empty {
display: none;
}
/* ---- Icon (mask keeps the SVG files, colour follows the theme) ---- */
.dashboard-icon {
display: inline-block;
@@ -145,6 +234,11 @@
white-space: nowrap;
}
/* Keep every component reading visible when a temperature card narrows. */
.dashboard-temperature .dashboard-kpi-line {
white-space: normal;
}
/* ---- Donut ---- */
/* Shorter than the bar charts it shares a row with, so centre it. */
.dashboard-donut {
@@ -252,6 +346,8 @@
display: inline-flex;
align-items: center;
gap: 6px;
min-width: 0;
overflow-wrap: anywhere;
}
.dashboard-legend-inline i {
@@ -420,11 +516,7 @@
.dashboard-legend-inline b {
color: var(--dashboard-text);
}
/* ---- WAN traffic: one counter source per plot ---- */
.dashboard-traffic-source {
min-width: 0;
white-space: nowrap;
}
/* ---- Wireless network boxes (LuCI .ifacebox) ---- */