diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-14 16:39:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-14 16:39:37 +0200 |
commit | 266947e5efc7ff30b0020beb5a74e4d4fc696fa5 (patch) | |
tree | 66c2e0f463e373d971d290d9ff3b07b9528ebf27 /client/src/app/+login | |
parent | 251a82ffbb62c575d7aeb260dff22409dae39d73 (diff) | |
download | PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.tar.gz PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.tar.zst PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.zip |
Refactor modal buttons style
Diffstat (limited to 'client/src/app/+login')
-rw-r--r-- | client/src/app/+login/login.component.html | 6 | ||||
-rw-r--r-- | client/src/app/+login/login.component.scss | 11 |
2 files changed, 5 insertions, 12 deletions
diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html index 0167066a0..5f5b0f565 100644 --- a/client/src/app/+login/login.component.html +++ b/client/src/app/+login/login.component.html | |||
@@ -41,7 +41,7 @@ | |||
41 | </div> | 41 | </div> |
42 | </div> | 42 | </div> |
43 | 43 | ||
44 | <input type="submit" i18n-value value="Login" [disabled]="!form.valid"> | 44 | <input type="submit" class="peertube-button orange-button" i18n-value value="Login" [disabled]="!form.valid"> |
45 | 45 | ||
46 | <div class="additionnal-links"> | 46 | <div class="additionnal-links"> |
47 | <a i18n class="forgot-password-button" (click)="openForgotPasswordModal()" i18n-title title="Click here to reset your password">I forgot my password</a> | 47 | <a i18n class="forgot-password-button" (click)="openForgotPasswordModal()" i18n-title title="Click here to reset your password">I forgot my password</a> |
@@ -114,12 +114,12 @@ | |||
114 | 114 | ||
115 | <div class="modal-footer inputs"> | 115 | <div class="modal-footer inputs"> |
116 | <input | 116 | <input |
117 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" | 117 | type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button" |
118 | (click)="hideForgotPasswordModal()" (key.enter)="hideForgotPasswordModal()" | 118 | (click)="hideForgotPasswordModal()" (key.enter)="hideForgotPasswordModal()" |
119 | > | 119 | > |
120 | 120 | ||
121 | <input | 121 | <input |
122 | type="submit" i18n-value="Password reset button" value="Reset" class="action-button-submit" | 122 | type="submit" i18n-value="Password reset button" value="Reset" class="peertube-button orange-button" |
123 | (click)="askResetPassword()" [disabled]="!forgotPasswordEmailInput.validity.valid" | 123 | (click)="askResetPassword()" [disabled]="!forgotPasswordEmailInput.validity.valid" |
124 | > | 124 | > |
125 | </div> | 125 | </div> |
diff --git a/client/src/app/+login/login.component.scss b/client/src/app/+login/login.component.scss index 3cc302aec..f605cbb7a 100644 --- a/client/src/app/+login/login.component.scss +++ b/client/src/app/+login/login.component.scss | |||
@@ -8,16 +8,9 @@ label { | |||
8 | display: block; | 8 | display: block; |
9 | } | 9 | } |
10 | 10 | ||
11 | input:not([type=submit]) { | 11 | input[type=text], |
12 | input[type=email] { | ||
12 | @include peertube-input-text(340px); | 13 | @include peertube-input-text(340px); |
13 | display: inline-block; | ||
14 | margin-right: 5px; | ||
15 | |||
16 | } | ||
17 | |||
18 | input[type=submit] { | ||
19 | @include peertube-button; | ||
20 | @include orange-button; | ||
21 | } | 14 | } |
22 | 15 | ||
23 | .modal-body { | 16 | .modal-body { |