Support tablet PCMode, Peek -> GFX

index.css: remove #Colors (br instead), PCmode when size < 798

index.html: Change Peek to GFX, add div colorGFX, effectGFX, segGFX

index.js: 
- remove peekexp, segvexp, 
- add colorGFX, effectGFX, segGFX controls, 
- remove expandV/eandp
- improve segment view gfx
- refactor toggleLiveView
- togglePcMode: support smaller (tablet) screens
This commit is contained in:
Ewoud
2023-03-24 14:32:57 +01:00
parent 5c6e627d28
commit 274cdb4d32
7 changed files with 2557 additions and 2561 deletions

View File

@@ -25,8 +25,6 @@
"seglen": "Set segment length instead of stop LED",
"segpwr": "Hide segment power &amp; brightness",
"segexp" : "Always expand first segment",
"peekexp" : "Expand peek ☾",
"segvexp" : "Expand segment visualization ☾",
"css": "Enable custom CSS",
"hdays": "Enable custom Holidays list"
},
@@ -267,8 +265,6 @@
<span class="l"></span>: <input type="checkbox" id="comp_seglen" class="agi cb"><br>
<span class="l"></span>: <input type="checkbox" id="comp_segpwr" class="agi cb"><br>
<span class="l"></span>: <input type="checkbox" id="comp_segexp" class="agi cb"><br>
<span class="l"></span>: <input type="checkbox" id="comp_peekexp" class="agi cb"><br>
<span class="l"></span>: <input type="checkbox" id="comp_segvexp" class="agi cb"><br>
I hate dark mode: <input type="checkbox" id="dm" onchange="UI()"><br>
<span id="idonthateyou" style="display:none"><i>Why would you? </i>&#x1F97A;<br></span>
<span class="l"></span>: <input type="number" min=0.0 max=1.0 step=0.01 id="theme_alpha_tab" class="agi"><br>