2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

jscolor: added hue background image for hue slider

use with css: #slider\.<device>-<reading> { background: url(../jscolor/hue_background.svg); }


git-svn-id: https://svn.fhem.de/fhem/trunk@7378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-12-31 13:11:33 +00:00
parent 57c8383789
commit f18a973b8a

View File

@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" width="250" height="20">
<linearGradient id="l" x1="0" x2="250" gradientUnits="userSpaceOnUse">
<stop style="stop-color:red" offset="0"/>
<stop style="stop-color:yellow" offset="0.18512578"/>
<stop style="stop-color:lime" offset="0.34256288"/>
<stop style="stop-color:aqua" offset="0.5"/>
<stop style="stop-color:blue" offset="0.65429997"/>
<stop style="stop-color:fuchsia" offset="0.8119877"/>
<stop style="stop-color:red" offset="1"/>
</linearGradient>
<rect style="fill:url(#l)" height="20" width="250"/>
</svg>

After

Width:  |  Height:  |  Size: 590 B