diff options
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -122,6 +122,11 @@ input[type="range"]:focus::-webkit-slider-thumb { display: inline-block; } +.slider::before { + position: relative; + left: 16px; +} + .slider { margin: 4px 0; position: relative; @@ -129,11 +134,10 @@ input[type="range"]:focus::-webkit-slider-thumb { label { display: inline-block; + width: 16px; position: relative; - width: 0; - height: 16px; - right: 32px; - top: -5px; + left: -16px; + top: -2px; } .slider.lineLength::before { @@ -191,3 +195,11 @@ label { .slider.amplitude::after { mask-image: url('/images/ha.svg'); } + +.slider.phase::before { + mask-image: url('/images/unphased.svg'); +} + +.slider.phase::after { + mask-image: url('/images/phased.svg'); +} |