# HG changeset patch # User drewp@bigasterisk.com # Date 2017-06-05 04:37:23 # Node ID 60b519af3d124855469a2f6aa51108736a29b6ca # Parent cb396a0ff04b182f428c840b874ced9b43b0f05c rainbow picker working Ignore-this: e25735a6e3893e641a2d210cb5bdc6f1 diff --git a/light9/web/live/index.html b/light9/web/live/index.html --- a/light9/web/live/index.html +++ b/light9/web/live/index.html @@ -25,15 +25,18 @@ :host { position: relative; } - #smallRainbow, #largeRainbow { overflow: hidden; position: relative; } + #smallRainbowComp, #largeRainbowComp { + overflow: hidden; + position: relative; + } #smallRainbow { background: url(/colorpick_rainbow_small.png); - width: 150px; + width: 150px; height: 30px; } #largeRainbow { background: url(/colorpick_rainbow_large.png); - width: 400px; + width: 400px; height: 200px; } #smallCrosshair, #largeCrosshair { @@ -41,56 +44,171 @@ left: -60px; top: -62px; pointer-events: none; - } + } #smallCrosshair { background: url(/colorpick_crosshair_small.png); width: 200px; height: 166px; - } #largeCrosshair { background: url(/colorpick_crosshair_large.png); width: 492px; height: 409px; - } - #largeRainbowComp { display: none; position: absolute; - z-index: 10; - left: -50px; + #largeRainbowComp { + display: none; + position: absolute; + z-index: 10; + left: -50px; top: -110px; } -