luci-theme-bootstrap: darkmode graphs
authorjames <28635265+JimMatthew@users.noreply.github.com>
Thu, 14 Mar 2024 18:31:31 +0000 (13:31 -0500)
committerPaul Donald <itsascambutmailmeanyway@gmail.com>
Thu, 14 Mar 2024 23:45:41 +0000 (00:45 +0100)
This adds 2 more graphs to be dark in dark mode and makes the gridlines white
Signed-off-by: james <jameslindstrom2@gmail.com>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 91e6c914ccbfb0a06ed8c186ceb1e7e8438cc342..af0a33e6c031f2a954126d9c9fc3b7de81cc4e7f 100644 (file)
@@ -2567,14 +2567,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;
 }