-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(button): polished icon buttons ripples
- changed Icon button ripples to start from the center and removed hover style on icon buttons
- Loading branch information
1 parent
aa3360a
commit c6e2f57
Showing
5 changed files
with
53 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<span class="mat-button-wrapper"><ng-content></ng-content></span> | ||
<div md-ripple *ngIf="!_isRippleDisabled()" class="mat-button-ripple" | ||
[class.mat-button-ripple-round]="_isRoundButton" | ||
[mdRippleTrigger]="_getHostElement()"></div> | ||
[class.mat-button-ripple-round]="_isRoundButton || _isIconButton" | ||
[mdRippleCentered]="_isIconButton" | ||
[mdRippleTrigger]="_getHostElement()"></div> | ||
<!-- the touchstart handler prevents the overlay from capturing the initial tap on touch devices --> | ||
<div class="mat-button-focus-overlay" (touchstart)="$event.preventDefault()"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters