|
|
|
@ -1016,8 +1016,8 @@ input[type="button"] {
|
|
|
|
|
box-shadow: inset 0 0 0 0 #e1e1e1; |
|
|
|
|
-webkit-transition-property: box-shadow, border; |
|
|
|
|
transition-property: box-shadow, border; |
|
|
|
|
-webkit-transition-duration: 0.2s; |
|
|
|
|
transition-duration: 0.2s; |
|
|
|
|
-webkit-transition-duration: 0.4s; |
|
|
|
|
transition-duration: 0.4s; |
|
|
|
|
} |
|
|
|
|
.toggle .toggle-handle { |
|
|
|
|
position: absolute; |
|
|
|
@ -1027,17 +1027,20 @@ input[type="button"] {
|
|
|
|
|
width: 28px; |
|
|
|
|
height: 28px; |
|
|
|
|
background-color: #fff; |
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.1); |
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.2); |
|
|
|
|
border-radius: 100px; |
|
|
|
|
-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08); |
|
|
|
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08); |
|
|
|
|
-webkit-transition-property: -webkit-transform, border, width; |
|
|
|
|
transition-property: -webkit-transform, border, width; |
|
|
|
|
-webkit-transition-duration: 0.2s; |
|
|
|
|
transition-duration: 0.2s; |
|
|
|
|
-webkit-transition-property: -webkit-transform, border, width, margin; |
|
|
|
|
transition-property: -webkit-transform, border, width, margin; |
|
|
|
|
-webkit-transition-duration: 0.1s; |
|
|
|
|
transition-duration: 0.1s; |
|
|
|
|
-webkit-transition-timing-function: ease-in-out; |
|
|
|
|
transition-timing-function: ease-in-out; |
|
|
|
|
} |
|
|
|
|
.toggle:active .toggle-handle { |
|
|
|
|
width: 35px; |
|
|
|
|
} |
|
|
|
|
.toggle.active { |
|
|
|
|
border: 2px solid #4cd964; |
|
|
|
|
-webkit-box-shadow: inset 0 0 0 30px #4cd964; |
|
|
|
@ -1048,6 +1051,9 @@ input[type="button"] {
|
|
|
|
|
-webkit-transform: translate3d(17px, 0, 0); |
|
|
|
|
transform: translate3d(17px, 0, 0); |
|
|
|
|
} |
|
|
|
|
.toggle.active .toggle-handle:active { |
|
|
|
|
margin-left: -7px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.content.fade { |
|
|
|
|
left: 0; |
|
|
|
|