...
|
...
|
@@ -78,10 +78,10 @@ |
|
|
display: none;
|
|
|
&:checked ~ label {
|
|
|
border: 2px solid #4bd865;
|
|
|
box-shadow: inset 0 0 0 calc(19px) #4bd865;
|
|
|
box-shadow: inset 0 0 0 calc(20px) #4bd865;
|
|
|
}
|
|
|
&:checked ~ label:after {
|
|
|
left: calc(54px - 34px);
|
|
|
left: calc(80px - 40px);
|
|
|
box-shadow: 0 5px 5px -1px rgba(0, 0, 0, 0.2), 0 0 0 2px #4bd865;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -96,8 +96,8 @@ |
|
|
label {
|
|
|
position: relative;
|
|
|
display: inline-block;
|
|
|
width: 54px;
|
|
|
height: 34px;
|
|
|
width: 80px;
|
|
|
height: 44px;
|
|
|
background-color: $white;
|
|
|
border: 2px solid #ddd;
|
|
|
border-radius: 99999px;
|
...
|
...
|
@@ -107,13 +107,13 @@ |
|
|
content: "";
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
width: 30px;
|
|
|
height: 30px;
|
|
|
width: 40px;
|
|
|
height: 40px;
|
|
|
border: none;
|
|
|
border-radius: 50%;
|
|
|
background-color: $white;
|
|
|
box-shadow: 0 5px 5px -1px rgba(0, 0, 0, 0.2), 0 0 0 2px #ddd;
|
|
|
transition: 0.3s;
|
|
|
transition: 0.4s;
|
|
|
}
|
|
|
}
|
|
|
} |
...
|
...
|
|