|
21 | 21 | * only apply to floating or stacked labels. |
22 | 22 | */ |
23 | 23 | :host(.select-label-placement-floating.select-expanded) .label-text-wrapper, |
24 | | -:host(.select-label-placement-floating.ion-focused) .label-text-wrapper, |
| 24 | +:host(.select-label-placement-floating.has-focus) .label-text-wrapper, |
25 | 25 | :host(.select-label-placement-stacked.select-expanded) .label-text-wrapper, |
26 | | -:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper { |
| 26 | +:host(.select-label-placement-stacked.has-focus) .label-text-wrapper { |
27 | 27 | color: var(--highlight-color); |
28 | 28 | } |
29 | 29 |
|
30 | | -:host(.ion-focused.select-label-placement-floating.ion-valid) .label-text-wrapper, |
| 30 | +:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper, |
31 | 31 | :host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper, |
32 | | -:host(.ion-focused.select-label-placement-stacked.ion-valid) .label-text-wrapper, |
| 32 | +:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper, |
33 | 33 | :host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper { |
34 | 34 | color: var(--highlight-color); |
35 | 35 | } |
|
53 | 53 | } |
54 | 54 |
|
55 | 55 | :host(.select-expanded) .select-highlight, |
56 | | -:host(.ion-focused) .select-highlight { |
| 56 | +:host(.has-focus) .select-highlight { |
57 | 57 | transform: scale(1); |
58 | 58 | } |
59 | 59 |
|
|
104 | 104 | * color if there is a validation state. |
105 | 105 | */ |
106 | 106 | :host(.select-expanded) .select-wrapper .select-icon, |
107 | | -:host(.ion-focused.ion-valid) .select-wrapper .select-icon, |
| 107 | +:host(.has-focus.ion-valid) .select-wrapper .select-icon, |
108 | 108 | :host(.ion-touched.ion-invalid) .select-wrapper .select-icon, |
109 | | -:host(.ion-focused) .select-wrapper .select-icon { |
| 109 | +:host(.has-focus) .select-wrapper .select-icon { |
110 | 110 | color: var(--highlight-color); |
111 | 111 | } |
112 | 112 |
|
|
0 commit comments