mirror of
https://github.com/s00500/ESPUI.git
synced 2025-06-12 09:20:39 +00:00
Graph Frontend work
- Adds graph js file - Adds graph styles
This commit is contained in:
@ -1014,3 +1014,47 @@ input::-moz-focus-inner,
|
||||
input::-moz-focus-outer {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* Styles for Graph widget */
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.y-axis path,
|
||||
.x-axis path {
|
||||
stroke: gray;
|
||||
stroke-width: 1;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.series {
|
||||
stroke: steelblue;
|
||||
stroke-width: 3;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.data-points circle {
|
||||
stroke: steelblue;
|
||||
stroke-width: 2;
|
||||
fill: white;
|
||||
}
|
||||
|
||||
.data-points text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.data-points circle:hover {
|
||||
fill: steelblue;
|
||||
stroke-width: 6;
|
||||
}
|
||||
|
||||
.data-points circle:hover + text {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
text {
|
||||
text-anchor: end;
|
||||
}
|
||||
|
2
data/css/style.min.css
vendored
2
data/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user