1 .toggle-input-wrapper {
8 vertical-align: middle;
24 input.toggle-round-flat + label {
27 height: $toggle-height;
28 background-color: $dark-gray;
29 border-radius: $toggle-height;
30 transition: background 0.4s;
32 input.toggle-round-flat + label:before,
33 input.toggle-round-flat + label:after {
38 input.toggle-round-flat + label:before {
43 background-color: $white;
44 border-radius: $toggle-height;
45 transition: background 0.4s;
47 input.toggle-round-flat + label:after {
51 width: $toggle-height - 8;
52 background-color: $dark-gray;
53 border-radius: $toggle-height - 8;
54 transition: margin 0.4s, background 0.4s;
56 input.toggle-round-flat:checked + label {
57 background-color: $link-blue;
59 input.toggle-round-flat:checked + label:after {
60 margin-left: $toggle-height;
61 background-color: $link-blue;