Skip to content

Commit c984fa4

Browse files
committed
refactor(select): update style order
1 parent a93adf3 commit c984fa4

File tree

3 files changed

+13
-32
lines changed

3 files changed

+13
-32
lines changed

core/src/components/select/select.md.outline.scss

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -240,19 +240,3 @@
240240
:host(.label-floating.select-fill-outline) .select-outline-notch {
241241
border-top: none;
242242
}
243-
244-
// Select Icon
245-
// ----------------------------------------------------------------
246-
247-
/**
248-
* When the select is focused the icon should
249-
* take on the highlight color.
250-
* The icon should also take on the highlight
251-
* color if there is a validation state.
252-
*/
253-
:host(.select-expanded) .select-wrapper .select-icon,
254-
:host(.ion-focused.ion-valid) .select-wrapper .select-icon,
255-
:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,
256-
:host(.ion-focused) .select-wrapper .select-icon {
257-
color: var(--highlight-color);
258-
}

core/src/components/select/select.md.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@
8686
@include transform(rotate(180deg));
8787
}
8888

89+
/**
90+
* When the select is focused the icon should
91+
* take on the highlight color.
92+
* The icon should also take on the highlight
93+
* color if there is a validation state.
94+
*/
95+
:host(.select-expanded) .select-wrapper .select-icon,
96+
:host(.ion-focused.ion-valid) .select-wrapper .select-icon,
97+
:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,
98+
:host(.ion-focused) .select-wrapper .select-icon {
99+
color: var(--highlight-color);
100+
}
101+
89102
:host(.in-item.select-expanded) .select-wrapper .select-icon {
90103
color: #{$text-color-step-500};
91104
}

core/src/components/select/select.md.solid.scss

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,3 @@
7979
*/
8080
max-width: calc(100% / #{$form-control-label-stacked-scale});
8181
}
82-
83-
// Select Icon
84-
// ----------------------------------------------------------------
85-
86-
/**
87-
* When the select is focused the icon should
88-
* take on the highlight color.
89-
* The icon should also take on the highlight
90-
* color if there is a validation state.
91-
*/
92-
:host(.select-expanded) .select-wrapper .select-icon,
93-
:host(.ion-focused.ion-valid) .select-wrapper .select-icon,
94-
:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,
95-
:host(.ion-focused) .select-wrapper .select-icon {
96-
color: var(--highlight-color);
97-
}

0 commit comments

Comments
 (0)