mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00

I know this change allows the bottom line to have an opacity too, but this is the lesser of evils. Removed use of * selector, and able to disable tap inputs. Closes #610
21 lines
298 B
SCSS
21 lines
298 B
SCSS
|
|
// Switch
|
|
// --------------------------------------------------
|
|
|
|
|
|
ion-switch {
|
|
display: block;
|
|
@include user-select-none();
|
|
}
|
|
|
|
ion-switch media-switch {
|
|
margin: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
ion-switch[aria-disabled=true] {
|
|
opacity: 0.5;
|
|
color: $subdued-text-color;
|
|
pointer-events: none;
|
|
}
|