versustunez
9d5259767c
- fixed loading songs - cleanup utils - added some helper class - cleanup preparing of WEBGL2 - added 3D wave - added light-support - added configs - added gui-events for playing, shuffling and playlist
253 lines
3.9 KiB
SCSS
253 lines
3.9 KiB
SCSS
.range {
|
|
-webkit-appearance: none;
|
|
width: 100%;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.range.center {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.range.right {
|
|
margin-left: 10%;
|
|
}
|
|
|
|
.range:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.range::-webkit-slider-runnable-track {
|
|
width: 100%;
|
|
height: 5px;
|
|
cursor: pointer;
|
|
background: rgba(0, 0, 0, 0.12);
|
|
border-radius: 15px;
|
|
border: none;
|
|
}
|
|
|
|
.range::-webkit-slider-thumb {
|
|
border: 0 solid rgba(0, 0, 30, 0);
|
|
height: 15px;
|
|
width: 15px;
|
|
border-radius: 15px;
|
|
background: #ff0089;
|
|
cursor: pointer;
|
|
-webkit-appearance: none;
|
|
margin-top: -5px;
|
|
}
|
|
|
|
.range:focus::-webkit-slider-runnable-track {
|
|
background: rgba(89, 89, 89, 0.12);
|
|
}
|
|
|
|
.range::-moz-range-track {
|
|
width: 100%;
|
|
height: 5px;
|
|
cursor: pointer;
|
|
background: rgba(0, 0, 0, 0.12);
|
|
border-radius: 15px;
|
|
border: none;
|
|
}
|
|
|
|
.range::-moz-range-thumb {
|
|
border: 0 solid rgba(0, 0, 30, 0);
|
|
height: 15px;
|
|
width: 15px;
|
|
border-radius: 15px;
|
|
background: #ff0089;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.range::-ms-track {
|
|
width: 100%;
|
|
height: 5px;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
border-color: transparent;
|
|
color: transparent;
|
|
}
|
|
|
|
.range::-ms-fill-lower {
|
|
background: rgba(0, 0, 0, 0.12);
|
|
border: none;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
.range::-ms-fill-upper {
|
|
background: rgba(0, 0, 0, 0.12);
|
|
border: none;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
.range::-ms-thumb {
|
|
border: 0 solid rgba(0, 0, 30, 0);
|
|
height: 15px;
|
|
width: 15px;
|
|
border-radius: 15px;
|
|
background: #ff0089;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.range:focus::-ms-fill-lower {
|
|
background: rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.range:focus::-ms-fill-upper {
|
|
background: rgba(89, 89, 89, 0.12);
|
|
}
|
|
|
|
.input {
|
|
width: 90%;
|
|
position: relative;
|
|
display: inline-block;
|
|
margin-top: 1rem;
|
|
background-color: transparent;
|
|
}
|
|
|
|
input:focus + .input:after {
|
|
width: 100%;
|
|
}
|
|
|
|
.input input:not([type=range]) {
|
|
border: none;
|
|
border-bottom: 2px solid #dcdcdc;
|
|
position: relative;
|
|
width: 100%;
|
|
background-color: transparent;
|
|
padding: 5px;
|
|
color: #fff;
|
|
}
|
|
|
|
.input input:not([type=range]):focus {
|
|
outline: none;
|
|
}
|
|
|
|
.input.center {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.input.right {
|
|
margin-left: 10%;
|
|
}
|
|
|
|
.input-label {
|
|
display: none;
|
|
}
|
|
|
|
.floating-label .input-label {
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
pointer-events: none;
|
|
border-bottom: 1px solid transparent;
|
|
}
|
|
|
|
.floating-label input:focus ~ .input-label,
|
|
.floating-label input:valid ~ .input-label {
|
|
transform: translateY(-0.72rem);
|
|
color: #ff0089;
|
|
font-size: .7rem;
|
|
}
|
|
|
|
.floating-label input:valid ~ .input-label {
|
|
transform: translateY(-0.72rem);
|
|
color: #3949ab;
|
|
font-size: .7rem;
|
|
}
|
|
|
|
.focus {
|
|
content: '';
|
|
width: 0;
|
|
background-color: #ff0a8e;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
height: 2px;
|
|
transition: 0.4s cubic-bezier(0.8, 0.4, 0.25, 1);
|
|
}
|
|
|
|
input:focus ~ .focus {
|
|
width: 100%;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
switch {
|
|
input {
|
|
position: absolute;
|
|
appearance: none;
|
|
opacity: 0;
|
|
|
|
&:checked + label:after {
|
|
transform: translateX(20px);
|
|
}
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
border-radius: 10px;
|
|
width: 40px;
|
|
height: 20px;
|
|
background-color: #dcdcdc;
|
|
position: relative;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
|
|
&:after {
|
|
content: '';
|
|
background-color: #ff3232;
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
height: 16px;
|
|
width: 16px;
|
|
border-radius: 10px;
|
|
transition: .5s;
|
|
}
|
|
}
|
|
}
|
|
|
|
input[type="file"] {
|
|
position: fixed;
|
|
left: -100000vw;
|
|
height: 1px;
|
|
width: 1px;
|
|
}
|
|
|
|
input[type="color"] {
|
|
opacity: 0;
|
|
}
|
|
|
|
.color-picker {
|
|
position: relative;
|
|
|
|
input {
|
|
position: absolute !important;
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
#colorBlob {
|
|
display: block;
|
|
width: 100%;
|
|
height: 20px;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.button {
|
|
border: 1px solid $primary;
|
|
padding: 0.5em 1em;
|
|
cursor: pointer;
|
|
transition: .5s;
|
|
|
|
&:hover {
|
|
border-color: $second;
|
|
}
|
|
} |