1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-21 22:50:55 +00:00

Merge branch 'feature-largetouch' of github.com:orithena/ESPUI

This commit is contained in:
Lukas Bachschwell 2018-10-28 21:47:06 +01:00
commit 74d984128b
3 changed files with 33 additions and 10 deletions

View File

@ -582,9 +582,16 @@
display: block; display: block;
position: relative; position: relative;
width: 100%; width: 100%;
height: 4px; height: 27px;
border-radius: 13px;
background-color: #bebebe; background-color: #bebebe;
} }
@media (pointer: fine) {
.rkmd-slider input[type="range"] + .slider {
height: 4px;
border-radius: 0px;
}
}
.rkmd-slider input[type="range"] + .slider .slider-fill { .rkmd-slider input[type="range"] + .slider .slider-fill {
display: block; display: block;
position: absolute; position: absolute;
@ -596,7 +603,7 @@
.rkmd-slider input[type="range"] + .slider .slider-handle { .rkmd-slider input[type="range"] + .slider .slider-handle {
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
top: -5.5px; top: 12px;
left: 0%; left: 0%;
width: 15px; width: 15px;
height: 15px; height: 15px;
@ -606,6 +613,11 @@
user-select: none; user-select: none;
z-index: 2; z-index: 2;
} }
@media (pointer:fine) {
.rkmd-slider input[type="range"] + .slider .slider-handle {
top: -5.5px;
}
}
.rkmd-slider input[type="range"]:disabled + .slider { .rkmd-slider input[type="range"]:disabled + .slider {
background-color: #b0b0b0 !important; background-color: #b0b0b0 !important;
} }
@ -648,17 +660,24 @@
.rkmd-slider.slider-discrete .slider .slider-handle .slider-label { .rkmd-slider.slider-discrete .slider .slider-handle .slider-label {
position: absolute; position: absolute;
top: -17.5px; top: -17.5px;
left: -2px; left: 4px;
width: 30px; width: 30px;
height: 30px; height: 30px;
-webkit-transform-origin: 50% 100%; -webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%; transform-origin: 50% 100%;
border-radius: 50%; border-radius: 50%;
-webkit-transform: scale(0.5) rotate(-45deg); -webkit-transform: scale(1.0) rotate(-45deg);
transform: scale(0.5) rotate(-45deg); transform: scale(1.0) rotate(-45deg);
-webkit-transition: all .2s ease; -webkit-transition: all .2s ease;
transition: all .2s ease; transition: all .2s ease;
} }
@media (pointer: fine) {
.rkmd-slider.slider-discrete .slider .slider-handle .slider-label {
left: -2px;
-webkit-transform: scale(0.5) rotate(-45deg);
transform: scale(0.5) rotate(-45deg);
}
}
.rkmd-slider.slider-discrete .slider .slider-handle .slider-label span { .rkmd-slider.slider-discrete .slider .slider-handle .slider-label span {
position: absolute; position: absolute;
@ -666,7 +685,7 @@
left: 0px; left: 0px;
width: 100%; width: 100%;
color: #fff; color: #fff;
font-size: 12px; font-size: 16px;
text-align: center; text-align: center;
-webkit-transform: rotate(45deg); -webkit-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
@ -676,7 +695,11 @@
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
@media (pointer:fine) {
.rkmd-slider.slider-discrete .slider .slider-handle .slider-label span {
font-size: 12px;
}
}
.rkmd-slider.slider-discrete .slider .slider-handle.is-active { .rkmd-slider.slider-discrete .slider .slider-handle.is-active {
top: 0px; top: 0px;
margin-left: -2px; margin-left: -2px;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long