Skip to content

Commit baf8359

Browse files
committed
(style) - Fix color icon collapse accordion for future and ongoing stat slot
1 parent 25d918b commit baf8359

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

mobile/src/components/timeslots/TimeSlotAccordion.vue

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@ const hasMissingFeedback = computed(() => {
212212
._ongoing-progress { display: block; }
213213
._accordion-icon { color: var(--app-white) !important;}
214214
215-
.ion-accordion-toggle-icon {
216-
color: var(--app-white) !important;
217-
}
218-
219215
&._missing-feedback:not(._is-break) ._missing-feedback { display: inline-block;}
220216
&._feedback-provided:not(._is-break) ._provided-feedback {display: inline-block;}
221217
}
@@ -236,14 +232,6 @@ const hasMissingFeedback = computed(() => {
236232
237233
._accordion-icon._future-icon { display: inline-block; }
238234
._accordion-icon { color: var(--app-white) !important;}
239-
240-
.ion-accordion-toggle-icon {
241-
color: var(--app-white) !important;
242-
243-
@media (prefers-color-scheme: dark) {
244-
color: var(--app-medium-contrast);
245-
}
246-
}
247235
}
248236
249237
ion-item {

mobile/src/styles/vendors/ionic/customs/_custom-ion-accordion.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
}
99
}
1010

11+
12+
/* Fix color icon for specific stat accordion */
13+
._chronological_status_is_ongoing, ._chronological_status_is_future {
14+
.ion-accordion-toggle-icon {
15+
color: var(--app-white);
16+
}
17+
}
1118
/*
1219
TODO: would be nice to move this into time-slot-accordion
1320
But beware as this class is also used in new-feedback-page (it would be nice to refacto this usage

0 commit comments

Comments
 (0)