From ca5116778a038ef78ee0143a28979de0e007fc7d Mon Sep 17 00:00:00 2001 From: james <28635265+JimMatthew@users.noreply.github.com> Date: Tue, 12 Mar 2024 11:12:12 -0500 Subject: [PATCH] luci-theme-bootstrap: Realtime Graphs dark mode This feature is to have the realtime graphs dark when using Bootstrap Dark Theme Signed-off-by: james (cherry picked from commit 056407754d00e05a432f38b51c6ad103a1a12a6d) --- .../htdocs/luci-static/bootstrap/cascade.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 46cf475529..93d938b496 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -2561,3 +2561,15 @@ div.cbi-value var.cbi-tooltip-container, [data-page="admin-system-admin-sshkeys"] .cbi-dynlist { max-width: none; } + +[data-darkmode="true"] [data-page="admin-status-realtime-load"] #view > 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; +} -- 2.30.2