feat(button): disabled attr on button css styling

This commit is contained in:
Adam Bradley
2015-12-14 14:15:30 -06:00
parent 2fef3c0cd9
commit e387e0763a
3 changed files with 7 additions and 2 deletions

View File

@@ -127,7 +127,8 @@ button {
}
// Re-set default cursor for disabled elements.
.button-disabled,
a[disabled],
button[disabled]
html input[disabled] {
cursor: default;
}

View File

@@ -35,7 +35,7 @@ a.button {
text-decoration: none;
}
.button-disabled {
.button[disabled] {
opacity: 0.4;
cursor: default !important;
pointer-events: none;

View File

@@ -35,4 +35,8 @@
<button dark class="activated">Dark.activated</button>
</p>
<p>
<button disabled>Disabled</button>
</p>
</ion-content>