X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bsignup%2F%2Bregister%2Fregister.component.scss;h=f6a846ffaf3515a5d3a7fa0735edcf2a32994621;hb=c7027c06e9a73dad99d3f9bd9937a41a763850ce;hp=e135b5cb4312488b91a7f4bb3845051f01d5c9bb;hpb=25a42e293be90d35afad2096e9db2fa3d617d855;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..f6a846ffa 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'; .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: $mobile-view) { - 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; } }