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=53093a81a214b37be546511666612fe8922d6858;hpb=0164fc112a98897849a8eda2f0b5d208e813e014;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 53093a81a..5d0df81bd 100644 --- a/client/src/app/+signup/+register/register.component.scss +++ b/client/src/app/+signup/+register/register.component.scss @@ -2,7 +2,7 @@ @use '_mixins' as *; .alert { - font-size: 15px; + font-size: 16px; text-align: center; } @@ -10,61 +10,75 @@ padding-top: 30vh; } -.wrapper { +.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); + + display: inline-block; } - .register-form, - .instance-information { - width: 100%; + .skip-step-description { + margin-top: 5px; + font-size: 14px; } - .instance-information { - margin-bottom: 15px; + .underline-orange { + color: pvar(--mainForegroundColor); + + &:hover { + opacity: 0.8; + } } -} -input:not([type=submit]) { - @include peertube-input-text(100%); - display: block; + button, + .skip-step { + margin-top: 20px; + margin-bottom: 20px; + } - &#username, - &#name { - width: auto !important; - flex-grow: 1; + .skip-step, + button[cdkStepperNext] { + @include margin-left(auto); + } + + .skip-step + button[cdkStepperNext] { + @include margin-left(0); } } -input[type=submit], button { - @include peertube-button; + @include peertube-button-big; &[cdkStepperNext] { @include orange-button; - - // Chrome does not support inline-end - float: right; - float: inline-end; } &[cdkStepperPrevious] { @include grey-button; - - // Chrome does not support inline-start - float: left; - float: inline-start; } } -.name-information { - margin-top: 10px; -} - .done-loader { display: flex; justify-content: center; @@ -73,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); } } }