]>
Commit | Line | Data |
---|---|---|
22a16e36 C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
660d11e9 | 4 | .btn-group-subscribe { |
22a16e36 | 5 | @include peertube-button; |
660d11e9 | 6 | @include disable-default-a-behaviour; |
39ba2e8e | 7 | |
660d11e9 RK |
8 | float: right; |
9 | padding: 0; | |
22a16e36 | 10 | |
39ba2e8e C |
11 | & > .btn, |
12 | & > .dropdown > .dropdown-toggle { | |
660d11e9 RK |
13 | font-size: 15px; |
14 | } | |
39ba2e8e | 15 | |
9270ccf6 RK |
16 | &.big { |
17 | height: 35px; | |
18 | ||
19 | button .extra-text { | |
20 | span:first-child { | |
21 | line-height: 80%; | |
22 | } | |
23 | ||
24 | span:not(:first-child) { | |
25 | font-size: 75%; | |
26 | } | |
27 | } | |
28 | } | |
29 | ||
39ba2e8e C |
30 | // Unlogged |
31 | & > .dropdown > .dropdown-toggle span { | |
32 | padding-right: 3px; | |
33 | } | |
34 | ||
35 | // Logged | |
36 | & > .btn { | |
37 | padding-right: 4px; | |
38 | ||
39 | & + .dropdown > button { | |
40 | padding-left: 2px; | |
41 | ||
42 | &::after { | |
43 | position: relative; | |
44 | top: 1px; | |
45 | } | |
46 | } | |
660d11e9 | 47 | } |
22a16e36 | 48 | |
660d11e9 RK |
49 | &.subscribe-button { |
50 | .btn { | |
51 | @include orange-button; | |
52 | font-weight: 600; | |
53 | } | |
f37dc0dd | 54 | |
660d11e9 | 55 | span.followers-count { |
39ba2e8e | 56 | padding-left: 5px; |
660d11e9 | 57 | } |
f37dc0dd | 58 | } |
660d11e9 RK |
59 | &.unsubscribe-button { |
60 | .btn { | |
61 | @include grey-button; | |
62 | font-weight: 600; | |
63 | } | |
f37dc0dd | 64 | } |
22a16e36 | 65 | |
39ba2e8e C |
66 | .dropdown-menu { |
67 | cursor: default; | |
68 | ||
69 | button { | |
70 | cursor: pointer; | |
71 | } | |
72 | } | |
73 | ||
660d11e9 RK |
74 | .dropdown-header { |
75 | padding-left: 1rem; | |
22a16e36 C |
76 | } |
77 | ||
03652b31 | 78 | ::ng-deep form { |
660d11e9 | 79 | padding: 0.25rem 1rem; |
22a16e36 C |
80 | } |
81 | ||
660d11e9 RK |
82 | input { |
83 | @include peertube-input-text(100%); | |
22a16e36 | 84 | } |
660d11e9 | 85 | } |
b061c8ed RK |
86 | |
87 | .extra-text { | |
88 | display: flex; | |
89 | flex-direction: column; | |
90 | ||
91 | span:first-child { | |
92 | line-height: 75%; | |
93 | } | |
94 | ||
95 | span:not(:first-child) { | |
96 | font-size: 60%; | |
9270ccf6 | 97 | text-align: left; |
b061c8ed RK |
98 | } |
99 | } |