diff options
| author | Priyansh <[email protected]> | 2021-12-17 04:00:17 -0500 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2021-12-17 04:00:17 -0500 |
| commit | 04beed78e479b11dac21c939a9abcfab05e2595a (patch) | |
| tree | bca9e78035dbbc0e285ad4546ff02500e9965ed2 /static/css | |
| parent | b1beb8f94907e388071ba2912c922f240338401e (diff) | |
| download | temp_pred_arima-04beed78e479b11dac21c939a9abcfab05e2595a.tar.xz temp_pred_arima-04beed78e479b11dac21c939a9abcfab05e2595a.zip | |
Added timeline slider, map gradient and search for only 7 days from now
Diffstat (limited to 'static/css')
| -rw-r--r-- | static/css/style.css | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css index 79584dd..db964d1 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,3 +1,110 @@ #map { height: 100%; } + +.range { + position: relative; + width: 550px; + height: 5px; +} + +.range input { + width: 100%; + position: absolute; + top: 2px; + height: 0; + -webkit-appearance: none; +} +.range input::-webkit-slider-thumb { + -webkit-appearance: none; + width: 18px; + height: 18px; + margin: -8px 0 0; + border-radius: 50%; + background: #37adbf; + cursor: pointer; + border: 0 !important; +} +.range input::-moz-range-thumb { + width: 18px; + height: 18px; + margin: -8px 0 0; + border-radius: 50%; + background: #37adbf; + cursor: pointer; + border: 0 !important; +} +.range input::-ms-thumb { + width: 18px; + height: 18px; + margin: -8px 0 0; + border-radius: 50%; + background: #37adbf; + cursor: pointer; + border: 0 !important; +} +.range input::-webkit-slider-runnable-track { + width: 100%; + height: 2px; + cursor: pointer; + background: #b2b2b2; +} +.range input::-moz-range-track { + width: 100%; + height: 2px; + cursor: pointer; + background: #b2b2b2; +} +.range input::-ms-track { + width: 100%; + height: 2px; + cursor: pointer; + background: #b2b2b2; +} +.range input:focus { + background: none; + outline: none; +} +.range input::-ms-track { + width: 100%; + cursor: pointer; + background: transparent; + border-color: transparent; + color: transparent; +} + +.range-labels { + margin: 18px -41px 0; + padding: 0; + list-style: none; +} +.range-labels li { + position: relative; + float: left; + width: 90.25px; + text-align: center; + color: #b2b2b2; + font-size: 14px; + cursor: pointer; +} +.range-labels li::before { + position: absolute; + top: -25px; + right: 0; + left: 0; + content: ""; + margin: 0 auto; + width: 9px; + height: 9px; + background: #b2b2b2; + border-radius: 50%; +} +.range-labels .active { + color: #37adbf; +} +.range-labels .selected::before { + background: #37adbf; +} +.range-labels .active.selected::before { + display: none; +} |
