luci-theme-bootstrap: Realtime Graphs dark mode
authorjames <28635265+JimMatthew@users.noreply.github.com>
Tue, 12 Mar 2024 16:12:12 +0000 (11:12 -0500)
committerPaul Donald <itsascambutmailmeanyway@gmail.com>
Tue, 12 Mar 2024 19:24:06 +0000 (20:24 +0100)
This feature is to have the realtime graphs dark when using Bootstrap Dark Theme

Signed-off-by: james <jameslindstrom2@gmail.com>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index e4a669a43f61e863c9e1eb4b6113d134c3be7731..37063627bc0e7f1fd8392aba95405f4cfc397a93 100644 (file)
@@ -2565,3 +2565,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;
+}