fix(disable): disable tap for inputs

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
This commit is contained in:
Adam Bradley
2015-11-20 20:29:28 -06:00
parent 002e5e86a6
commit a7505f6ac9
3 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@ ion-checkbox {
@include user-select-none(); @include user-select-none();
} }
ion-checkbox[aria-disabled=true] .item-inner > * { ion-checkbox[aria-disabled=true] {
pointer-events: none;
opacity: 0.5; opacity: 0.5;
color: $subdued-text-color; color: $subdued-text-color;
pointer-events: none;
} }

View File

@ -9,7 +9,7 @@ ion-radio {
@include user-select-none(); @include user-select-none();
} }
ion-radio[aria-disabled=true] .item-inner > * { ion-radio[aria-disabled=true] {
opacity: 0.5; opacity: 0.5;
color: $subdued-text-color; color: $subdued-text-color;
pointer-events: none; pointer-events: none;

View File

@ -13,8 +13,8 @@ ion-switch media-switch {
cursor: pointer; cursor: pointer;
} }
ion-switch[aria-disabled=true] .item-inner > * { ion-switch[aria-disabled=true] {
pointer-events: none;
opacity: 0.5; opacity: 0.5;
color: $subdued-text-color; color: $subdued-text-color;
pointer-events: none;
} }