From 64c4f1ed918e93e7599effc615b7b23b41887199 Mon Sep 17 00:00:00 2001 From: Phillip Kelly Date: Wed, 13 Dec 2023 18:19:58 -0500 Subject: [PATCH 01/28] DIG-3665: UI/UX Update Registry Marriage Intention Form - Navigation --- .../src/__snapshots__/Storyshots.test.ts.snap | 1634 ++++++++++++++++- .../src/components/ProgressNav.stories.tsx | 140 ++ .../src/components/ProgressNav.tsx | 234 +++ modules-js/react-fleet/src/react-fleet.ts | 1 + .../react-fleet/src/utilities/constants.ts | 1 + .../react-fleet/src/utilities/interfaces.ts | 13 + modules-js/storybook-common/src/wrappers.tsx | 3 +- .../registry-certs/client/PageWrapper.tsx | 17 +- .../__snapshots__/Storyshots.test.ts.snap | 34 +- .../common/checkout/CheckoutPageLayout.tsx | 5 +- .../client/common/checkout/PaymentContent.tsx | 6 +- .../client/common/checkout/ReviewContent.tsx | 6 +- .../common/checkout/ShippingContent.tsx | 6 +- .../marriageintention/forms/partnerForm.tsx | 1113 +++++++++++ .../marriageintention/forms/partnerFormA.tsx | 97 +- .../marriageintention/forms/partnerFormUI.tsx | 164 ++ .../client/marriageintention/index.tsx | 93 +- .../MarriageIntentionCertificateRequest.ts | 47 +- services-js/registry-certs/client/types.ts | 8 + services-js/registry-certs/lib/interfaces.ts | 18 + 20 files changed, 3436 insertions(+), 204 deletions(-) create mode 100644 modules-js/react-fleet/src/components/ProgressNav.stories.tsx create mode 100644 modules-js/react-fleet/src/components/ProgressNav.tsx create mode 100644 modules-js/react-fleet/src/utilities/interfaces.ts create mode 100644 services-js/registry-certs/client/marriageintention/forms/partnerForm.tsx create mode 100644 services-js/registry-certs/client/marriageintention/forms/partnerFormUI.tsx create mode 100644 services-js/registry-certs/lib/interfaces.ts diff --git a/modules-js/react-fleet/src/__snapshots__/Storyshots.test.ts.snap b/modules-js/react-fleet/src/__snapshots__/Storyshots.test.ts.snap index 6cc298a2c..194fa6b66 100644 --- a/modules-js/react-fleet/src/__snapshots__/Storyshots.test.ts.snap +++ b/modules-js/react-fleet/src/__snapshots__/Storyshots.test.ts.snap @@ -1620,7 +1620,7 @@ exports[`Storyshots Form Elements|Inputs/MemorableDateInput onlyAllowFuture 1`] id="future-year" max="9999" maxLength={4} - min={2023} + min={2024} name="year" onBlur={[Function]} onChange={[Function]} @@ -1770,7 +1770,7 @@ exports[`Storyshots Form Elements|Inputs/MemorableDateInput onlyAllowFuture and id="story-year" max="9999" maxLength={4} - min={2023} + min={2024} name="year" onBlur={[Function]} onChange={[Function]} @@ -1920,7 +1920,7 @@ exports[`Storyshots Form Elements|Inputs/MemorableDateInput onlyAllowFuture and id="story-year" max={2040} maxLength={4} - min={2023} + min={2024} name="year" onBlur={[Function]} onChange={[Function]} @@ -2070,7 +2070,7 @@ exports[`Storyshots Form Elements|Inputs/MemorableDateInput onlyAllowFuture and id="story-year" max={2040} maxLength={4} - min={2023} + min={2024} name="year" onBlur={[Function]} onChange={[Function]} @@ -2218,7 +2218,7 @@ exports[`Storyshots Form Elements|Inputs/MemorableDateInput onlyAllowPast 1`] = `; +exports[`Storyshots ProgressNav Step 1: Getting Started (default) 1`] = ` +.emotion-0 { + display: grid; + margin: auto; + margin-top: 0.75rem; + grid-auto-columns: 1fr; + grid-auto-rows: 1fr; + grid-template-columns: repeat(3; 1fr); +} + +.emotion-0 .progressbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.emotion-0 .progressbar .nav { + display: table; + -webkit-flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + line-height: normal; + font-style: normal; + font-family: Lora,serif; + color: #000; +} + +.emotion-0 .progressbar .nav a { + display: table-cell; + border-width: 1px; + border-color: black; + border-style: solid; + border-left-width: 0; + padding: 0.85em 0em; + min-width: 80px; + color: black; + background: #fff; + min-width: 120px; + font-size: 0.85em; +} + +.emotion-0 .progressbar .nav a:last-child { + grid-column-start: 2; +} + +.emotion-0 .progressbar .nav a:first-child { + border-left-width: 1px; +} + +.emotion-0 .progressbar .nav a.completed, +.emotion-0 .progressbar .nav a.completed:hover, +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.focused { + color: white; + cursor: pointer; + background: #1871bd; +} + +.emotion-0 .progressbar .nav a.focused, +.emotion-0 .progressbar .nav a.completed:hover { + box-shadow: inset 0 0 0px 1px #fff; +} + +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.completed .current, +.emotion-0 .progressbar .nav a.completed .focused .current { + color: #000; + background: #fff; +} + +.emotion-0 .progressbar .nav a.uncompleted, +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + color: #000; + background: #C8C8C8; +} + +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + cursor: default; +} + +.emotion-0 .progressbar .progress-text { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + font-style: italic; + font-size: 1rem; + margin-top: 0.5rem; +} + +.emotion-0 .progressbar .progress-text .mobile { + display: none; +} + +@media screen and (max-width:540px) { + .emotion-0 { + max-width: 25.875em; + } + + .emotion-0 .progressbar .nav a { + overflow: hidden; + min-width: 10px; + padding: 0.5em 0; + text-indent: -500px; + line-height: 0; + } + + .emotion-0 .progressbar .progress-text .mobile { + display: inline-block; + } +} + +
+
+
+
+ + Getting Started + + + + Person 1 + + + + Person 2 + + + + Contact Info + + + + Review + + + + Submit + + +
+
+ + Step 1 of 6 + + + : + + Getting Started + +
+
+
+
+`; + +exports[`Storyshots ProgressNav Step 2: Person 1 1`] = ` +.emotion-0 { + display: grid; + margin: auto; + margin-top: 0.75rem; + grid-auto-columns: 1fr; + grid-auto-rows: 1fr; + grid-template-columns: repeat(3; 1fr); +} + +.emotion-0 .progressbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.emotion-0 .progressbar .nav { + display: table; + -webkit-flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + line-height: normal; + font-style: normal; + font-family: Lora,serif; + color: #000; +} + +.emotion-0 .progressbar .nav a { + display: table-cell; + border-width: 1px; + border-color: black; + border-style: solid; + border-left-width: 0; + padding: 0.85em 0em; + min-width: 80px; + color: black; + background: #fff; + min-width: 120px; + font-size: 0.85em; +} + +.emotion-0 .progressbar .nav a:last-child { + grid-column-start: 2; +} + +.emotion-0 .progressbar .nav a:first-child { + border-left-width: 1px; +} + +.emotion-0 .progressbar .nav a.completed, +.emotion-0 .progressbar .nav a.completed:hover, +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.focused { + color: white; + cursor: pointer; + background: #1871bd; +} + +.emotion-0 .progressbar .nav a.focused, +.emotion-0 .progressbar .nav a.completed:hover { + box-shadow: inset 0 0 0px 1px #fff; +} + +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.completed .current, +.emotion-0 .progressbar .nav a.completed .focused .current { + color: #000; + background: #fff; +} + +.emotion-0 .progressbar .nav a.uncompleted, +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + color: #000; + background: #C8C8C8; +} + +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + cursor: default; +} + +.emotion-0 .progressbar .progress-text { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + font-style: italic; + font-size: 1rem; + margin-top: 0.5rem; +} + +.emotion-0 .progressbar .progress-text .mobile { + display: none; +} + +@media screen and (max-width:540px) { + .emotion-0 { + max-width: 25.875em; + } + + .emotion-0 .progressbar .nav a { + overflow: hidden; + min-width: 10px; + padding: 0.5em 0; + text-indent: -500px; + line-height: 0; + } + + .emotion-0 .progressbar .progress-text .mobile { + display: inline-block; + } +} + +
+
+
+
+ + Getting Started + + + + Person 1 + + + + Person 2 + + + + Contact Info + + + + Review + + + + Submit + + +
+
+ + Step 2 of 6 + + + : + + Person 1 + +
+
+
+
+`; + +exports[`Storyshots ProgressNav Step 3: Person 2 1`] = ` +.emotion-0 { + display: grid; + margin: auto; + margin-top: 0.75rem; + grid-auto-columns: 1fr; + grid-auto-rows: 1fr; + grid-template-columns: repeat(3; 1fr); +} + +.emotion-0 .progressbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.emotion-0 .progressbar .nav { + display: table; + -webkit-flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + line-height: normal; + font-style: normal; + font-family: Lora,serif; + color: #000; +} + +.emotion-0 .progressbar .nav a { + display: table-cell; + border-width: 1px; + border-color: black; + border-style: solid; + border-left-width: 0; + padding: 0.85em 0em; + min-width: 80px; + color: black; + background: #fff; + min-width: 120px; + font-size: 0.85em; +} + +.emotion-0 .progressbar .nav a:last-child { + grid-column-start: 2; +} + +.emotion-0 .progressbar .nav a:first-child { + border-left-width: 1px; +} + +.emotion-0 .progressbar .nav a.completed, +.emotion-0 .progressbar .nav a.completed:hover, +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.focused { + color: white; + cursor: pointer; + background: #1871bd; +} + +.emotion-0 .progressbar .nav a.focused, +.emotion-0 .progressbar .nav a.completed:hover { + box-shadow: inset 0 0 0px 1px #fff; +} + +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.completed .current, +.emotion-0 .progressbar .nav a.completed .focused .current { + color: #000; + background: #fff; +} + +.emotion-0 .progressbar .nav a.uncompleted, +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + color: #000; + background: #C8C8C8; +} + +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + cursor: default; +} + +.emotion-0 .progressbar .progress-text { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + font-style: italic; + font-size: 1rem; + margin-top: 0.5rem; +} + +.emotion-0 .progressbar .progress-text .mobile { + display: none; +} + +@media screen and (max-width:540px) { + .emotion-0 { + max-width: 25.875em; + } + + .emotion-0 .progressbar .nav a { + overflow: hidden; + min-width: 10px; + padding: 0.5em 0; + text-indent: -500px; + line-height: 0; + } + + .emotion-0 .progressbar .progress-text .mobile { + display: inline-block; + } +} + +
+
+
+
+ + Getting Started + + + + Person 1 + + + + Person 2 + + + + Contact Info + + + + Review + + + + Submit + + +
+
+ + Step 3 of 6 + + + : + + Person 2 + +
+
+
+
+`; + +exports[`Storyshots ProgressNav Step 4: Contact Info - Nav one step back 1`] = ` +.emotion-0 { + display: grid; + margin: auto; + margin-top: 0.75rem; + grid-auto-columns: 1fr; + grid-auto-rows: 1fr; + grid-template-columns: repeat(3; 1fr); +} + +.emotion-0 .progressbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.emotion-0 .progressbar .nav { + display: table; + -webkit-flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + line-height: normal; + font-style: normal; + font-family: Lora,serif; + color: #000; +} + +.emotion-0 .progressbar .nav a { + display: table-cell; + border-width: 1px; + border-color: black; + border-style: solid; + border-left-width: 0; + padding: 0.85em 0em; + min-width: 80px; + color: black; + background: #fff; + min-width: 120px; + font-size: 0.85em; +} + +.emotion-0 .progressbar .nav a:last-child { + grid-column-start: 2; +} + +.emotion-0 .progressbar .nav a:first-child { + border-left-width: 1px; +} + +.emotion-0 .progressbar .nav a.completed, +.emotion-0 .progressbar .nav a.completed:hover, +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.focused { + color: white; + cursor: pointer; + background: #1871bd; +} + +.emotion-0 .progressbar .nav a.focused, +.emotion-0 .progressbar .nav a.completed:hover { + box-shadow: inset 0 0 0px 1px #fff; +} + +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.completed .current, +.emotion-0 .progressbar .nav a.completed .focused .current { + color: #000; + background: #fff; +} + +.emotion-0 .progressbar .nav a.uncompleted, +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + color: #000; + background: #C8C8C8; +} + +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + cursor: default; +} + +.emotion-0 .progressbar .progress-text { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + font-style: italic; + font-size: 1rem; + margin-top: 0.5rem; +} + +.emotion-0 .progressbar .progress-text .mobile { + display: none; +} + +@media screen and (max-width:540px) { + .emotion-0 { + max-width: 25.875em; + } + + .emotion-0 .progressbar .nav a { + overflow: hidden; + min-width: 10px; + padding: 0.5em 0; + text-indent: -500px; + line-height: 0; + } + + .emotion-0 .progressbar .progress-text .mobile { + display: inline-block; + } +} + +
+
+
+
+ + Getting Started + + + + Person 1 + + + + Person 2 + + + + Contact Info + + + + Review + + + + Submit + + +
+
+ + Step 3 of 6 + + + : + + Person 2 + +
+
+
+
+`; + +exports[`Storyshots ProgressNav Step 4: Contact Info 1`] = ` +.emotion-0 { + display: grid; + margin: auto; + margin-top: 0.75rem; + grid-auto-columns: 1fr; + grid-auto-rows: 1fr; + grid-template-columns: repeat(3; 1fr); +} + +.emotion-0 .progressbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.emotion-0 .progressbar .nav { + display: table; + -webkit-flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + line-height: normal; + font-style: normal; + font-family: Lora,serif; + color: #000; +} + +.emotion-0 .progressbar .nav a { + display: table-cell; + border-width: 1px; + border-color: black; + border-style: solid; + border-left-width: 0; + padding: 0.85em 0em; + min-width: 80px; + color: black; + background: #fff; + min-width: 120px; + font-size: 0.85em; +} + +.emotion-0 .progressbar .nav a:last-child { + grid-column-start: 2; +} + +.emotion-0 .progressbar .nav a:first-child { + border-left-width: 1px; +} + +.emotion-0 .progressbar .nav a.completed, +.emotion-0 .progressbar .nav a.completed:hover, +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.focused { + color: white; + cursor: pointer; + background: #1871bd; +} + +.emotion-0 .progressbar .nav a.focused, +.emotion-0 .progressbar .nav a.completed:hover { + box-shadow: inset 0 0 0px 1px #fff; +} + +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.completed .current, +.emotion-0 .progressbar .nav a.completed .focused .current { + color: #000; + background: #fff; +} + +.emotion-0 .progressbar .nav a.uncompleted, +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + color: #000; + background: #C8C8C8; +} + +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + cursor: default; +} + +.emotion-0 .progressbar .progress-text { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + font-style: italic; + font-size: 1rem; + margin-top: 0.5rem; +} + +.emotion-0 .progressbar .progress-text .mobile { + display: none; +} + +@media screen and (max-width:540px) { + .emotion-0 { + max-width: 25.875em; + } + + .emotion-0 .progressbar .nav a { + overflow: hidden; + min-width: 10px; + padding: 0.5em 0; + text-indent: -500px; + line-height: 0; + } + + .emotion-0 .progressbar .progress-text .mobile { + display: inline-block; + } +} + +
+
+
+
+ + Getting Started + + + + Person 1 + + + + Person 2 + + + + Contact Info + + + + Review + + + + Submit + + +
+
+ + Step 4 of 6 + + + : + + Contact Info + +
+
+
+
+`; + +exports[`Storyshots ProgressNav Step 5: Review 1`] = ` +.emotion-0 { + display: grid; + margin: auto; + margin-top: 0.75rem; + grid-auto-columns: 1fr; + grid-auto-rows: 1fr; + grid-template-columns: repeat(3; 1fr); +} + +.emotion-0 .progressbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.emotion-0 .progressbar .nav { + display: table; + -webkit-flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + line-height: normal; + font-style: normal; + font-family: Lora,serif; + color: #000; +} + +.emotion-0 .progressbar .nav a { + display: table-cell; + border-width: 1px; + border-color: black; + border-style: solid; + border-left-width: 0; + padding: 0.85em 0em; + min-width: 80px; + color: black; + background: #fff; + min-width: 120px; + font-size: 0.85em; +} + +.emotion-0 .progressbar .nav a:last-child { + grid-column-start: 2; +} + +.emotion-0 .progressbar .nav a:first-child { + border-left-width: 1px; +} + +.emotion-0 .progressbar .nav a.completed, +.emotion-0 .progressbar .nav a.completed:hover, +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.focused { + color: white; + cursor: pointer; + background: #1871bd; +} + +.emotion-0 .progressbar .nav a.focused, +.emotion-0 .progressbar .nav a.completed:hover { + box-shadow: inset 0 0 0px 1px #fff; +} + +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.completed .current, +.emotion-0 .progressbar .nav a.completed .focused .current { + color: #000; + background: #fff; +} + +.emotion-0 .progressbar .nav a.uncompleted, +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + color: #000; + background: #C8C8C8; +} + +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + cursor: default; +} + +.emotion-0 .progressbar .progress-text { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + font-style: italic; + font-size: 1rem; + margin-top: 0.5rem; +} + +.emotion-0 .progressbar .progress-text .mobile { + display: none; +} + +@media screen and (max-width:540px) { + .emotion-0 { + max-width: 25.875em; + } + + .emotion-0 .progressbar .nav a { + overflow: hidden; + min-width: 10px; + padding: 0.5em 0; + text-indent: -500px; + line-height: 0; + } + + .emotion-0 .progressbar .progress-text .mobile { + display: inline-block; + } +} + +
+
+
+
+ + Getting Started + + + + Person 1 + + + + Person 2 + + + + Contact Info + + + + Review + + + + Submit + + +
+
+ + Step 5 of 6 + + + : + + Review + +
+
+
+
+`; + +exports[`Storyshots ProgressNav Step 6: Submit 1`] = ` +.emotion-0 { + display: grid; + margin: auto; + margin-top: 0.75rem; + grid-auto-columns: 1fr; + grid-auto-rows: 1fr; + grid-template-columns: repeat(3; 1fr); +} + +.emotion-0 .progressbar { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; +} + +.emotion-0 .progressbar .nav { + display: table; + -webkit-flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + line-height: normal; + font-style: normal; + font-family: Lora,serif; + color: #000; +} + +.emotion-0 .progressbar .nav a { + display: table-cell; + border-width: 1px; + border-color: black; + border-style: solid; + border-left-width: 0; + padding: 0.85em 0em; + min-width: 80px; + color: black; + background: #fff; + min-width: 120px; + font-size: 0.85em; +} + +.emotion-0 .progressbar .nav a:last-child { + grid-column-start: 2; +} + +.emotion-0 .progressbar .nav a:first-child { + border-left-width: 1px; +} + +.emotion-0 .progressbar .nav a.completed, +.emotion-0 .progressbar .nav a.completed:hover, +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.focused { + color: white; + cursor: pointer; + background: #1871bd; +} + +.emotion-0 .progressbar .nav a.focused, +.emotion-0 .progressbar .nav a.completed:hover { + box-shadow: inset 0 0 0px 1px #fff; +} + +.emotion-0 .progressbar .nav a.current, +.emotion-0 .progressbar .nav a.completed .current, +.emotion-0 .progressbar .nav a.completed .focused .current { + color: #000; + background: #fff; +} + +.emotion-0 .progressbar .nav a.uncompleted, +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + color: #000; + background: #C8C8C8; +} + +.emotion-0 .progressbar .nav a.done, +.emotion-0 .progressbar .nav a.done:hover { + cursor: default; +} + +.emotion-0 .progressbar .progress-text { + -webkit-box-pack: end; + -webkit-justify-content: flex-end; + -ms-flex-pack: end; + justify-content: flex-end; + font-style: italic; + font-size: 1rem; + margin-top: 0.5rem; +} + +.emotion-0 .progressbar .progress-text .mobile { + display: none; +} + +@media screen and (max-width:540px) { + .emotion-0 { + max-width: 25.875em; + } + + .emotion-0 .progressbar .nav a { + overflow: hidden; + min-width: 10px; + padding: 0.5em 0; + text-indent: -500px; + line-height: 0; + } + + .emotion-0 .progressbar .progress-text .mobile { + display: inline-block; + } +} + +
+
+
+
+ + Getting Started + + + + Person 1 + + + + Person 2 + + + + Contact Info + + + + Review + + + + Submit + + +
+
+ + Step 6 of 6 + + + : + + Submit + +
+
+
+
+`; + exports[`Storyshots UI|Footer custom attributes 1`] = `