UI tweaks.

This commit is contained in:
Blaz Kristan 2022-01-23 11:43:39 +01:00
parent 868910fddf
commit 0f3b95802d
4 changed files with 1179 additions and 1171 deletions

View File

@ -38,9 +38,14 @@
l.addEventListener('load', (e) => { l.addEventListener('load', (e) => {
// after rangetouch is loaded initialize global variable // after rangetouch is loaded initialize global variable
ranges = RangeTouch.setup('input[type="range"]', {}); ranges = RangeTouch.setup('input[type="range"]', {});
onLoad(); // start processing UI let stateCheck = setInterval(() => {
if (document.readyState === 'complete') {
clearInterval(stateCheck);
// document ready, start processing UI
onLoad();
}
}, 100);
}); });
//h.appendChild(l); // if this fires too quickly for ESP8266 use next line
setTimeout(function(){h.appendChild(l)},50); setTimeout(function(){h.appendChild(l)},50);
}); });
setTimeout(function(){h.appendChild(l)},50); setTimeout(function(){h.appendChild(l)},50);

View File

@ -65,10 +65,10 @@ input[type="text"],
input[type="number"], input[type="number"],
select { select {
font-size: medium; font-size: medium;
} margin: 2px;
}
input[type="number"] { input[type="number"] {
width: 4em; width: 4em;
margin: 2px;
} }
input[type="number"].xxl { input[type="number"].xxl {
width: 100px; width: 100px;

View File

@ -8,57 +8,57 @@
// Autogenerated from wled00/data/style.css, do not edit!! // Autogenerated from wled00/data/style.css, do not edit!!
const uint16_t PAGE_settingsCss_length = 807; const uint16_t PAGE_settingsCss_length = 807;
const uint8_t PAGE_settingsCss[] PROGMEM = { const uint8_t PAGE_settingsCss[] PROGMEM = {
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x13, 0xad, 0x55, 0x5d, 0x8f, 0x9b, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x13, 0xad, 0x55, 0x5d, 0x6f, 0x9b, 0x30,
0x10, 0xfc, 0x2b, 0x54, 0xd1, 0x49, 0x77, 0x52, 0x40, 0x40, 0x80, 0x4b, 0x8d, 0x2a, 0x55, 0x7d, 0x14, 0xfd, 0x2b, 0x4c, 0x51, 0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c7, 0x17, 0x1d, 0xfd, 0x1b,
0xf8, 0xee, 0xe4, 0xeb, 0xff, 0x43, 0xbe, 0x87, 0x1b, 0x0f, 0x1a, 0xca, 0x99, 0x62, 0xa1, 0xbd, 0x7c, 0x6f, 0xe4, 0xeb, 0x7f, 0x20, 0xdf, 0xc3, 0x8d, 0x41, 0x0d, 0xe5, 0x4c, 0xb1, 0xd0, 0xde,
0xcb, 0xfa, 0x9d, 0xb9, 0x3b, 0x95, 0x33, 0x29, 0x6f, 0x9a, 0xd8, 0xc8, 0x06, 0xfa, 0xdf, 0xa3, 0x65, 0xfd, 0xce, 0xdc, 0x9d, 0xca, 0x99, 0x94, 0x37, 0x4d, 0x6c, 0x64, 0x03, 0xfd, 0x7f, 0xbc,
0x43, 0x98, 0x9c, 0x2e, 0x08, 0x00, 0x00 0xcc, 0x25, 0x92, 0x2e, 0x08, 0x00, 0x00
}; };

File diff suppressed because it is too large Load Diff