From cdec6e4cc7212ec53db30698e0fd931d0f3edf7c Mon Sep 17 00:00:00 2001 From: james <28635265+JimMatthew@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:31:31 -0500 Subject: [PATCH] luci-theme-bootstrap: darkmode graphs This adds 2 more graphs to be dark in dark mode and makes the gridlines white Signed-off-by: james (cherry picked from commit 850345bfb90459a36b72ae45b0b7966ad1e7a6f6) --- .../htdocs/luci-static/bootstrap/cascade.css | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index 93d938b496..e48d184a12 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -2562,14 +2562,17 @@ div.cbi-value var.cbi-tooltip-container, max-width: none; } -[data-darkmode="true"] [data-page="admin-status-realtime-load"] #view > div[style] { +[data-darkmode="true"] [data-page="admin-status-realtime-load"] #view > div[style], +[data-darkmode="true"] [data-page="admin-status-realtime-bandwidth"] #view > div > div > div > div[style], +[data-darkmode="true"] [data-page="admin-status-realtime-connections"] #view > div[style], +[data-darkmode="true"] [data-page="admin-status-channel_analysis"] #view> div >div > div > div > div[style], +[data-darkmode="true"] [data-page="admin-status-realtime-wireless"] #view > div > div > div > div[style] { background-color: var(--background-color-high)!important; } -[data-darkmode="true"] [data-page="admin-status-realtime-bandwidth"] #view > div > div > div > div[style] { - background-color: var(--background-color-high)!important; -} - -[data-darkmode="true"] [data-page="admin-status-realtime-connections"] #view > div[style] { - background-color: var(--background-color-high)!important; +[data-darkmode="true"] [data-page="admin-status-realtime-load"] #view > div > svg > line[style], +[data-darkmode="true"] [data-page="admin-status-realtime-bandwidth"] #view > div > div > div > div > svg > line[style], +[data-darkmode="true"] [data-page="admin-status-realtime-connections"] #view > div > svg > line[style], +[data-darkmode="true"] [data-page="admin-status-realtime-wireless"] #view > div > svg > line[style] { + stroke: #fff!important; } -- 2.30.2