X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bsignup%2F%2Bregister%2Fregister.component.scss;h=1e9f0062978917cfab5e12a4e4e4fe49f850f76c;hb=fa12eacc014aae8094d108634371640f2695bf9f;hp=2f62dd59db594a39eb87f44a0aba61ce44edbaf6;hpb=8c559fad1e1c4c2ab7f1388c73200aa4c6256d74;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 2f62dd59d..1e9f00629 100644 --- a/client/src/app/+signup/+register/register.component.scss +++ b/client/src/app/+signup/+register/register.component.scss @@ -1,9 +1,5 @@ -@import '_variables'; -@import '_mixins'; -@import "./_bootstrap-variables"; - -@import '~bootstrap/scss/functions'; -@import '~bootstrap/scss/variables'; +@use '_variables'; +@use '_mixins'; .alert { font-size: 15px; @@ -12,41 +8,20 @@ .wrapper { display: flex; - justify-content: space-between; - flex-wrap: wrap; - - & > div { - margin-bottom: 40px; + flex-direction: column; - &.register-form { - width: 450px; - } + .register-form { + max-width: 600px; + align-self: center; + } - &.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; - } - } - } + .register-form, + .instance-information { + width: 100%; + } - @media screen and (max-width: 500px) { - width: auto; - } + .instance-information { + margin-bottom: 15px; } } @@ -55,16 +30,19 @@ } .input-group { - @include peertube-input-group(400px); + @include peertube-input-group(100%); } .input-group-append { height: 30px; } -input:not([type=submit]) { - @include peertube-input-text(400px); +.form-group-terms { + width: 100% !important; +} +input:not([type=submit]) { + @include peertube-input-text(100%); display: block; &#username, @@ -77,7 +55,16 @@ input:not([type=submit]) { input[type=submit], button { @include peertube-button; - @include orange-button; + + &[cdkStepperNext] { + @include orange-button; + float: inline-end; + } + + &[cdkStepperPrevious] { + @include grey-button; + float: inline-start; + } } .name-information { @@ -94,10 +81,10 @@ button { margin-bottom: 20px; ::ng-deep .loader div { - border-color: var(--mainColor) transparent transparent transparent; + border-color: pvar(--mainColor) transparent transparent transparent; } - & + div { + + div { font-size: 15px; } }