-
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
- Loading branch information
1 parent
b939cd8
commit 0b23fbd
Showing
5 changed files
with
48 additions
and
14 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> | ||
[mdRippleCentered]="_isIconButton()" | ||
[class.mat-button-ripple-round]="_isRoundButton() || _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