2020-08-05 11:24:59 +02:00
|
|
|
.range {
|
|
|
|
-webkit-appearance: none;
|
2020-04-07 21:44:46 +02:00
|
|
|
width: 100%;
|
2020-08-05 11:24:59 +02:00
|
|
|
margin: 5px 0;
|
|
|
|
}
|
2020-04-07 21:44:46 +02:00
|
|
|
|
2020-08-05 11:24:59 +02:00
|
|
|
.range.center {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2020-04-07 21:44:46 +02:00
|
|
|
|
2020-08-05 11:24:59 +02:00
|
|
|
.range.right {
|
|
|
|
margin-left: 10%;
|
|
|
|
}
|
2020-04-07 21:44:46 +02:00
|
|
|
|
2020-08-05 11:24:59 +02:00
|
|
|
.range:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2020-04-07 21:44:46 +02:00
|
|
|
|
2020-08-05 11:24:59 +02:00
|
|
|
.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;
|
2020-04-07 21:44:46 +02:00
|
|
|
}
|
|
|
|
|
2020-08-05 11:24:59 +02:00
|
|
|
.range::-ms-track {
|
2020-04-07 21:44:46 +02:00
|
|
|
width: 100%;
|
2020-08-05 11:24:59 +02:00
|
|
|
height: 5px;
|
2020-04-07 21:44:46 +02:00
|
|
|
cursor: pointer;
|
2020-08-05 11:24:59 +02:00
|
|
|
background: transparent;
|
|
|
|
border-color: transparent;
|
|
|
|
color: transparent;
|
2020-04-07 21:44:46 +02:00
|
|
|
}
|
|
|
|
|
2020-08-05 11:24:59 +02:00
|
|
|
.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;
|
2020-04-07 21:44:46 +02:00
|
|
|
width: 15px;
|
2020-08-05 11:24:59 +02:00
|
|
|
border-radius: 15px;
|
|
|
|
background: #ff0089;
|
2020-04-07 21:44:46 +02:00
|
|
|
cursor: pointer;
|
2020-08-05 11:24:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2020-04-07 21:44:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2020-08-05 11:24:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
2020-04-07 21:44:46 +02:00
|
|
|
}
|