216 lines
3.7 KiB
CSS
216 lines
3.7 KiB
CSS
html, body {
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
font-size: 16px;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
div {
|
|
position: fixed;
|
|
color: #fff;
|
|
padding: 1em;
|
|
}
|
|
|
|
#c {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.settings-icon {
|
|
right: 0;
|
|
bottom: 0;
|
|
font-size: 1.5em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings-icon:hover {
|
|
color: #0199ff;
|
|
}
|
|
|
|
.off-can {
|
|
top: 0;
|
|
left: 0;
|
|
width: 300px;
|
|
background-color: rgba(33, 33, 33, 0.6);
|
|
height: 100vh;
|
|
transition: all .5s;
|
|
user-select: none;
|
|
}
|
|
|
|
group {
|
|
display: block;
|
|
padding-bottom: 10px;
|
|
user-select: none;
|
|
}
|
|
|
|
group-label {
|
|
display: block;
|
|
border-bottom: 1px solid #ffffff;
|
|
font-size: 21px;
|
|
font-weight: 500;
|
|
user-select: none;
|
|
}
|
|
|
|
group-input {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 5px;
|
|
user-select: none;
|
|
}
|
|
|
|
group-input label {
|
|
padding-right: 10px;
|
|
user-select: none;
|
|
width: 150px;
|
|
}
|
|
|
|
|
|
group-input input {
|
|
flex-grow: 1;
|
|
user-select: none;
|
|
max-width: 150px;
|
|
}
|
|
|
|
group-input button {
|
|
border: 1px solid #dcdcdc;
|
|
background-color: transparent;
|
|
color: #fff;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.closed {
|
|
transform: translateX(-350px);
|
|
transition: all .5s;
|
|
}
|
|
|
|
input[type=range] {
|
|
-webkit-appearance: none;
|
|
width: 100%;
|
|
}
|
|
|
|
input[type=range]:focus {
|
|
outline: none;
|
|
}
|
|
|
|
input[type=range]::-webkit-slider-runnable-track {
|
|
width: 100%;
|
|
height: 25.6px;
|
|
cursor: pointer;
|
|
box-shadow: 1px 1px 1px #000000, 0 0 1px #0d0d0d;
|
|
background: #424242;
|
|
border-radius: 0;
|
|
border: 0 solid #010101;
|
|
}
|
|
|
|
input[type=range]::-webkit-slider-thumb {
|
|
box-shadow: 0 0 0 #470000, 0 0 0 #610000;
|
|
border: 0 solid #ff0000;
|
|
height: 25px;
|
|
width: 15px;
|
|
border-radius: 0;
|
|
background: #a8c64e;
|
|
cursor: pointer;
|
|
-webkit-appearance: none;
|
|
margin-top: 0.3px;
|
|
}
|
|
|
|
input[type=range]:focus::-webkit-slider-runnable-track {
|
|
background: #545454;
|
|
}
|
|
|
|
input[type=range]::-moz-range-track {
|
|
width: 100%;
|
|
height: 25.6px;
|
|
cursor: pointer;
|
|
box-shadow: 1px 1px 1px #000000, 0 0 1px #0d0d0d;
|
|
background: #424242;
|
|
border-radius: 0;
|
|
border: 0 solid #010101;
|
|
}
|
|
|
|
input[type=range]::-moz-range-thumb {
|
|
box-shadow: 0 0 0 #470000, 0 0 0 #610000;
|
|
border: 0 solid #ff0000;
|
|
height: 25px;
|
|
width: 15px;
|
|
border-radius: 0;
|
|
background: #a8c64e;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type=range]::-ms-track {
|
|
width: 100%;
|
|
height: 25.6px;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
border-color: transparent;
|
|
color: transparent;
|
|
}
|
|
|
|
input[type=range]::-ms-fill-lower {
|
|
background: #303030;
|
|
border: 0 solid #010101;
|
|
border-radius: 0;
|
|
box-shadow: 1px 1px 1px #000000, 0 0 1px #0d0d0d;
|
|
}
|
|
|
|
input[type=range]::-ms-fill-upper {
|
|
background: #424242;
|
|
border: 0 solid #010101;
|
|
border-radius: 0;
|
|
box-shadow: 1px 1px 1px #000000, 0 0 1px #0d0d0d;
|
|
}
|
|
|
|
input[type=range]::-ms-thumb {
|
|
box-shadow: 0 0 0 #470000, 0 0 0 #610000;
|
|
border: 0 solid #ff0000;
|
|
width: 15px;
|
|
border-radius: 0;
|
|
background: #a8c64e;
|
|
cursor: pointer;
|
|
height: 25px;
|
|
}
|
|
|
|
input[type=range]:focus::-ms-fill-lower {
|
|
background: #424242;
|
|
}
|
|
|
|
input[type=range]:focus::-ms-fill-upper {
|
|
background: #545454;
|
|
}
|
|
|
|
switch input {
|
|
position: absolute;
|
|
appearance: none;
|
|
opacity: 0;
|
|
}
|
|
|
|
switch label {
|
|
display: block;
|
|
border-radius: 10px;
|
|
width: 40px;
|
|
height: 20px;
|
|
background-color: #dcdcdc;
|
|
position: relative;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
switch label:after {
|
|
content: '';
|
|
background-color: #ff3232;
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
height: 16px;
|
|
width: 16px;
|
|
border-radius: 10px;
|
|
transition: .5s;
|
|
}
|
|
|
|
switch input:checked + label:after {
|
|
transform: translateX(20px);
|
|
}
|
|
|