hidden item background colour
This commit is contained in:
parent
78492e20a7
commit
2c4439e972
@ -14,7 +14,7 @@ function render_graphs(items, history, show_hidden) {
|
||||
.enter()
|
||||
.filter(key => items[key].show || show_hidden)
|
||||
.append("div")
|
||||
.attr("class", "graph-container");
|
||||
.attr("class", key => items[key].show ? "graph-container" : "graph-container-hidden");
|
||||
|
||||
// Append SVG elements to each div
|
||||
const svgs = graphDivs.append("svg")
|
||||
|
@ -28,6 +28,10 @@ body {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.graph-container-hidden {
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.banner {
|
||||
background-color: #177013; /* background color */
|
||||
color: #fff; /* text color */
|
||||
|
Loading…
x
Reference in New Issue
Block a user