aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup/+register
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-28 10:27:01 +0200
committerChocobozzz <me@florianbigard.com>2022-06-28 10:27:01 +0200
commit4c8a099198cd3af049847df91140735354b85a92 (patch)
tree721e7fed9ff227975e7b79ee95bd6ddb19bd0a4c /client/src/app/+signup/+register
parentdaa0226b0a2ae1d19b342c2b7a54267d2fd8d30e (diff)
downloadPeerTube-4c8a099198cd3af049847df91140735354b85a92.tar.gz
PeerTube-4c8a099198cd3af049847df91140735354b85a92.tar.zst
PeerTube-4c8a099198cd3af049847df91140735354b85a92.zip
Registration css fixes
Diffstat (limited to 'client/src/app/+signup/+register')
-rw-r--r--client/src/app/+signup/+register/custom-stepper.component.scss4
-rw-r--r--client/src/app/+signup/+register/register.component.html2
-rw-r--r--client/src/app/+signup/+register/register.component.scss7
-rw-r--r--client/src/app/+signup/+register/register.component.ts4
-rw-r--r--client/src/app/+signup/+register/steps/register-step-terms.component.html2
5 files changed, 12 insertions, 7 deletions
diff --git a/client/src/app/+signup/+register/custom-stepper.component.scss b/client/src/app/+signup/+register/custom-stepper.component.scss
index dfbdc863b..29ed3e194 100644
--- a/client/src/app/+signup/+register/custom-stepper.component.scss
+++ b/client/src/app/+signup/+register/custom-stepper.component.scss
@@ -5,8 +5,8 @@
5$index-block-height: 40px; 5$index-block-height: 40px;
6 6
7header { 7header {
8 margin-bottom: 40px; 8 margin-bottom: 30px;
9 padding-bottom: 60px; 9 padding-bottom: 25px;
10 width: 100%; 10 width: 100%;
11 background-color: pvar(--mainColorVeryLight); 11 background-color: pvar(--mainColorVeryLight);
12} 12}
diff --git a/client/src/app/+signup/+register/register.component.html b/client/src/app/+signup/+register/register.component.html
index 442c65e2d..4094f24cf 100644
--- a/client/src/app/+signup/+register/register.component.html
+++ b/client/src/app/+signup/+register/register.component.html
@@ -27,7 +27,7 @@
27 <strong>I already have an account</strong>, I log in 27 <strong>I already have an account</strong>, I log in
28 </a> 28 </a>
29 29
30 <button i18n cdkStepperNext>I create an account</button> 30 <button i18n cdkStepperNext>Create an account</button>
31 </div> 31 </div>
32 </cdk-step> 32 </cdk-step>
33 33
diff --git a/client/src/app/+signup/+register/register.component.scss b/client/src/app/+signup/+register/register.component.scss
index c706d6955..9904e4ab4 100644
--- a/client/src/app/+signup/+register/register.component.scss
+++ b/client/src/app/+signup/+register/register.component.scss
@@ -1,6 +1,10 @@
1@use '_variables' as *; 1@use '_variables' as *;
2@use '_mixins' as *; 2@use '_mixins' as *;
3 3
4my-signup-step-title strong {
5 font-weight: $font-bold;
6}
7
4.signup-disabled { 8.signup-disabled {
5 padding-top: 30vh; 9 padding-top: 30vh;
6} 10}
@@ -8,11 +12,12 @@
8.title-page-v2 { 12.title-page-v2 {
9 background-color: pvar(--mainColorVeryLight); 13 background-color: pvar(--mainColorVeryLight);
10 margin: 0; 14 margin: 0;
15 padding-bottom: 10px;
11} 16}
12 17
13my-instance-about-accordion { 18my-instance-about-accordion {
14 display: block; 19 display: block;
15 margin-bottom: 25px; 20 margin-bottom: 30px;
16} 21}
17 22
18.step-buttons { 23.step-buttons {
diff --git a/client/src/app/+signup/+register/register.component.ts b/client/src/app/+signup/+register/register.component.ts
index 396b27e5a..4ab327b1b 100644
--- a/client/src/app/+signup/+register/register.component.ts
+++ b/client/src/app/+signup/+register/register.component.ts
@@ -42,8 +42,8 @@ export class RegisterComponent implements OnInit {
42 moderation: false 42 moderation: false
43 } 43 }
44 44
45 defaultPreviousStepButtonLabel = $localize`:Button on the registration form to go to the previous step:Go to the previous step` 45 defaultPreviousStepButtonLabel = $localize`Go to the previous step`
46 defaultNextStepButtonLabel = $localize`:Button on the registration form to go to the previous step:Go to the next step` 46 defaultNextStepButtonLabel = $localize`Go to the next step`
47 stepUserButtonLabel = this.defaultNextStepButtonLabel 47 stepUserButtonLabel = this.defaultNextStepButtonLabel
48 48
49 signupDisabled = false 49 signupDisabled = false
diff --git a/client/src/app/+signup/+register/steps/register-step-terms.component.html b/client/src/app/+signup/+register/steps/register-step-terms.component.html
index f54ca77e2..cbfb32518 100644
--- a/client/src/app/+signup/+register/steps/register-step-terms.component.html
+++ b/client/src/app/+signup/+register/steps/register-step-terms.component.html
@@ -5,7 +5,7 @@
5 <ng-container i18n> 5 <ng-container i18n>
6 I am at least {{ minimumAge }} years old and agree 6 I am at least {{ minimumAge }} years old and agree
7 to the <a class="link-orange" (click)="onTermsClick($event)" href='#'>Terms</a> 7 to the <a class="link-orange" (click)="onTermsClick($event)" href='#'>Terms</a>
8 <ng-container *ngIf="hasCodeOfConduct"> and to the <a (click)="onCodeOfConductClick($event)" href='#'>Code of Conduct</a></ng-container> 8 <ng-container *ngIf="hasCodeOfConduct"> and to the <a class="link-orange" (click)="onCodeOfConductClick($event)" href='#'>Code of Conduct</a></ng-container>
9 of this instance 9 of this instance
10 </ng-container> 10 </ng-container>
11 </ng-template> 11 </ng-template>