Files
Adam Bradley 51516b8b64 iOS switch
2015-07-28 14:16:45 -05:00

31 lines
412 B
SCSS

// Switch
// --------------------------------------------------
.switch {
position: relative;
cursor: pointer;
@include user-select-none();
}
.switch input {
position: absolute;
width: 0;
height: 0;
margin: 0;
padding: 0;
opacity: 0;
border: none;
@include appearance(none);
}
.switch .input-label {
max-width: 100%;
}
.switch[aria-disabled=true] {
opacity: 0.5;
color: gray;
}