mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(inputs): keyboard focus improvements (#16838)
fixes #16815 fixes #16872 fixes #13978 fixes #16610
This commit is contained in:
@ -83,7 +83,7 @@
|
||||
}
|
||||
|
||||
// Focused/Activated Solid Button with Color
|
||||
:host(.button-solid.ion-color.focused) .button-native {
|
||||
:host(.button-solid.ion-color.ion-focused) .button-native {
|
||||
background: #{current-color(shade)};
|
||||
}
|
||||
|
||||
@ -107,7 +107,7 @@
|
||||
color: current-color(base);
|
||||
}
|
||||
|
||||
:host(.button-outline.focused.ion-color) .button-native {
|
||||
:host(.button-outline.ion-focused.ion-color) .button-native {
|
||||
background: current-color(base, .1);
|
||||
color: current-color(base);
|
||||
}
|
||||
@ -130,7 +130,7 @@
|
||||
}
|
||||
|
||||
// Focused Clear Button with Color
|
||||
:host(.button-clear.focused.ion-color) .button-native {
|
||||
:host(.button-clear.ion-focused.ion-color) .button-native {
|
||||
background: current-color(base, .1);
|
||||
color: current-color(base);
|
||||
}
|
||||
@ -231,7 +231,7 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
:host(.focused) .button-native {
|
||||
:host(.ion-focused) .button-native {
|
||||
background: var(--background-focused);
|
||||
color: var(--color-focused);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user