Skip to content

Commit

Permalink
Minor button & rover CSS tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek committed Oct 7, 2024
1 parent 5e9a46d commit 7deea9e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
12 changes: 8 additions & 4 deletions wled00/data/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ button {
}

.huge {
font-size: 42px;
font-size: 60px !important;
}

.segt, .plentry TABLE {
Expand Down Expand Up @@ -584,6 +584,10 @@ button {
z-index: 3;
}

#rover .ibtn {
margin: 5px;
}

#ndlt {
margin: 12px 0;
}
Expand Down Expand Up @@ -624,7 +628,7 @@ button {
padding-bottom: 8px;
}

.infobtn {
#info .ibtn {
margin: 5px;
}

Expand Down Expand Up @@ -848,7 +852,7 @@ input[type=range]::-moz-range-thumb {
width: 135px;
}

#nodes .infobtn {
#nodes .ibtn {
margin: 0;
}

Expand Down Expand Up @@ -1524,7 +1528,7 @@ dialog {
#info table .btn, #nodes table .btn {
width: 200px;
}
#info .infobtn, #nodes .infobtn {
#info .ibtn, #nodes .ibtn {
width: 145px;
}
#info div, #nodes div, #nodes a.btn {
Expand Down
14 changes: 7 additions & 7 deletions wled00/data/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@
</div>
<div id="kv">Loading...</div><br>
<div>
<button class="btn infobtn" onclick="requestJson()">Refresh</button>
<button class="btn infobtn" onclick="toggleNodes()">Instance List</button>
<button class="btn infobtn" onclick="window.open(getURL('/update'),'_self');">Update WLED</button>
<button class="btn infobtn" id="resetbtn" onclick="cnfReset()">Reboot WLED</button>
<button class="btn ibtn" onclick="requestJson()">Refresh</button>
<button class="btn ibtn" onclick="toggleNodes()">Instance List</button>
<button class="btn ibtn" onclick="window.open(getURL('/update'),'_self');">Update WLED</button>
<button class="btn ibtn" id="resetbtn" onclick="cnfReset()">Reboot WLED</button>
</div>
<br>
<span class="h">Made with&#32;<span id="heart">&#10084;&#xFE0E;</span>&#32;by&#32;<a href="https://github.com/Aircoookie/" target="_blank">Aircoookie</a>&#32;and the&#32;<a href="https://wled.discourse.group/" target="_blank">WLED community</a></span>
Expand All @@ -318,7 +318,7 @@
<div id="ndlt">WLED instances</div>
<div id="kn">Loading...</div>
<div style="position:sticky;bottom:0;">
<button class="btn infobtn" onclick="loadNodes()">Refresh</button>
<button class="btn ibtn" onclick="loadNodes()">Refresh</button>
</div>
</div>

Expand All @@ -331,8 +331,8 @@
<div id="lv">?</div><br><br>
To use built-in effects, use an override button below.<br>
You can return to realtime mode by pressing the star in the top left corner.<br>
<button class="btn" onclick="setLor(1)">Override once</button>
<button class="btn" onclick="setLor(2)">Override until reboot</button><br>
<button class="btn ibtn" onclick="setLor(1)">Override once</button>
<button class="btn ibtn" onclick="setLor(2)">Override until reboot</button><br>
<span class="h">For best performance, it is recommended to turn off the streaming source when not in use.</span>
</div>

Expand Down

0 comments on commit 7deea9e

Please sign in to comment.