aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/user-subscription/subscribe-button.component.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-26 09:39:41 +0200
committerChocobozzz <me@florianbigard.com>2018-09-26 09:39:41 +0200
commit39ba2e8e3a71961cd0087c57d25905f6a97a6b69 (patch)
treed97d835d1448af796370dc7fe361af5f72582e41 /client/src/app/shared/user-subscription/subscribe-button.component.scss
parenta71de50bbc63a3d1d977abf8ad5e154a632a2d71 (diff)
downloadPeerTube-39ba2e8e3a71961cd0087c57d25905f6a97a6b69.tar.gz
PeerTube-39ba2e8e3a71961cd0087c57d25905f6a97a6b69.tar.zst
PeerTube-39ba2e8e3a71961cd0087c57d25905f6a97a6b69.zip
Add RSS feed to subscribe button
Diffstat (limited to 'client/src/app/shared/user-subscription/subscribe-button.component.scss')
-rw-r--r--client/src/app/shared/user-subscription/subscribe-button.component.scss35
1 files changed, 30 insertions, 5 deletions
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 7a8a8ee08..15fb83c05 100644
--- a/client/src/app/shared/user-subscription/subscribe-button.component.scss
+++ b/client/src/app/shared/user-subscription/subscribe-button.component.scss
@@ -4,15 +4,32 @@
4.btn-group-subscribe { 4.btn-group-subscribe {
5 @include peertube-button; 5 @include peertube-button;
6 @include disable-default-a-behaviour; 6 @include disable-default-a-behaviour;
7
7 float: right; 8 float: right;
8 padding: 0; 9 padding: 0;
9 10
10 &.btn-group > .btn:not(.dropdown-toggle) { 11 & > .btn,
11 padding-right: 5px; 12 & > .dropdown > .dropdown-toggle {
12 font-size: 15px; 13 font-size: 15px;
13 } 14 }
14 &.btn-group > .btn-group:not(:first-child) > .btn { 15
15 padding-left: 2px; 16 // Unlogged
17 & > .dropdown > .dropdown-toggle span {
18 padding-right: 3px;
19 }
20
21 // Logged
22 & > .btn {
23 padding-right: 4px;
24
25 & + .dropdown > button {
26 padding-left: 2px;
27
28 &::after {
29 position: relative;
30 top: 1px;
31 }
32 }
16 } 33 }
17 34
18 &.subscribe-button { 35 &.subscribe-button {
@@ -22,7 +39,7 @@
22 } 39 }
23 40
24 span.followers-count { 41 span.followers-count {
25 padding-left:5px; 42 padding-left: 5px;
26 } 43 }
27 } 44 }
28 &.unsubscribe-button { 45 &.unsubscribe-button {
@@ -32,6 +49,14 @@
32 } 49 }
33 } 50 }
34 51
52 .dropdown-menu {
53 cursor: default;
54
55 button {
56 cursor: pointer;
57 }
58 }
59
35 .dropdown-header { 60 .dropdown-header {
36 padding-left: 1rem; 61 padding-left: 1rem;
37 } 62 }