From d26dac808ff5a1417058d683e26109cd58e0c7bd Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Thu, 6 Feb 2020 16:04:31 +0300 Subject: [PATCH 01/23] Update primary and background color Signed-off-by: Olga Bulat --- src/App.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index 254488ecc..29a34cecc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -57,9 +57,7 @@ export default { - From a55e71334c56bb01f1ff3bb68a11d9c06d5c67a5 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Thu, 6 Feb 2020 17:39:06 +0300 Subject: [PATCH 02/23] Style Help section according to the mockup Convert Help buttons into links; render links using 'modals' object and v-for loop Signed-off-by: Olga Bulat --- src/components/HelpSection.vue | 84 ++++++++++------------------------ 1 file changed, 24 insertions(+), 60 deletions(-) diff --git a/src/components/HelpSection.vue b/src/components/HelpSection.vue index d29d0256c..036504d6b 100644 --- a/src/components/HelpSection.vue +++ b/src/components/HelpSection.vue @@ -1,58 +1,17 @@ - From a5940abb3fa30a1f207474c93b5b7196ebe66e0f Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Mon, 10 Feb 2020 23:36:34 +0300 Subject: [PATCH 10/23] Add vuex to AttributionDetails component Signed-off-by: Olga Bulat --- src/components/AttributionDetails.vue | 42 +++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 5 deletions(-) diff --git a/src/components/AttributionDetails.vue b/src/components/AttributionDetails.vue index b308d32e6..884c6368c 100644 --- a/src/components/AttributionDetails.vue +++ b/src/components/AttributionDetails.vue @@ -1,29 +1,29 @@ - diff --git a/src/components/FirstStep.vue b/src/components/FirstStep.vue index b401f3a2b..a9d6e5389 100644 --- a/src/components/FirstStep.vue +++ b/src/components/FirstStep.vue @@ -21,31 +21,24 @@ @@ -141,4 +275,42 @@ export default { font-size: 18px; line-height: 24px; } + /* Tooltip container */ + .tooltip { + position: relative; + width: 100%; + display: inline-block; + } + + /* Tooltip text */ + .tooltip .tooltiptext { + visibility: hidden; + width: 80%; + background-color: gray; + color: #fff; + text-align: center; + padding: 5px 0; + border-radius: 6px; + + /* Position the tooltip text - see examples below! */ + position: absolute; + z-index: 1; + top: -5px; + } + + /* Show the tooltip text when you mouse over the tooltip container */ + .tooltip:hover .tooltiptext { + visibility: visible; + } + .tooltip .tooltiptext::after { + content: " "; + position: absolute; + top: 100%; /* At the bottom of the tooltip */ + left: 50%; + margin-left: -5px; + border-width: 5px; + border-style: solid; + border-color: gray transparent transparent transparent; + } + diff --git a/src/locales/en.json b/src/locales/en.json index 6d6dfc11d..a42324eeb 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -198,5 +198,6 @@ "finish": "SEE THE LICENSE" }, "yes": "Yes. ", - "no": "No. " + "no": "No. ", + "disabled-tooltip.SA": "This step is disabled because you chose ND" } From 126a4d9596e31f0ed14245292e328994f3f6b35e Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Thu, 13 Feb 2020 10:51:50 +0300 Subject: [PATCH 14/23] Rename components: VerticalStep and VerticalStepper to Step and Stepper Signed-off-by: Olga Bulat --- src/App.vue | 8 +- src/components/{VerticalStep.vue => Step.vue} | 20 +--- .../{VerticalStepper.vue => Stepper.vue} | 95 ++++++++++++++----- src/store/index.js | 2 +- 4 files changed, 78 insertions(+), 47 deletions(-) rename src/components/{VerticalStep.vue => Step.vue} (83%) rename src/components/{VerticalStepper.vue => Stepper.vue} (86%) diff --git a/src/App.vue b/src/App.vue index 425479546..439c4f0ed 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,7 @@
- +
diff --git a/src/components/VerticalStepper.vue b/src/components/Stepper.vue similarity index 86% rename from src/components/VerticalStepper.vue rename to src/components/Stepper.vue index 5620ca12b..26054d154 100644 --- a/src/components/VerticalStepper.vue +++ b/src/components/Stepper.vue @@ -9,7 +9,12 @@ {{$t('disabled-tooltip.'+step.name)}}
- + + + + {{idx+1}} + +
{{$t(headerText(step.name))}}
- - - + -
-
-
-
-

- Built with Vocabulary. -

-

- Icons by The Noun Project and - FontAwesome. -

-

- Contribute on Github. -

-
- -
-
+