mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
checkbox updates
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user