mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
fix(input, select, textarea): border color is set on host (#26941)
This commit is contained in:
@ -47,8 +47,8 @@
|
||||
* If the input has a validity state, the
|
||||
* border and label should reflect that as a color.
|
||||
*/
|
||||
:host(.ion-touched.ion-valid) .input-bottom,
|
||||
:host(.ion-touched.ion-invalid) .input-bottom {
|
||||
:host(.ion-touched.ion-valid),
|
||||
:host(.ion-touched.ion-invalid) {
|
||||
--border-color: var(--highlight-color);
|
||||
}
|
||||
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
* If the input has a validity state, the
|
||||
* border should reflect that as a color.
|
||||
*/
|
||||
:host(.input-fill-solid.ion-touched.ion-valid) .input-wrapper,
|
||||
:host(.input-fill-solid.ion-touched.ion-invalid) .input-wrapper {
|
||||
:host(.input-fill-solid.ion-touched.ion-valid),
|
||||
:host(.input-fill-solid.ion-touched.ion-invalid) {
|
||||
--border-color: var(--highlight-color);
|
||||
}
|
||||
|
||||
|
||||
@ -347,8 +347,8 @@
|
||||
* If the input has a validity state, the
|
||||
* border and label should reflect that as a color.
|
||||
*/
|
||||
:host(.ion-touched.ion-valid) .input-bottom,
|
||||
:host(.ion-touched.ion-invalid) .input-bottom {
|
||||
:host(.ion-touched.ion-valid),
|
||||
:host(.ion-touched.ion-invalid) {
|
||||
--border-color: var(--highlight-color);
|
||||
}
|
||||
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
* If the select has a validity state, the
|
||||
* border should reflect that as a color.
|
||||
*/
|
||||
:host(.select-fill-solid.ion-touched.ion-valid) .select-wrapper,
|
||||
:host(.select-fill-solid.ion-touched.ion-invalid) .select-wrapper {
|
||||
:host(.select-fill-solid.ion-touched.ion-valid),
|
||||
:host(.select-fill-solid.ion-touched.ion-invalid) {
|
||||
--border-color: var(--highlight-color);
|
||||
}
|
||||
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
* If the textarea has a validity state, the
|
||||
* border should reflect that as a color.
|
||||
*/
|
||||
:host(.textarea-fill-solid.ion-touched.ion-valid) .textarea-wrapper,
|
||||
:host(.textarea-fill-solid.ion-touched.ion-invalid) .textarea-wrapper {
|
||||
:host(.textarea-fill-solid.ion-touched.ion-valid),
|
||||
:host(.textarea-fill-solid.ion-touched.ion-invalid) {
|
||||
--border-color: var(--highlight-color);
|
||||
}
|
||||
|
||||
|
||||
@ -366,8 +366,8 @@
|
||||
* If the textarea has a validity state, the
|
||||
* border and label should reflect that as a color.
|
||||
*/
|
||||
:host(.ion-touched.ion-valid) .textarea-bottom,
|
||||
:host(.ion-touched.ion-invalid) .textarea-bottom {
|
||||
:host(.ion-touched.ion-valid),
|
||||
:host(.ion-touched.ion-invalid) {
|
||||
--border-color: var(--highlight-color);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user