From 06286e6c18232d8c562fe112f08312a1e8790743 Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Sun, 11 Oct 2020 14:39:04 +0200 Subject: [PATCH] fix: Register & subscription Page style --- .../Register/RegisterWizardSteps.js | 2 +- client/src/style/pages/authentication.scss | 45 +++--- .../src/style/pages/register-wizard-page.scss | 135 ++++++++++++++++-- 3 files changed, 151 insertions(+), 31 deletions(-) diff --git a/client/src/containers/Authentication/Register/RegisterWizardSteps.js b/client/src/containers/Authentication/Register/RegisterWizardSteps.js index b21a58a89..b97255815 100644 --- a/client/src/containers/Authentication/Register/RegisterWizardSteps.js +++ b/client/src/containers/Authentication/Register/RegisterWizardSteps.js @@ -24,7 +24,7 @@ function RegisterWizardSteps({ {registerWizardSteps.map((step, index) => ( ))} diff --git a/client/src/style/pages/authentication.scss b/client/src/style/pages/authentication.scss index 05379fe82..81e1c4e75 100644 --- a/client/src/style/pages/authentication.scss +++ b/client/src/style/pages/authentication.scss @@ -145,32 +145,33 @@ } } - // Register Form - .register-form { - width: 690px; - margin: 0px auto; - padding: 85px 50px; + // // Register Form + // .register-form { + // // width: 690px; + // // margin: 0px auto; + // // padding: 85px 50px; + - &__agreement-section { - margin-top: -10px; + // &__agreement-section { + // margin-top: -10px; - p { - font-size: 13px; - margin-top: -10px; - margin-bottom: 24px; - line-height: 1.65; - } - } + // p { + // font-size: 13px; + // margin-top: -10px; + // margin-bottom: 24px; + // line-height: 1.65; + // } + // } - &__submit-button-wrap { - margin: 25px 0px 25px 0px; + // &__submit-button-wrap { + // margin: 25px 0px 25px 0px; - .bp3-button { - min-height: 45px; - background-color: #0052cc; - } - } - } + // .bp3-button { + // min-height: 45px; + // background-color: #0052cc; + // } + // } + // } .send-reset-password { .form-group--crediential { diff --git a/client/src/style/pages/register-wizard-page.scss b/client/src/style/pages/register-wizard-page.scss index 57407a948..2fc911bcb 100644 --- a/client/src/style/pages/register-wizard-page.scss +++ b/client/src/style/pages/register-wizard-page.scss @@ -1,11 +1,98 @@ - .register-page { - + .bp3-input { + min-height: 40px; + border: 1px solid #ced4da; + } + .bp3-form-group { + margin-bottom: 23px; + + &.bp3-intent-danger { + .bp3-input { + border-color: #eea9a9; + } + } + } + .bp3-form-group.has-password-revealer { + .bp3-label { + display: flex; + justify-content: space-between; + } + + .password-revealer { + .text { + font-size: 12px; + } + } + } + + .bp3-button.bp3-fill.bp3-intent-primary { + font-size: 16px; + } + + &__label-section { + margin-bottom: 29px; + color: #555; + + h3 { + // font-weight: 500; + font-weight: 400; + // font-size: 28px; + font-size: 22px; + // color: #444; + color: #555555; + margin: 0 0 12px; + } + + a { + text-decoration: underline; + color: #0040bd; + } + } + + &__form-wrapper { + width: 100%; + // max-width: 415px; + // padding: 15px; + margin: 0 auto; + } + + &__footer-links { + padding: 9px; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + text-align: center; + margin-bottom: 1.2rem; + + a { + color: #0052cc; + } + } + + &__loading-overlay { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: rgba(252, 253, 255, 0.5); + display: flex; + justify-content: center; + } + + &__submit-button-wrap { + margin: 0px 0px 24px 0px; + + .bp3-button { + background-color: #0052cc; + min-height: 45px; + } + } + &__right-section { padding-left: 25%; } - &__left-section{ + &__left-section { position: fixed; background: #778cab; overflow: auto; @@ -58,9 +145,41 @@ } } } + &-form { + width: 800px; + margin: 0 auto; + + // width: 690px; + // padding: 85px 60px; + // padding: 85px 105px; + + // Register Form + .register-form { + padding: 85px 105px; + + &__agreement-section { + margin-top: -10px; + + p { + font-size: 13px; + margin-top: -10px; + margin-bottom: 24px; + line-height: 1.65; + } + } + + &__submit-button-wrap { + margin: 25px 0px 25px 0px; + + .bp3-button { + min-height: 45px; + background-color: #0052cc; + } + } + } + } } - // Register Wizard Steps .wizard-container { width: 80%; @@ -100,18 +219,18 @@ display: none; } - .wizard-wrapper > li.complete::before { + .wizard-wrapper > li.is-active::before { background-color: #75859c; } - .wizard-wrapper > li.complete ~ li::before { + .wizard-wrapper > li.is-active ~ li::before { background: #ebebeb; } - .wizard-wrapper > li.complete ~ li::after { + .wizard-wrapper > li.is-active ~ li::after { background: #ebebeb; } - .wizard-wrapper > li.complete p.wizard-info { + .wizard-wrapper > li.is-active p.wizard-info { color: #004dd0; } }