From e3b54acb65a576843a9fb9d4d26754188f152d79 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Mon, 6 Dec 2021 12:51:37 +0100 Subject: [PATCH] colors on selector of input in date list --- .../core/components/home/home.component.scss | 1 + .../steps/step-four/step-four.component.html | 9 ++---- .../steps/step-four/step-four.component.scss | 5 ++++ .../steps/step-four/step-four.component.ts | 1 - .../step-three/step-three.component.html | 2 +- .../step-three/step-three.component.scss | 9 ++++++ .../nav-steps/nav-steps.component.html | 4 +-- .../nav-steps/nav-steps.component.scss | 8 +++++ .../stepper/stepper.component.scss | 2 +- src/styles/dev-utilities/_helpers.scss | 29 +++++++++++++++++++ src/styles/partials/_datepicker.scss | 23 +++++++++------ src/styles/partials/_forms.scss | 25 ---------------- src/styles/variables.scss | 7 +++-- 13 files changed, 76 insertions(+), 49 deletions(-) diff --git a/src/app/core/components/home/home.component.scss b/src/app/core/components/home/home.component.scss index 0d558d80..8b2db1da 100644 --- a/src/app/core/components/home/home.component.scss +++ b/src/app/core/components/home/home.component.scss @@ -22,6 +22,7 @@ &.is-secondary { color: $white !important; background: $secondary_color !important; + border-color: $secondary_color !important; } } diff --git a/src/app/features/administration/form/steps/step-four/step-four.component.html b/src/app/features/administration/form/steps/step-four/step-four.component.html index b58cdcb0..5de02b82 100644 --- a/src/app/features/administration/form/steps/step-four/step-four.component.html +++ b/src/app/features/administration/form/steps/step-four/step-four.component.html @@ -38,9 +38,6 @@
- - -

Choisissez les horaires ou options à appliquer à toutes les dates @@ -61,12 +58,13 @@

-
+
-
diff --git a/src/app/features/administration/form/steps/step-four/step-four.component.scss b/src/app/features/administration/form/steps/step-four/step-four.component.scss index 5ab410dc..e55f20bd 100644 --- a/src/app/features/administration/form/steps/step-four/step-four.component.scss +++ b/src/app/features/administration/form/steps/step-four/step-four.component.scss @@ -1 +1,6 @@ @import '../../../../../../styles/variables'; +@import '../../../../../../styles/dev-utilities/helpers'; + +.time-choice { + @extend .rounded-block; +} diff --git a/src/app/features/administration/form/steps/step-four/step-four.component.ts b/src/app/features/administration/form/steps/step-four/step-four.component.ts index add0ef7c..b5915713 100644 --- a/src/app/features/administration/form/steps/step-four/step-four.component.ts +++ b/src/app/features/administration/form/steps/step-four/step-four.component.ts @@ -92,6 +92,5 @@ export class StepFourComponent implements OnInit { this.pollService.dateChoiceList.forEach((elem) => { return (elem.timeSlices = timeSlicesToApply); }); - this.toastService.display(`time slices appliquées avec succès`); } } diff --git a/src/app/features/administration/form/steps/step-three/step-three.component.html b/src/app/features/administration/form/steps/step-three/step-three.component.html index 216de505..6274b3f6 100644 --- a/src/app/features/administration/form/steps/step-three/step-three.component.html +++ b/src/app/features/administration/form/steps/step-three/step-three.component.html @@ -3,7 +3,7 @@