From c4dee3eaad1e0ff3d06b5ee322747515a5f9317e Mon Sep 17 00:00:00 2001 From: Tykayn Date: Wed, 2 Feb 2022 16:28:52 +0100 Subject: [PATCH] center column, step 2 buttons and text --- .../steps/step-two/step-two.component.html | 62 +++++++++---------- .../steps/step-two/step-two.component.scss | 54 +++++++++++----- .../nav-steps/nav-steps.component.html | 2 +- .../nav-steps/nav-steps.component.scss | 8 +++ src/assets/i18n/EN.json | 10 ++- src/assets/i18n/FR.json | 4 +- src/styles/partials/_forms.scss | 6 +- src/styles/partials/_typo.scss | 2 + src/styles/partials/global.scss | 6 +- src/styles/variables.scss | 5 +- 10 files changed, 94 insertions(+), 65 deletions(-) diff --git a/src/app/features/administration/form/steps/step-two/step-two.component.html b/src/app/features/administration/form/steps/step-two/step-two.component.html index 9798052a..91770748 100644 --- a/src/app/features/administration/form/steps/step-two/step-two.component.html +++ b/src/app/features/administration/form/steps/step-two/step-two.component.html @@ -3,40 +3,38 @@
-

+

{{ 'creation.want' | translate }} -

-
-
-
-
- - - -
+ +
+
+
+ icone cal + +
-
-
- - - -
+ +
+ icone chart + + +
diff --git a/src/app/features/administration/form/steps/step-two/step-two.component.scss b/src/app/features/administration/form/steps/step-two/step-two.component.scss index 96441fbb..bdcfddf9 100644 --- a/src/app/features/administration/form/steps/step-two/step-two.component.scss +++ b/src/app/features/administration/form/steps/step-two/step-two.component.scss @@ -1,31 +1,53 @@ @import '../../../../../../styles/variables'; - +.poll-kind { + .title { + margin-bottom: 32px; + font-size: 32px; + line-height: 36.8px; + } +} .kind-of-poll { - margin-top: 5em; min-height: 30vh; + .fa { margin-right: 1em; } + .button { - background: $d-grey; + background: $d-blue30; border: solid white 1px; + border-radius: 8px; transition: background-color ease 1.5s; color: $font-color; - &.is-selected { - background: $secondary_color; - border: solid $primary-color 1px; - color: $white; - label { - color: $white; - } - .fa { - color: $white; - } + margin-bottom: 0.85rem; + padding: 1rem; + + label { + font-weight: 700; + font-size: 14px; + line-height: 16px; } - &:hover { - background: $secondary_color; + + img { + margin-right: 11px; + margin-left: 0; + margin-top: -2px; + height: 18px; + width: 18px; + line-height: 18px; + } + + input[type='radio'] { + width: 24px; + height: 24px; + } + + &.is-selected { + border: solid $primary-color 1px; + } + + &:hover { border: solid $primary-color 1px; - color: $white; transition: background-color ease 0.25s; } } diff --git a/src/app/features/administration/nav-steps/nav-steps.component.html b/src/app/features/administration/nav-steps/nav-steps.component.html index d6b66a5e..9e75bd78 100644 --- a/src/app/features/administration/nav-steps/nav-steps.component.html +++ b/src/app/features/administration/nav-steps/nav-steps.component.html @@ -2,7 +2,7 @@