X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bsignup%2F%2Bregister%2Fregister.component.scss;h=5d0df81bd3f966f2f439e9e455f770da5f646a2f;hb=6f03f944c34f78b38a68128413b55186e0676949;hp=e135b5cb4312488b91a7f4bb3845051f01d5c9bb;hpb=2ad9dcda240ee843c5e4a5b98cc94f7b2aab2c89;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+signup/+register/register.component.scss b/client/src/app/+signup/+register/register.component.scss index e135b5cb4..5d0df81bd 100644 --- a/client/src/app/+signup/+register/register.component.scss +++ b/client/src/app/+signup/+register/register.component.scss @@ -1,87 +1,82 @@ -@import '_variables'; -@import '_mixins'; -@import "./_bootstrap-variables"; - -@import '~bootstrap/scss/functions'; -@import '~bootstrap/scss/variables'; +@use '_variables' as *; +@use '_mixins' as *; .alert { - font-size: 15px; + font-size: 16px; text-align: center; } -.wrapper { - display: flex; - justify-content: space-between; - flex-wrap: wrap; +.signup-disabled { + padding-top: 30vh; +} - & > div { - margin-bottom: 40px; +.header-title { + font-weight: normal; + font-size: 15px; + background-color: pvar(--mainColorVeryLight); + padding: 35px 25px 15px 25px; + margin: 0; +} - &.register-form { - width: 450px; - } +.register-content { + font-size: 16px; +} - &.instance-information { - width: 600px; - margin-bottom: 40px; - - .block { - font-size: 15px; - margin-bottom: 15px; - padding: 0 $btn-padding-x; - } - - @media screen and (max-width: 1500px) { - width: 450px; - } - - ngb-accordion ::ng-deep { - .btn { - font-weight: $font-semibold !important; - color: var(--mainForegroundColor) !important; - } - } - } +my-instance-about-accordion { + display: block; + margin-bottom: 25px; +} - @media screen and (max-width: $mobile-view) { - width: auto; - } +.step-buttons { + display: flex; + flex-wrap: wrap; + align-items: center; + + .skip-step { + @include margin-right(30px); + + display: inline-block; } -} -.form-group-terms { - margin: 30px 0; -} + .skip-step-description { + margin-top: 5px; + font-size: 14px; + } -.input-group { - @include peertube-input-group(400px); -} + .underline-orange { + color: pvar(--mainForegroundColor); -.input-group-append { - height: 30px; -} + &:hover { + opacity: 0.8; + } + } -input:not([type=submit]) { - @include peertube-input-text(400px); + button, + .skip-step { + margin-top: 20px; + margin-bottom: 20px; + } - display: block; + .skip-step, + button[cdkStepperNext] { + @include margin-left(auto); + } - &#username, - &#name { - width: auto !important; - flex-grow: 1; + .skip-step + button[cdkStepperNext] { + @include margin-left(0); } } -input[type=submit], button { - @include peertube-button; - @include orange-button; -} + @include peertube-button-big; + + &[cdkStepperNext] { + @include orange-button; + } -.name-information { - margin-top: 10px; + &[cdkStepperPrevious] { + @include grey-button; + } } .done-loader { @@ -92,13 +87,16 @@ button { my-loader { margin-bottom: 20px; + } +} - ::ng-deep .loader div { - border-color: var(--mainColor) transparent transparent transparent; - } +@media screen and (max-width: $small-view) { + .step-buttons { + justify-content: space-between; - & + div { - font-size: 15px; + .skip-step, + button[cdkStepperNext] { + @include margin-left(0); } } }