From 44197d91c6ea43d9e7923f4e50ae7cdcc0776a18 Mon Sep 17 00:00:00 2001 From: Alerson Jorge Date: Thu, 20 Jul 2023 12:25:16 -0300 Subject: [PATCH] Updating pxmagic and inserting it in the WLED UI with option to enable and disable. --- wled00/data/index.css | 22 +- wled00/data/index.htm | 11 +- wled00/data/index.js | 136 +- wled00/data/pxmagic/pxmagic.htm | 249 +- wled00/data/settings_ui.htm | 5 +- wled00/html_pxmagic.h | 1086 ++++----- wled00/html_settings.h | 441 ++-- wled00/html_ui.h | 4010 ++++++++++++++++--------------- 8 files changed, 3075 insertions(+), 2885 deletions(-) diff --git a/wled00/data/index.css b/wled00/data/index.css index 5be49819f..1e8e1525e 100644 --- a/wled00/data/index.css +++ b/wled00/data/index.css @@ -134,7 +134,7 @@ button { .off { color: var(--c-6) !important; - cursor: default !important; + /* cursor: default !important; */ } .top .icons, .bot .icons { @@ -271,6 +271,20 @@ button { transform: translate(-50%,-50%); } +#pxm { + display: none; + width: 100%; + height: 100%; + border: 0; + position: absolute; +} + +#ipxm { + width: 100%; + height: 100%; + position: relative; +} + .tab { background-color: transparent; color: var(--c-d); @@ -798,6 +812,7 @@ input[type=range]::-moz-range-thumb { text-overflow: ellipsis; border: 1px solid var(--c-3); background-color: var(--c-3); + z-index: 9; } #segutil .btn-s:hover, #segutil2 .btn-s:hover, @@ -1010,7 +1025,7 @@ textarea { width: 50px !important; } -.segname, .pname { +.segname, .pname, .bname { white-space: nowrap; text-align: center; overflow: hidden; @@ -1020,6 +1035,9 @@ textarea { max-width: 170px; position: relative; } +.bname { + padding: 0 24px; +} .segname .flr, .pname .flr { transform: rotate(0deg); diff --git a/wled00/data/index.htm b/wled00/data/index.htm index b8c0df85f..cd8a92cf1 100644 --- a/wled00/data/index.htm +++ b/wled00/data/index.htm @@ -65,6 +65,7 @@ + @@ -379,8 +380,8 @@ -