mirror of
https://github.com/wled/WLED.git
synced 2025-07-12 21:36:32 +00:00
Sticky default & solid.
This commit is contained in:
parent
a385ea7c52
commit
157e6b2a33
@ -809,19 +809,20 @@ input[type=number]::-webkit-outer-spin-button {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 25px;
|
|
||||||
width: 25px;
|
|
||||||
background-color: var(--c-3);
|
background-color: var(--c-3);
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.radiomark {
|
.radiomark {
|
||||||
height: 24px;
|
height: 24px;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
top: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.schk {
|
.checkmark {
|
||||||
|
height: 25px;
|
||||||
|
width: 25px;
|
||||||
|
border-radius: 10px;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -908,13 +909,10 @@ input[type=number]::-webkit-outer-spin-button {
|
|||||||
.list {
|
.list {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 260px;
|
width: 260px;
|
||||||
border-radius: 0 0 20px 20px;
|
|
||||||
background-color: var(--c-2);
|
|
||||||
transition: background-color 0.5s;
|
transition: background-color 0.5s;
|
||||||
overflow: hidden;
|
|
||||||
margin: auto auto 20px;
|
margin: auto auto 20px;
|
||||||
padding-bottom: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.lstI {
|
.lstI {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-bottom: 1px solid var(--c-3);
|
border-bottom: 1px solid var(--c-3);
|
||||||
@ -922,6 +920,7 @@ input[type=number]::-webkit-outer-spin-button {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 8px 10px;
|
padding: 8px 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
background-color: var(--c-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.lstI:hover {
|
.lstI:hover {
|
||||||
@ -930,10 +929,32 @@ input[type=number]::-webkit-outer-spin-button {
|
|||||||
|
|
||||||
.lstI:last-child {
|
.lstI:last-child {
|
||||||
border: none;
|
border: none;
|
||||||
|
border-radius: 0 0 20px 20px;
|
||||||
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lstI.selected {
|
.lstI.selected {
|
||||||
background: var(--c-5);
|
background: var(--c-5);
|
||||||
|
top: 136px;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lstI.sticky, .lstI.selected {
|
||||||
|
position: sticky;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#selectPalette .lstI.selected {
|
||||||
|
top: 80px;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#selectPalette .lstI.sticky {
|
||||||
|
top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lstI.sticky {
|
||||||
|
top: 99px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lstIcontent {
|
.lstIcontent {
|
||||||
|
@ -798,7 +798,7 @@ function genPalPrevCss(id)
|
|||||||
|
|
||||||
function generateListItemHtml(listName, id, name, clickAction, extraHtml = '')
|
function generateListItemHtml(listName, id, name, clickAction, extraHtml = '')
|
||||||
{
|
{
|
||||||
return `<div class="lstI" data-id="${id}">
|
return `<div class="lstI${id==0?' sticky':''}" data-id="${id}">
|
||||||
<label class="radio schkl">
|
<label class="radio schkl">
|
||||||
|
|
||||||
<input type="radio" value="${id}" name="${listName}" onChange="${clickAction}()">
|
<input type="radio" value="${id}" name="${listName}" onChange="${clickAction}()">
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 2103211
|
#define VERSION 2103221
|
||||||
|
|
||||||
//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
|
||||||
@ -173,7 +173,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Global Variable definitions
|
// Global Variable definitions
|
||||||
WLED_GLOBAL char versionString[] _INIT("0.12.0-b0");
|
WLED_GLOBAL char versionString[] _INIT("0.12.0-b1");
|
||||||
#define WLED_CODENAME "Hikari"
|
#define WLED_CODENAME "Hikari"
|
||||||
|
|
||||||
// AP and OTA default passwords (for maximum security change them!)
|
// AP and OTA default passwords (for maximum security change them!)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user