fix(datetime): remove outline for focus and add ripple

This commit is contained in:
Brandy Carney
2018-02-28 15:35:56 -05:00
parent 95abd46ada
commit ec994dd56b
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,11 @@ ion-datetime {
background: transparent; background: transparent;
cursor: pointer; cursor: pointer;
&:active,
&:focus {
outline: none;
}
} }
.datetime-text { .datetime-text {

View File

@ -627,6 +627,7 @@ export class Datetime {
aria-disabled={this.disabled ? 'true' : false} aria-disabled={this.disabled ? 'true' : false}
onClick={this.open.bind(this)} onClick={this.open.bind(this)}
class='datetime-cover'> class='datetime-cover'>
{this.mode === 'md' ? <ion-ripple-effect /> : null}
</button> </button>
]; ];
} }