Add border-radius to chart bars
This commit is contained in:
parent
73ce1a298e
commit
5337f62621
1 changed files with 4 additions and 1 deletions
|
@ -30,11 +30,14 @@
|
||||||
.chart .bar.tot {
|
.chart .bar.tot {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
border-top: .5rem solid black;
|
height: .5rem;
|
||||||
|
background: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart .left .bar.tot {right: 0}
|
.chart .left .bar.tot {right: 0}
|
||||||
.chart .right .bar.tot {left: 0}
|
.chart .right .bar.tot {left: 0}
|
||||||
|
.chart .left .bar {border-radius: 2px 0 0 2px}
|
||||||
|
.chart .right .bar {border-radius: 0 2px 2px 0}
|
||||||
|
|
||||||
.chart .bar_m {background: var(--red)}
|
.chart .bar_m {background: var(--red)}
|
||||||
.chart .bar_p {background: var(--green)}
|
.chart .bar_p {background: var(--green)}
|
||||||
|
|
Loading…
Reference in a new issue