update(radio, slide-toggle, checkbox): faster ripple enter animations (#9754)

* Updates the slide-toggle, radio and checkbox ripples to have a quicker enter animation. This aligns more with the behavior MDC provides, and also feels more appropriate (for focus indicators) and is also more aligned with the specs.
This commit is contained in:
Paul Gschwendtner
2018-02-08 22:38:55 +01:00
committed by mmalerba
parent e4bca633c5
commit e4dd5d77a3
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
[matRippleDisabled]="_isRippleDisabled()"
[matRippleRadius]="25"
[matRippleCentered]="true"
[matRippleAnimation]="{enterDuration: 300}">
[matRippleAnimation]="{enterDuration: 150}">
</div>
<div class="mat-checkbox-frame"></div>
<div class="mat-checkbox-background">
+1 -1
View File
@@ -10,7 +10,7 @@
[matRippleDisabled]="_isRippleDisabled()"
[matRippleCentered]="true"
[matRippleRadius]="23"
[matRippleAnimation]="{enterDuration: 300}">
[matRippleAnimation]="{enterDuration: 150}">
</div>
</div>
+1 -1
View File
@@ -27,7 +27,7 @@
[matRippleDisabled]="disableRipple || disabled"
[matRippleCentered]="true"
[matRippleRadius]="23"
[matRippleAnimation]="{enterDuration: 300}">
[matRippleAnimation]="{enterDuration: 150}">
</div>
</div>