mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(components): fix issues with button states (#20278)
- Update action sheet colors to match spec (md) - Remove activated background on buttons (md - uses ripple) - Update Segment Button to use proper indicator color when inside of a toolbar - Add back input highlight on focus fixes #20276
This commit is contained in:
@ -129,16 +129,13 @@
|
||||
// Material Design Button: Hover
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.button-solid.ion-color.ion-activated) .button-native::after,
|
||||
:host(.button-solid.ion-color.ion-focused) .button-native::after {
|
||||
background: #{current-color(contrast)};
|
||||
|
||||
opacity: .24;
|
||||
}
|
||||
|
||||
:host(.button-clear.ion-color.ion-activated) .button-native::after,
|
||||
:host(.button-clear.ion-color.ion-focused) .button-native::after,
|
||||
:host(.button-outline.ion-color.ion-activated) .button-native::after,
|
||||
:host(.button-outline.ion-color.ion-focused) .button-native::after {
|
||||
background: #{current-color(base)};
|
||||
|
||||
|
Reference in New Issue
Block a user