diff --git a/readme.md b/readme.md index 8a9d2ada..044344ea 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,7 @@ ![WLED logo](https://raw.githubusercontent.com/Aircoookie/WLED/master/wled_logo.png) [![](https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square)](https://github.com/Aircoookie/WLED/releases) +[![](https://img.shields.io/discourse/topics?colorB=blue&label=forum&server=https%3A%2F%2Fwled.discourse.group%2F&style=flat-square)](https://wled.discourse.group) [![](https://img.shields.io/discord/473448917040758787.svg?colorB=blue&label=discord&style=flat-square)](https://discord.gg/KuqP7NE) [![](https://img.shields.io/badge/quick_start-wiki-blue.svg?style=flat-square)](https://github.com/Aircoookie/WLED/wiki) [![](https://img.shields.io/badge/app-wled-blue.svg?style=flat-square)](https://github.com/Aircoookie/WLED-App) @@ -57,7 +58,8 @@ Credits [here](https://github.com/Aircoookie/WLED/wiki/Contributors-&-About)! Uses Linearicons by Perxis! Join the Discord [server](https://discord.gg/KuqP7NE) to discuss everything about WLED! -You can also send me mails to [dev.aircoookie@gmail.com](mailto:dev.aircoookie@gmail.com). +Check out the WLED [Discourse forum](https://wled.discourse.group)! +You can also send me mails to [dev.aircoookie@gmail.com](mailto:dev.aircoookie@gmail.com), but please only do so if you want to talk to me privately. If WLED really brightens up your every day, you can [![](https://img.shields.io/badge/send%20me%20a%20small%20gift-paypal-blue.svg?style=flat-square)](https://paypal.me/aircoookie) *Disclaimer:* diff --git a/wled00/data/index.htm b/wled00/data/index.htm index e7ea5e75..1cc88083 100644 --- a/wled00/data/index.htm +++ b/wled00/data/index.htm @@ -46,6 +46,12 @@ p { color: #ddd; } +td { + text-align: center; + text-transform: uppercase; + font-size: 14px; +} + button { outline: none; cursor: pointer; @@ -86,6 +92,15 @@ button { margin: -2px 0 4px 0; } +table { + table-layout: fixed; + width: 76%; +} + +td { + text-align: center; +} + .slider-icon { transform: translateY(2px); @@ -370,7 +385,7 @@ input[type=range]::-ms-thumb { background-color: #333; color: white; border: 0px solid white; - border-radius: 5px; + border-radius: 25px; filter: drop-shadow(0px 0px 2px #000); transition-duration: 0.5s; -webkit-backface-visibility: hidden; @@ -387,13 +402,32 @@ input[type=range]::-ms-thumb { vertical-align: middle; } +.qcs-w { + margin-top: 10px; +} +.qcs { + padding: 14px; + margin: 2px; + border-radius: 14px; + display: inline-block; +} +.qcsb { + padding: 13px; + border: 1px solid white; +} + +.cl { + width: 42px; +} + select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background: url("data:image/svg+xml;utf8,") no-repeat; background-size: 12px; - background-position: 210px 16px; + background-position: 206px 16px; + padding-left: 12px !important; background-repeat: no-repeat; outline: none; } @@ -432,21 +466,21 @@ input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; } -.botpad { - margin-bottom: 16px !important; +.segn { + margin: 3px 0 6px 0 !important; } .ic { padding: 6px 0 0 0; } -.xs { - width: 60px; +.xxs { + width: 40px; + margin: 6px; } -.xxs { - width: 42px; - margin: 8px; +.rect { + border-radius: 5px; } .psts { @@ -470,11 +504,19 @@ input[type=number]::-webkit-outer-spin-button { } .cnf { - position: absolute; - top: 75px; - right: 60px; - color: #fff; - cursor: pointer; + position: absolute; + top: 66px; + right: 28px; + color: #fff; + cursor: pointer; + background: #333; + padding: 43px 6px; + border-radius: 5px; +} + +.half { + padding: 6px 6px; + top: 64px; } .del { @@ -572,8 +614,12 @@ input[type=number]::-webkit-outer-spin-button { .h { font-size: 13px; + text-align: center; color: #bbb; - text-align: left; +} + +.bp { + margin-bottom: 5px; } .seg { @@ -652,6 +698,19 @@ input[type=number]::-webkit-outer-spin-button {
+
+
+
+
+
+
+

+
+
+
+
+
R
+
@@ -734,8 +793,8 @@ input[type=number]::-webkit-outer-spin-button {
First preset:
Last preset:
- Time per preset: s
- Transition: s + Time per preset: s
+ Transition: s
@@ -864,9 +923,27 @@ function populateSegments(s)
- Start LED:
- Stop LED: - (${inst.stop - inst.start} LED${inst.stop - inst.start > 1 ? "s":""})
+ + + + + + + + + +
Start LEDStop LED
+ + + + + + + + + +
GroupingSpacing
+
${inst.stop - inst.start} LED${inst.stop - inst.start > 1 ? "s":""} (${Math.ceil((inst.stop - inst.start)/(inst.grp + inst.spc))} virtual)
- Start LED:
- Stop LED: - (${ledCount - ns} LEDs)
- + + + + + + + + + +
Start LEDStop LED
+
${ledCount - ns} LEDs
+
`; d.getElementById('segutil').innerHTML = cn; } function resetUtil() { - var cn = `
`; + var cn = `
`; d.getElementById('segutil').innerHTML = cn; } @@ -1130,6 +1225,13 @@ function setSeg(s){ var stop = parseInt(d.getElementById(`seg${s}e`).value); if (stop <= start) {delSeg(s); return;}; var obj = {"seg": {"id": s, "start": start, "stop": stop}}; + if (d.getElementById(`seg${s}grp`)) + { + var grp = parseInt(d.getElementById(`seg${s}grp`).value); + var spc = parseInt(d.getElementById(`seg${s}spc`).value); + obj.seg.grp = grp; + obj.seg.spc = spc; + } requestJson(obj); } @@ -1225,9 +1327,9 @@ function selectSlot(b) { cd[i].style.margin="5px"; cd[i].style.width="42px"; } - cd[csel].style.border="6px solid white"; + cd[csel].style.border="5px solid white"; cd[csel].style.margin="2px"; - cd[csel].style.width="54px"; + cd[csel].style.width="50px"; if (cpick.color.rgbString !== cd[csel].style.backgroundColor) { cpick.color.set(cd[csel].style.backgroundColor); }