diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-01-15 19:25:51 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-01-21 11:59:41 +0100 |
commit | 9b82d49da868536701d80ef1071df0e7cd301b7a (patch) | |
tree | d34997edf0157d390f44d367f6fd795e0d681760 /client/src/app/shared/user-subscription | |
parent | c78d3db71baa397971a83b110c0159169646eae4 (diff) | |
download | PeerTube-9b82d49da868536701d80ef1071df0e7cd301b7a.tar.gz PeerTube-9b82d49da868536701d80ef1071df0e7cd301b7a.tar.zst PeerTube-9b82d49da868536701d80ef1071df0e7cd301b7a.zip |
Add action dropdown descriptions
Diffstat (limited to 'client/src/app/shared/user-subscription')
3 files changed, 11 insertions, 2 deletions
diff --git a/client/src/app/shared/user-subscription/remote-subscribe.component.html b/client/src/app/shared/user-subscription/remote-subscribe.component.html index 59ee1cb04..acfec0a8e 100644 --- a/client/src/app/shared/user-subscription/remote-subscribe.component.html +++ b/client/src/app/shared/user-subscription/remote-subscribe.component.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <form novalidate [formGroup]="form" (ngSubmit)="formValidated()"> | 1 | <form novalidate [formGroup]="form" (ngSubmit)="formValidated()"> |
2 | <div class="form-group"> | 2 | <div class="form-group mb-2"> |
3 | <input type="email" | 3 | <input type="email" |
4 | formControlName="text" | 4 | formControlName="text" |
5 | class="form-control" | 5 | class="form-control" |
diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.html b/client/src/app/shared/user-subscription/subscribe-button.component.html index 2a4df29f7..f08c88f3c 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.html +++ b/client/src/app/shared/user-subscription/subscribe-button.component.html | |||
@@ -54,7 +54,7 @@ | |||
54 | <span *ngIf="isUserLoggedIn()" i18n>Subscribe with your local account</span> | 54 | <span *ngIf="isUserLoggedIn()" i18n>Subscribe with your local account</span> |
55 | </button> | 55 | </button> |
56 | 56 | ||
57 | <button class="dropdown-item" i18n>Subscribe with a Mastodon account:</button> | 57 | <button class="dropdown-item dropdown-item-neutral" i18n>Subscribe with a Mastodon account:</button> |
58 | <my-remote-subscribe showHelp="true" [uri]="uri"></my-remote-subscribe> | 58 | <my-remote-subscribe showHelp="true" [uri]="uri"></my-remote-subscribe> |
59 | 59 | ||
60 | <div class="dropdown-divider"></div> | 60 | <div class="dropdown-divider"></div> |
diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.scss b/client/src/app/shared/user-subscription/subscribe-button.component.scss index d5b3796a1..114a12f06 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.scss +++ b/client/src/app/shared/user-subscription/subscribe-button.component.scss | |||
@@ -69,6 +69,15 @@ | |||
69 | button { | 69 | button { |
70 | cursor: pointer; | 70 | cursor: pointer; |
71 | } | 71 | } |
72 | |||
73 | .dropdown-item-neutral { | ||
74 | cursor: default; | ||
75 | |||
76 | &:hover, | ||
77 | &:focus { | ||
78 | background-color: inherit; | ||
79 | } | ||
80 | } | ||
72 | } | 81 | } |
73 | 82 | ||
74 | .dropdown-header { | 83 | .dropdown-header { |