checkbox updates

This commit is contained in:
Adam Bradley
2015-07-27 22:36:32 -05:00
parent 64b53cdc7d
commit 0808785234
10 changed files with 129 additions and 79 deletions

View File

@ -4,21 +4,24 @@
.checkbox {
position: relative;
display: block;
cursor: pointer;
user-select: none;
@include user-select-none();
}
.checkbox input {
position: relative;
left: -9999px;
position: absolute;
width: 0;
height: 0;
margin: 0;
padding: 0;
opacity: 0;
border: none;
@include appearance(none);
}
.checkbox[aria-disabled=true] {
opacity: 0.5;
color: gray;
.media-checkbox {
color: inherit;
}
}