|
|
|
@ -3029,7 +3029,7 @@ strong {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* The switch - the box around the slider */
|
|
|
|
|
.switch {
|
|
|
|
|
.cbi-checkbox .switch {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 60px;
|
|
|
|
@ -3037,14 +3037,14 @@ strong {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Hide default HTML checkbox */
|
|
|
|
|
.switch input {
|
|
|
|
|
.cbi-checkbox .switch input {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* The slider */
|
|
|
|
|
.slider {
|
|
|
|
|
.cbi-checkbox .switch .slider {
|
|
|
|
|
position: absolute;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
top: 0;
|
|
|
|
@ -3055,7 +3055,7 @@ strong {
|
|
|
|
|
transition: .4s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slider:before {
|
|
|
|
|
.cbi-checkbox .switch .slider:before {
|
|
|
|
|
position: absolute;
|
|
|
|
|
content: "";
|
|
|
|
|
height: 26px;
|
|
|
|
@ -3066,14 +3066,14 @@ strong {
|
|
|
|
|
transition: .4s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:checked + .slider {
|
|
|
|
|
.cbi-checkbox .switch input:checked + .slider {
|
|
|
|
|
background-color: #2196F3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:focus + .slider {
|
|
|
|
|
.cbi-checkbox .switch input:focus + .slider {
|
|
|
|
|
box-shadow: 0 0 1px #2196F3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:checked + .slider:before {
|
|
|
|
|
.cbi-checkbox .switch input:checked + .slider:before {
|
|
|
|
|
transform: translateX(26px);
|
|
|
|
|
}
|