diff --git a/wled00/data/index.css b/wled00/data/index.css index 46d1ddaf..1b34285d 100644 --- a/wled00/data/index.css +++ b/wled00/data/index.css @@ -271,20 +271,6 @@ 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); @@ -479,7 +465,7 @@ button { } /* Tooltip text */ -.slider .tooltiptext, .option .tooltiptext, .btn .tooltiptext { +.slider .tooltiptext, .option .tooltiptext { visibility: hidden; background-color: var(--c-5); /*border: 2px solid var(--c-2);*/ @@ -494,8 +480,8 @@ button { position: absolute; z-index: 1; bottom: 80%; - left: 50%; - transform: translate(-50%, -50%); + left: 50%; + margin-left: -92px; /* Ensure tooltip goes away when mouse leaves control */ pointer-events: none; @@ -504,28 +490,22 @@ button { opacity: 0; transition: opacity 0.75s; } - .option .tooltiptext { bottom: 120%; } - -/* Tooltip for buttons */ -.btn .tooltiptext { - bottom: 90%; -} - /* Tooltip arrow */ -.slider .tooltiptext::after, .option .tooltiptext::after, .btn .tooltiptext::after { +.slider .tooltiptext::after, .option .tooltiptext::after { content: ""; position: absolute; - top: calc(100% - 2px); - left: calc(50% - 8px); - border: 8px; + top: 100%; + left: 50%; + margin-left: -5px; + border-width: 5px; border-style: solid; border-color: var(--c-5) transparent transparent transparent; } /* Show the tooltip text when you mouse over the tooltip container */ -.slider:hover .tooltiptext, .option .check:hover .tooltiptext, .btn:hover .tooltiptext { +.slider:hover .tooltiptext, .option .check:hover .tooltiptext { visibility: visible; opacity: 1; } @@ -814,11 +794,10 @@ input[type=range]::-moz-range-thumb { -webkit-transform:translate3d(0,0,0); backface-visibility: hidden; transform:translate3d(0,0,0); - /* overflow: hidden; */ + overflow: hidden; 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, @@ -1055,6 +1034,7 @@ textarea { /*padding: 1px 0 1px 20px;*/ display: var(--sgp); width: 100%; + position: relative; } .pname { diff --git a/wled00/data/index.htm b/wled00/data/index.htm index e4b0008d..e6ce0489 100644 --- a/wled00/data/index.htm +++ b/wled00/data/index.htm @@ -180,13 +180,6 @@ -
Color palette