X-Git-Url: https://git.r.bdr.sh/rbdr/lissajous/blobdiff_plain/3a88e11079e5e331a10ed35ffdd67d8f3a790d23..2b9badac1345c865c34097bc5d1699329b53fdc8:/style.css?ds=sidebyside diff --git a/style.css b/style.css index 6871f4c..2cda519 100644 --- a/style.css +++ b/style.css @@ -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'); +}