fix(actionsheet): disable button hover

Closes #204
This commit is contained in:
Adam Bradley
2015-09-29 07:32:13 -05:00
parent 86670d03ee
commit db33c27b65
3 changed files with 3 additions and 12 deletions

View File

@ -61,11 +61,6 @@ action-sheet-wrapper {
}
}
.action-sheet-has-icons .icon {
position: absolute;
left: 16px;
}
.action-sheet-title {
padding: 10px;
color: #8f8f8f;

View File

@ -59,16 +59,16 @@ import * as util from 'ionic/util';
'<div class="action-sheet-container">' +
'<div class="action-sheet-group action-sheet-options">' +
'<div class="action-sheet-title" *ng-if="titleText">{{titleText}}</div>' +
'<button (click)="_buttonClicked(index)" *ng-for="#b of buttons; #index = index" class="action-sheet-option">' +
'<button (click)="_buttonClicked(i)" *ng-for="#b of buttons; #i=index" class="action-sheet-option disable-hover">' +
'<icon [name]="b.icon" *ng-if="b.icon"></icon> ' +
'{{b.text}}' +
'</button>' +
'<button *ng-if="destructiveText" (click)="_destructive()" class="destructive action-sheet-destructive">' +
'<button *ng-if="destructiveText" (click)="_destructive()" class="action-sheet-destructive disable-hover">' +
'<icon [name]="destructiveIcon" *ng-if="destructiveIcon"></icon> ' +
'{{destructiveText}}</button>' +
'</div>' +
'<div class="action-sheet-group action-sheet-cancel" *ng-if="cancelText">' +
'<button (click)="_cancel()">' +
'<button (click)="_cancel()" class=" disable-hover">' +
'<icon [name]="cancelIcon"></icon> ' +
'{{cancelText}}</button>' +
'</div>' +

View File

@ -35,10 +35,6 @@ ion-action-sheet {
}
}
.action-sheet-container button:hover:not(.disable-hover) {
color: $action-sheet-options-text-color;
}
ion-action-sheet button {
min-height: $action-sheet-ios-height;
padding: $action-sheet-ios-padding;