mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(ripple-effect): follow MD spec (#16330)
* fix(ripple-effect): follow md spec * add box-shadow back * add ripple effect to alert and action-sheet
This commit is contained in:
@ -73,7 +73,6 @@
|
||||
// Default Solid Color
|
||||
:host(.button-solid) {
|
||||
--background: #{ion-color(primary, base)};
|
||||
--background-activated: #{ion-color(primary, shade)};
|
||||
--background-focused: #{ion-color(primary, shade)};
|
||||
--color: #{ion-color(primary, contrast)};
|
||||
--color-activated: #{ion-color(primary, contrast)};
|
||||
@ -87,8 +86,7 @@
|
||||
}
|
||||
|
||||
// Focused/Activated Solid Button with Color
|
||||
:host(.button-solid.ion-color.focused) .button-native,
|
||||
:host(.button-solid.ion-color.activated) .button-native {
|
||||
:host(.button-solid.ion-color.focused) .button-native {
|
||||
background: #{current-color(shade)};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user