Mobile Nodes button is back!

This commit is contained in:
Blaz Kristan 2021-03-17 17:11:05 +01:00
parent bb84157a21
commit 3548628c2c
5 changed files with 2195 additions and 2202 deletions

View File

@ -223,11 +223,7 @@ button {
.bot button { .bot button {
padding: var(--bbp); padding: var(--bbp);
width:25%; width:20%;
}
#btnNodes {
display: none;
} }
.tab button:hover { .tab button:hover {
@ -1054,7 +1050,7 @@ input[type="text"].fnd:not(:placeholder-shown) {
} }
@media all and (max-width: 1249px) { @media all and (max-width: 1249px) {
#buttonPcm, #buttonNo { #buttonPcm, #buttonNodes {
display: none; display: none;
} }
} }

View File

@ -200,7 +200,7 @@
<button class="tablinks" onclick="openTab(1)"><i class="icons">&#xe23d;</i><p class="tab-label">Effects</p></button> <button class="tablinks" onclick="openTab(1)"><i class="icons">&#xe23d;</i><p class="tab-label">Effects</p></button>
<button class="tablinks" onclick="openTab(2)"><i class="icons">&#xe34b;</i><p class="tab-label">Segments</p></button> <button class="tablinks" onclick="openTab(2)"><i class="icons">&#xe34b;</i><p class="tab-label">Segments</p></button>
<button class="tablinks" onclick="openTab(3)"><i class="icons">&#xe04c;</i><p class="tab-label">Favorites</p></button> <button class="tablinks" onclick="openTab(3)"><i class="icons">&#xe04c;</i><p class="tab-label">Favorites</p></button>
<button id="btnNodes" class="tablinks" onclick="toggleNodes()"><i class="icons">&#xe22d;</i><p class="tab-label">Nodes</p></button> <button class="tablinks" onclick="toggleNodes()"><i class="icons">&#xe22d;</i><p class="tab-label">Nodes</p></button>
</div> </div>
<div id="connind"></div> <div id="connind"></div>

View File

@ -1770,7 +1770,6 @@ function togglePcMode(fromB = false)
d.getElementById('buttonPcm').className = (pcMode) ? "active":""; d.getElementById('buttonPcm').className = (pcMode) ? "active":"";
d.getElementById('bot').style.height = (pcMode && !cfg.comp.pcmbot) ? "0":"auto"; d.getElementById('bot').style.height = (pcMode && !cfg.comp.pcmbot) ? "0":"auto";
sCol('--bh', d.getElementById('bot').clientHeight + "px"); sCol('--bh', d.getElementById('bot').clientHeight + "px");
d.getElementById('buttonNodes').style.display = (pcMode) ? "":"none";
_C.style.width = (pcMode)?'100%':'400%'; _C.style.width = (pcMode)?'100%':'400%';
lastw = w; lastw = w;
} }

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
*/ */
// version code in format yymmddb (b = daily build) // version code in format yymmddb (b = daily build)
#define VERSION 2103140 #define VERSION 2103170
//uncomment this if you have a "my_config.h" file you'd like to use //uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG //#define WLED_USE_MY_CONFIG