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=1e9f0062978917cfab5e12a4e4e4fe49f850f76c;hpb=fa12eacc014aae8094d108634371640f2695bf9f;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 1e9f00629..5d0df81bd 100644 --- a/client/src/app/+signup/+register/register.component.scss +++ b/client/src/app/+signup/+register/register.component.scss @@ -1,76 +1,84 @@ -@use '_variables'; -@use '_mixins'; +@use '_variables' as *; +@use '_mixins' as *; .alert { - font-size: 15px; + font-size: 16px; text-align: center; } -.wrapper { +.signup-disabled { + padding-top: 30vh; +} + +.header-title { + font-weight: normal; + font-size: 15px; + background-color: pvar(--mainColorVeryLight); + padding: 35px 25px 15px 25px; + margin: 0; +} + +.register-content { + font-size: 16px; +} + +my-instance-about-accordion { + display: block; + margin-bottom: 25px; +} + +.step-buttons { display: flex; - flex-direction: column; + flex-wrap: wrap; + align-items: center; - .register-form { - max-width: 600px; - align-self: center; - } + .skip-step { + @include margin-right(30px); - .register-form, - .instance-information { - width: 100%; + display: inline-block; } - .instance-information { - margin-bottom: 15px; + .skip-step-description { + margin-top: 5px; + font-size: 14px; } -} -.form-group-terms { - margin: 30px 0; -} + .underline-orange { + color: pvar(--mainForegroundColor); -.input-group { - @include peertube-input-group(100%); -} - -.input-group-append { - height: 30px; -} + &:hover { + opacity: 0.8; + } + } -.form-group-terms { - width: 100% !important; -} + button, + .skip-step { + margin-top: 20px; + margin-bottom: 20px; + } -input:not([type=submit]) { - @include peertube-input-text(100%); - 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 peertube-button-big; &[cdkStepperNext] { @include orange-button; - float: inline-end; } &[cdkStepperPrevious] { @include grey-button; - float: inline-start; } } -.name-information { - margin-top: 10px; -} - .done-loader { display: flex; justify-content: center; @@ -79,13 +87,16 @@ button { my-loader { margin-bottom: 20px; + } +} - ::ng-deep .loader div { - border-color: pvar(--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); } } }