From c5252e06a740a9216f754e957cf8ed9482a1535d Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Tue, 22 Feb 2022 22:10:26 +0100 Subject: [PATCH] Main segment UI identification. --- wled00/data/index.css | 9 +- wled00/data/index.js | 6 +- wled00/html_ui.h | 3254 ++++++++++++++++++++--------------------- wled00/json.cpp | 2 +- wled00/wled.h | 2 +- 5 files changed, 1635 insertions(+), 1638 deletions(-) diff --git a/wled00/data/index.css b/wled00/data/index.css index 8150e382..458184ba 100644 --- a/wled00/data/index.css +++ b/wled00/data/index.css @@ -955,14 +955,15 @@ input[type=number]::-webkit-outer-spin-button { border-radius: 10px; } +.radio:hover input ~ .radiomark, .check:hover input ~ .checkmark { background-color: var(--c-4); } - +/* .check input:checked ~ .checkmark { background-color: var(--c-6); } - +*/ .checkmark:after, .radiomark:after { content: ""; position: absolute; @@ -1062,11 +1063,11 @@ input[type=number]::-webkit-outer-spin-button { } .selected { /* has to be after .lstI */ - background: var(--c-5); + background: var(--c-4); } .lstI:hover, #pcont .selected:hover { - background: var(--c-4); + background: var(--c-5); } #pcont .expand, #pcont .expand:hover { diff --git a/wled00/data/index.js b/wled00/data/index.js index 5e1438c9..6bbca8ca 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -560,10 +560,6 @@ function populatePresets(fromls) localStorage.setItem("wledP", JSON.stringify(pJson)); } pmtLS = pmt; - //for (var a = 0; a < is.length; a++) { - // let i = is[a]; - // if (expanded[i+100]) expand(i+100); - //} } else { presetError(true); } updatePA(); populateQL(); @@ -639,7 +635,7 @@ function populateSegments(s) if (i == lowestUnused) lowestUnused = i+1; if (i > lSeg) lSeg = i; - cn += `
+ cn += `