diff --git a/wled00/data/index.css b/wled00/data/index.css index 7faaeb47e..058dc6c26 100644 --- a/wled00/data/index.css +++ b/wled00/data/index.css @@ -413,6 +413,7 @@ button { position: sticky; bottom: 0; max-width: 300px; + z-index: 2; } #sliders .labels { diff --git a/wled00/data/index.js b/wled00/data/index.js index 10ebfaa41..1efd5332e 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -12,6 +12,7 @@ var currentPreset = -1; var lastUpdate = 0; var segCount = 0, ledCount = 0, lowestUnused = 0, maxSeg = 0, lSeg = 0; var pcMode = false, pcModeA = false, lastw = 0, wW; +var simpleUI = false; var tr = 7; var d = document; var palettesData; @@ -2902,7 +2903,7 @@ function hasIroClass(classList) //required by rangetouch.js function lock(e) { - if (pcMode) return; + if (pcMode || simpleUI) return; var l = e.target.classList; var pl = e.target.parentElement.classList; @@ -2916,7 +2917,7 @@ function lock(e) //required by rangetouch.js function move(e) { - if(!locked || pcMode) return; + if(!locked || pcMode || simpleUI) return; var clientX = unify(e).clientX; var dx = clientX - x0; var s = Math.sign(dx); diff --git a/wled00/data/simple.css b/wled00/data/simple.css deleted file mode 100644 index b685a97f9..000000000 --- a/wled00/data/simple.css +++ /dev/null @@ -1,933 +0,0 @@ -@font-face { - font-family: "WIcons"; - src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAAnUAAsAAAAAE1AAAAmFAAGZmgAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgXwRCAqcYJZIATYCJANwCzoABCAFgwYHIBs7D8iOwzgm3MXMnzZCktnjcbN+QlJLaJ3ulULplpW6UqWioeS91Jye0jUlJwZr5nTdE3LntdPvAg+ft/fbsLsGlNLuhlmQjKi7NPDEIgwTmP//a6mdl+SHUBhEIdHFxak7s4E/yzhJSjC7BQQLfDwopF/i6aqSElEFDXx8ZVWjy3rym4N6FlZQ4hu+nXsGIDMQF3gAxa14AgArtVMhfkgjfEAbiChwuSIwEUCmudPhiQdT6rvIjLSRZEwDhF9BIsooI53TIRIoI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7u64mvVXLjyY8v8j5XhZeH3aPX75dpiO5eN/OzwcG7zkflt/sd5e7YcqbOowfRg22R5585at2vXX87W1Y0gQ079497eYT1EkyoEqMYABmHd8QvKGrRG6bJYTDCCZYGEWcm5G1jXM2i54Y9WtiBuklP57YtBZMAWlu2fYzDM7Q+5FmxKS3Oz5jwK6IactbWPowuQgNyHluKlaw9wnbOmtuajo/VSw9FrBSRwMcuUV2ZwFhh6s7hsqriWCsgA2s3nFcri4I7O+asxwxZbtLL03E9bhcR6Yz9mIbF0U96K0xGA7bx9y+l2//73j+H2i0EGd27uAVNI/WhCYuWqIDaYxads0lcVFV+dOlHmBx/qO7c6/uZX0tReUtJQv64y3adAvX6xDezAX/8Wm8Cgh/95O9OxsNCYnsXWQ+7pCz8/NMZ57ZAIGEdTw+ap8V+I3NUVe375wiv+lccqj172X7Yw5gJAUQGYPQ6QyxRfgeC+Qc5WnAMCAHFv6TJtet3pn/83b4YCAIBv35ofpTRyt5PjZEwT8KYAEQK8nFgBcE/yUwn2oqHSBKoEG7KZQLMpjo5uha/PI2yuBWOCTSDZajpqQ68+Za18jgGgYMT8nBhjKcFrKCYF6yKSZRLF5tR5YKhUzzNWM52mBvuPMiL7xPx4UaRgFiJZAVFscZ2HUIhUPcEaH5WWDvvmvdPfl5KaCvO8o1+fFCBb6hvuLz8lMROwfjPN8iar90RCCiRCJr3ugqHf6LqgUYYs5hzvu9tMIOUr/xpvRsNVvdZ/p+mB8n7V2Spo0T+aRhPpNhsNFOqxoE2u0suqTipgx58IJA0AAAA=) format('woff'); -} - -:root { - --c-1: #111; - --c-f: #fff; - --c-2: #222; - --c-3: #333; - --c-4: #444; - --c-5: #555; - --c-6: #666; - --c-8: #888; - --c-b: #bbb; - --c-c: #ccc; - --c-e: #eee; - --c-d: #ddd; - --c-r: #e42; - --c-g: #4e2; - --c-l: #48a; - --t-b: .5; - --c-o: rgba(34, 34, 34, .9); - --c-tb : rgba(34, 34, 34, var(--t-b)); - --c-tba: rgba(102, 102, 102, var(--t-b)); - --c-tbh: rgba(51, 51, 51, var(--t-b)); - /*following are internal*/ - --th: 70px; - --tp: 70px; - --bh: 63px; - --tbp: 14px 8px 10px; - --bbp: 9px 0 7px 0; - --bhd: none; - --bmt: 0; -} - -html { - touch-action: manipulation; -} - -body { - margin: 0; - background-color: var(--c-1); - font-family: Helvetica, Verdana, sans-serif; - font-size: 17px; - color: var(--c-f); - text-align: center; - -webkit-touch-callout: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: transparent; - scrollbar-width: 6px; - scrollbar-color: var(--c-sb) transparent; -} - -html, -body { - height: 100%; - width: 100%; - position: fixed; - overscroll-behavior: none; -} - -#bg { - height: 100vh; - width: 100vw; - position: fixed; - z-index: -10; - background-position: center; - background-repeat: no-repeat; - background-size: cover; - opacity: 0; - transition: opacity 2s; -} - -p { - margin: 10px 0 2px 0; -} -a, p, a:visited { - color: var(--c-d); -} -a, a:visited { - text-decoration: none; -} - -button { - outline: 0; - cursor: pointer; - background-color: transparent; - border: 0; - transition: color .3s, background-color .3s; - font-size: 19px; - color: var(--c-c); - min-width: 40px; - min-height: 40px; -} -button:hover { - background: var(--c-4); -} - -.label { - margin: 0; - padding: 6px 0 0; -} - -#namelabel { - position: fixed; - bottom: calc(var(--bh) + 6px); - right: 4px; - color: var(--c-6); - cursor: pointer; - writing-mode: vertical-rl; -} - -.wrapper { - position: fixed; - top: 0; - left: 0; - right: 0; - background: var(--c-tb); - z-index: 1; -} - -.center { - margin: 0 auto; - width: 320px; -} - -.icons { - font-family: 'WIcons'; - font-style: normal; - font-size: 24px; - line-height: 1; - display: inline-block; - margin: -2px 0 4px 0; - text-shadow: -1px -1px 0 var(--c-3), 1px -1px 0 var(--c-3), -1px 1px 0 var(--c-3), 1px 1px 0 var(--c-3); -} - -.huge { - font-size: 42px; -} - -.infot { - table-layout: fixed; - width: 100%; -} - -.keytd { - text-align: left; - padding-bottom: 8px; -} - -.valtd { - text-align: right; - padding-bottom: 8px; -} - -.valtd i { - font-size: small; -} - -.slider-icon -{ - transform: translate(4px,3px); - color: var(--c-d); -} - -.il { - display: inline-block; - vertical-align: middle; -} - -.tab { - background-color: transparent; - color: var(--c-d); -} - -.tab button { - background-color: transparent; - float: left; - border: 0; - transition: color .3s, background-color .3s; - font-size: 17px; - color: var(--c-c); - min-width: 44px; -} - -.top button { - padding: var(--tbp); - margin: 0; -} - -.tab button:hover { - background-color: var(--c-tbh); - color: var(--c-e); -} - -.tab button.active { - background-color: var(--c-tba) !important; - color: var(--c-f); -} - -.active { - background-color: var(--c-6) !important; - color: var(--c-f); -} - -.container { - width: 100%; - height: calc(100% - var(--tp) - var(--bh)); - margin-top: var(--tp); - overscroll-behavior: none; -} - -.tabcontent { - position: relative; - width: 100%; - box-sizing: border-box; - border: 0; - overflow: auto; - height: 100%; - overscroll-behavior: none; -} - -.smooth { transition: transform calc(var(--f, 1)*.5s) ease-out } - -.tab-label { - margin: 0 0 -5px 0; - padding-bottom: 4px; -} - -.overlay { - position: fixed; - height: 100%; - width: 100%; - top: 0; - left: 0; - background-color: var(--c-3); - font-size: 24px; - display: flex; - align-items: center; - justify-content: center; - z-index: 11; - opacity: .95; - transition: .7s; - pointer-events: none; -} - -#toast { - opacity: 0; - background-color: var(--c-5); - max-width: 90%; - color: var(--c-f); - text-align: center; - border-radius: 5px; - padding: 16px; - position: fixed; - z-index: 5; - left: 50%; - transform: translateX(-50%); - bottom: calc(var(--bh) + 22px); - font-size: 17px; - pointer-events: none; -} - -#toast.show { - opacity: 1; - animation: fadein .5s, fadein .5s 2.5s reverse; -} - -#toast.error { - opacity: 1; - background-color: #b21; - animation: fadein .5s; -} - -.modal { - position: fixed; - left: 0; - bottom: 0; - right: 0; - top: calc(var(--th) - 1px); - background-color: var(--c-o); - transform: translateY(100%); - transition: transform .4s; - padding: 8px; - font-size: 20px; - overflow: auto; -} - -#info, #nodes { - z-index: 3; -} - -#rover { - z-index: 2; -} - -#ndlt { - margin: 12px 0; -} - -#roverstar { - position: fixed; - top: calc(var(--th) + 5px); - left: 1px; - display: none; - cursor: pointer; -} - -#connind { - position: fixed; - bottom: calc(var(--bh) + 5px); - left: 4px; - padding: 5px; - border-radius: 5px; - background-color: #a90; - z-index: -2; -} - -#imgw { - display: inline-block; - margin: 8px; -} - -#kv, #kn { - /*max-width: 490px;*/ - display: inline-block; -} - -#info table, #nodes table { - table-layout: fixed; - width: 100%; -} - -#info td, #nodes td { - padding-bottom: 8px; -} - -#info .btn { - margin: 5px; -} -#info table .btn, #nodes table .btn { - margin: 0; - width: 180px; -} -#info div, #nodes div { - width: 490px; - margin: 0 auto; -} - -#kn td { - padding-bottom: 12px; -} - -#heart { - transition: color .9s; - font-size: 16px; - color: #f00; -} - -img { - max-width: 100%; - max-height: 100%; -} - -.wi { - image-rendering: pixelated; - image-rendering: crisp-edges; - width: 210px; -} - -@keyframes fadein { - from {bottom: 0; opacity: 0;} - to {bottom: calc(var(--bh) + 22px); opacity: 1;} -} - -.sliderwrap { - height: 30px; - width: 250px; - position: relative; - margin: 4px 0; -} -#Colors .sliderwrap { - width: 260px; - margin: 10px 0 0; -} - -.sliderdisplay { - content:''; - position: absolute; - top: 10px; left: 8px; right: 8px; - height: 8px; - background: var(--c-4); - border-radius: 16px; - pointer-events: none; - z-index: -1; -} -#Colors .sliderdisplay { - height: 28px; - top: 0; bottom: 0; - left: 0; right: 0; - /*border: 1px solid var(--c-b);*/ -} -#rwrap .sliderdisplay { background: linear-gradient(90deg, #000 0%, #f00); } -#gwrap .sliderdisplay { background: linear-gradient(90deg, #000 0%, #0f0); } -#bwrap .sliderdisplay { background: linear-gradient(90deg, #000 0%, #00f); } -#wwrap .sliderdisplay { background: linear-gradient(90deg, #000 0%, #fff); } -#kwrap .sliderdisplay { background: linear-gradient(90deg, #ff8f1f 0%, #fff 50%, #cbdbff); } -#wbal .sliderdisplay { background: linear-gradient(90deg, #ff8f1f 0%, #fff 50%, #d4e0ff); } - -.sliderbubble { - width: 24px; - position: relative; - display: inline-block; - border-radius: 10px; - background: var(--c-3); - color: var(--c-f); - padding: 4px 4px 2px; - font-size: 14px; - right: 3px; - transition: visibility .25s ease, opacity .25s ease; - opacity: 0; - visibility: hidden; -} - -output.sliderbubbleshow { - visibility: visible; - opacity: 1; -} - -.hidden { - display: none; -} - -input[type=range] { - -webkit-appearance: none; - width: 100%; - padding: 0; - margin: 0; - background-color: transparent; - cursor: pointer; -} -#Colors input[type=range] { - width: 252px; - margin: 0; -} -input[type=range]::-webkit-slider-runnable-track { - width: 100%; - height: 30px; - cursor: pointer; - background: transparent; -} -input[type=range]::-webkit-slider-thumb { - border: 2px solid #000; - height: 20px; - width: 20px; - border-radius: 50%; - background: var(--c-f); - cursor: pointer; - -webkit-appearance: none; - margin-top: 4px; -} -input[type=range]::-moz-range-track { - width: 100%; - height: 30px; - background-color: var(--c-0); -} -input[type=range]::-moz-range-thumb { - border: 2px solid var(--c-3); - height: 20px; - width: 20px; - border-radius: 50%; - background: var(--c-f); - transform: translateY(5px); -} -#Colors input[type=range]::-webkit-slider-thumb { - border: 2px solid #000; -} -#Colors input[type=range]::-moz-range-thumb { - border: 2px solid var(--c-1); -} - -#Presets .list { - max-height: 215px; - overflow-y: scroll; - overflow-x: hidden; - width: 280px; - margin: 0 0 0 20px; - -ms-overflow-style: none; - scrollbar-width: none; /* Firefox */ -} -/* Hide scrollbar for Chrome, Safari and Opera */ -#Presets .list::-webkit-scrollbar { - display: none; -} - -#Segments .sliderwrap{ - width: 225px; -} - -#picker, #rgbwrap, #kwrap, #vwrap, #wwrap, #wbal { - display: none; -} - -.hd { - display: var(--bhd); -} - -#briwrap { - float: right; - margin-top: var(--bmt); -} - -#picker { - width: 260px; -} - -#picker, #csl, #segcont { - margin: 10px auto 0; -} - -.btn { - margin: 10px auto 0; - width: 280px; - font-size: 19px; - background-color: var(--c-3); - color: var(--c-d); - cursor: pointer; - border: 1px solid var(--c-3); - border-radius: 25px; - transition-duration: .3s; - -webkit-backface-visibility: hidden; - -webkit-transform: translate3d(0,0,0); - overflow: clip; - text-overflow: clip; - min-height: 40px; - line-height: 40px; -} -.btn:hover { - background-color: var(--c-4); - border: 1px solid var(--c-4); -} - -.btn-xs { - width: 42px; - height: 42px; - margin: 4px; - padding: 0; -} - -#fxBtn, #palBtn { - background-color: var(--c-2); - border: 1px solid var(--c-2); -} -#fxBtn:hover, #palBtn:hover { - background-color: var(--c-3); - border: 1px solid var(--c-3); -} - -.btn-icon { - margin-right: 8px; - vertical-align: middle; - display: inline-block; -} - -.qcs { - margin: 2px; - border-radius: 14px; - display: inline-block; - width: 28px; - height: 28px; - line-height: 28px;} -.qcsb { - width: 26px; - height: 26px; - line-height: 26px; - border: 1px solid var(--c-f); -} -option { - background-color: var(--c-3); - color: var(--c-f); -} -input[type=number], input[type=text] { - background: var(--c-3); - color: var(--c-f); - border: 0 solid var(--c-f); - border-radius: 5px; - padding: 8px; - margin: 6px 6px 6px 0; - font-size: 19px; - transition: background-color .2s; - outline: 0; - width: 50px; - -webkit-appearance: textfield; - -moz-appearance: textfield; - appearance: textfield; -} - -::selection { - background: var(--c-b); -} - -input[type=number]:focus, input[type=text]:focus { - background: var(--c-6); -} - -input[type=number]::-webkit-inner-spin-button, -input[type=number]::-webkit-outer-spin-button { - -webkit-appearance: none; -} - -.pid { - position: absolute; - top: 0; - left: 0; - padding: 12px 0 0 12px; - font-size: 16px; - width: 20px; - text-align: center; - color: var(--c-b); -} - -.xxs { - border: 2px solid var(--c-e) !important; - width: 44px; - height: 44px; - margin: 5px; - padding: 0; -} - -.xxs-w { - border-width: 4px !important; - margin: 2px; - width: 50px; - height: 50px; - padding: 0; -} - -.qcs, .xxs { - text-shadow: -1px -1px 0 var(--c-6), 1px -1px 0 var(--c-6), -1px 1px 0 var(--c-6), 1px 1px 0 var(--c-6); -} - -.psts { - color: var(--c-f); - margin: 6px; -} - -.pwr { - color: var(--c-6); - cursor: pointer; -} - -.act { - color: var(--c-f); -} - -.check, .radio { - display: inline-block; - position: relative; - cursor: pointer; - text-align: center; -} - -.schkl { - width: 24px; - top: -2px; -} - -.check input, .radio input { - position: absolute; - opacity: 0; - cursor: pointer; - height: 0; - width: 0; -} - -.checkmark, .radiomark { - position: absolute; - top: 0; - bottom: 0; - left: 0; - background-color: var(--c-3); - border: 1px solid var(--c-2); -} - -.radiomark { - height: 24px; - width: 24px; - border-radius: 50%; -} - -.checkmark { - height: 25px; - width: 25px; - border-radius: 10px; -} - -.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; - display: none; -} - -.check input:checked ~ .checkmark:after, .radio input:checked ~ .radiomark:after { - display: block; -} - -.check .checkmark:after { - left: 9px; - top: 5px; - width: 5px; - height: 10px; - border: solid var(--c-f); - border-width: 0 3px 3px 0; - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); -} - -.radio .radiomark:after { - width: 12px; - height: 12px; - top: 50%; - left: 50%; - margin: -6px; - border-radius: 50%; - background: var(--c-f); -} - -.h { - font-size: 13px; - color: var(--c-b); -} - -.list { - position: relative; - width: 280px; - transition: background-color .5s; - margin: auto auto 20px; - font-size: 19px; - line-height: 24px; -} - -.lstI { - cursor: pointer; - background-color: var(--c-2); - overflow: hidden; - border-radius: 20px; - display: block; - position: relative; - border: 1px solid var(--c-2); - padding: 8px 10px; - margin: 10px 0; - min-height: 24px; -} - -.selected { /* has to be after .lstI */ - background: var(--c-5); -} - -.lstI:hover { - background: var(--c-4); -} -/* -.lstI:last-child { - border: 0; - border-radius: 0 0 20px 20px; - padding-bottom: 10px; -} -*/ -.lstIcontent { - width: 100%; - vertical-align: middle; - padding: 0 20px 0 5px; - text-align: left; -} - -.lstIname { - white-space: nowrap; - cursor: pointer; -} - -.lstIprev { - width: 100%; - height: 8px; - position: absolute; - bottom: 0; - left: 0; - } - -/* Dropdown Content (Hidden by Default) */ -.dd-content { - display: none; - position: absolute; - width: 284px; - z-index: 1; - height: 260px; - overflow-y: scroll; - overflow-x: hidden; - padding: 0 18px; - margin-top: 10px; - -ms-overflow-style: none; - scrollbar-width: none; /* Firefox */ -} -/* Hide scrollbar for Chrome, Safari and Opera */ -.dd-content::-webkit-scrollbar { - display: none; -} - -.fnd { - position: sticky; - top: 0; - z-index: 1; - width: 280px; - margin: 0 auto; -} - -.search-icon { - position: absolute; - top: 10px; - left: 13px; - pointer-events: none; - width: 24px; - height: 24px; - margin-top: -1px; - z-index: 1; -} - -.clear-icon { - position: absolute; - display: none; - top: 10px; - right: 13px; - cursor: pointer; - margin-top: -1px; - z-index: 1; -} - -input[type=text].fnd { - display: block; - width: 100%; - box-sizing: border-box; - padding: 8px 48px 8px 48px; - margin: 5px auto 0; - text-align: left; - border-radius: 25px; - background-color: var(--c-2); - border: 1px solid var(--c-4); -} - -input[type=text].fnd:focus { - background-color: var(--c-4); -} - -input[type=text].fnd:not(:placeholder-shown), input[type=text].fnd:hover { - background-color: var(--c-3); -} - -.h, .c { - text-align: center; -} - -::-webkit-scrollbar { - width: 6px; -} -::-webkit-scrollbar-track { - background: transparent; -} -::-webkit-scrollbar-thumb { - background: var(--c-sb); - opacity: .2; - border-radius: 5px; -} -::-webkit-scrollbar-thumb:hover { - background: var(--c-sbh); -} - -@media not all and (hover: none) { - .sliderwrap:hover + output.sliderbubble { - visibility: visible; - opacity: 1; - } -} - -@media all and (max-width: 335px) { - .sliderbubble { - display: none; - } -} - -@media all and (max-width: 550px) and (min-width: 374px) { - #info .btn, #nodes .btn { - width: 150px; - } - #info div, #nodes div { - width: 320px; - } -} - -@media all and (max-width: 540px) { - .top button { - width: 16.6%; - padding: 8px 0 4px 0; - } -} - -@media all and (min-width: 541px) and (max-width: 719px) { - .top button { - width: 14.2%; - padding: 8px 0 4px 0; - } -} - -@media all and (max-width: 719px) { - .hd { - display: none !important; - } - #briwrap { - margin-top: 0 !important; - float: none; - } -} diff --git a/wled00/data/simple.htm b/wled00/data/simple.htm index 955bd65d8..eca95ddd8 100644 --- a/wled00/data/simple.htm +++ b/wled00/data/simple.htm @@ -1,263 +1,12 @@ +
- - - - - -Global brightness
-Quick Load
- -Solid color
-RGB channels
-White channel
- -White balance
- -Color slots
- -Presets
-