styled volume slider for fullscreen display
This commit is contained in:
parent
c7f180daf8
commit
c41b31461b
1 changed files with 27 additions and 14 deletions
|
@ -3856,28 +3856,41 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=range] {
|
input[type=range] {
|
||||||
appearance: none;
|
-webkit-appearance: none;
|
||||||
width: 100%;
|
|
||||||
height: 4px;
|
height: 4px;
|
||||||
background-color: rgb(200 200 200 / 10%);
|
background: rgba(255, 255, 255, 0.4);
|
||||||
border-radius: 2px;
|
border-radius: 5px;
|
||||||
|
background-size: 70% 100%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
|
||||||
&::-webkit-slider-thumb {
|
&::-webkit-slider-thumb {
|
||||||
opacity: 1;
|
|
||||||
transform: scale(0.5);
|
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
height: 14px;
|
||||||
width: 23px;
|
width: 14px;
|
||||||
height: 23px;
|
border-radius: 50%;
|
||||||
border-radius: 100%;
|
background: rgb(50 50 50);
|
||||||
background: rgba(236, 234, 234, 0.733);
|
|
||||||
cursor: default;
|
cursor: default;
|
||||||
transition: opacity .10s var(--appleEase), transform .10s var(--appleEase);
|
box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.4);
|
||||||
|
transition: all var(--appleTransition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&::-webkit-slider-thumb:hover {
|
||||||
|
background-image: radial-gradient(var(--keyColor) 2px, transparent 3px, transparent 10px);
|
||||||
|
transform: scale(1.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-webkit-slider-thumb:active {
|
||||||
|
background-image: radial-gradient(var(--keyColor) 3px, transparent 4px, transparent 10px);
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-webkit-slider-runnable-track {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
box-shadow: none;
|
||||||
|
border: none;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue