Commit 7a983cf1 authored by Michał Woźniak's avatar Michał Woźniak
Browse files

a bit of UI fixes

parent 40eb84b5
......@@ -352,6 +352,49 @@
margin:0em;
padding:0.5em;
}
.chart-config-group .cases-cases,
.chart-config-group .cases-recoveries,
.chart-config-group .cases-deaths,
.chart-config-group .cases-chart {
display:none;
}
.chart-config-container input#chart-data-confirmed:checked ~ .chart-config-group .cases-cases,
.chart-config-container input#chart-data-recovered:checked ~ .chart-config-group .cases-recoveries,
.chart-config-container input#chart-data-deaths:checked ~ .chart-config-group .cases-deaths,
.chart-config-container input#chart-data-active:checked ~ .chart-config-group .cases-cases,
.chart-config-container input#chart-data-cfr:checked ~ .chart-config-group .cases-chart {
display:inline;
}
.chart-config-group .values-cumulative,
.chart-config-group .values-count,
.chart-config-group .values-value {
display:none;
}
.chart-config-container input#chart-data-confirmed:checked ~ .chart-config-group .values-cumulative,
.chart-config-container input#chart-data-recovered:checked ~ .chart-config-group .values-cumulative,
.chart-config-container input#chart-data-deaths:checked ~ .chart-config-group .values-cumulative,
.chart-config-container input#chart-data-active:checked ~ .chart-config-group .values-count,
.chart-config-container input#chart-data-cfr:checked ~ .chart-config-group .values-value {
display:inline;
}
.chart-config-container input#chart-data-confirmed:checked ~ .chart-config-group .delta-new,
.chart-config-container input#chart-data-recovered:checked ~ .chart-config-group .delta-new,
.chart-config-container input#chart-data-deaths:checked ~ .chart-config-group .delta-new,
.chart-config-container input#chart-data-active:checked ~ .chart-config-group .delta-change,
.chart-config-container input#chart-data-cfr:checked ~ .chart-config-group .delta-change {
display:inline;
}
.chart-config-group .delta-new,
.chart-config-group .delta-change {
display:none;
}
.chart-config-container input#chart-data-confirmed:checked ~ .chart-config-group .delta-new,
.chart-config-container input#chart-data-recovered:checked ~ .chart-config-group .delta-new,
.chart-config-container input#chart-data-deaths:checked ~ .chart-config-group .delta-new,
.chart-config-container input#chart-data-active:checked ~ .chart-config-group .delta-change,
.chart-config-container input#chart-data-cfr:checked ~ .chart-config-group .delta-change {
display:inline;
}
.chart-config-group .per-million,
.chart-config-group .data-confirmed,
.chart-config-group .data-recovered,
......@@ -465,9 +508,9 @@
</div>
<div class="break"></div>
<div class="chart-config-group">
<p>Cases:</p>
<label for="chart-cases-cumulative">cumulative</label>
<label for="chart-cases-new">new</label>
<p><span class="cases-cases">Cases</span><span class="cases-recoveries">Recoveries</span><span class="cases-deaths">Deaths</span><span class="cases-chart">Chart</span>:</p>
<label for="chart-cases-cumulative"><span class="values-cumulative">cumulative</span><span class="values-count">count</span><span class="values-value">value</span></label>
<label for="chart-cases-new"><span class="delta-new">new</span><span class="delta-change">change</span></label>
</div>
<div class="chart-config-group chart-average">
<p>Average over:</p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment