Add border-radius to chart bars

This commit is contained in:
Edgar P. Burkhart 2022-05-24 17:13:50 +02:00
parent 73ce1a298e
commit 5337f62621
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
1 changed files with 4 additions and 1 deletions

View File

@ -30,11 +30,14 @@
.chart .bar.tot {
position: absolute;
z-index: 10;
border-top: .5rem solid black;
height: .5rem;
background: black;
}
.chart .left .bar.tot {right: 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_p {background: var(--green)}