]>
Commit | Line | Data |
---|---|---|
8cbc40b2 C |
1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | |
22a16e36 | 3 | |
660d11e9 | 4 | .btn-group-subscribe { |
22a16e36 | 5 | @include peertube-button; |
39ba2e8e | 6 | |
b849adf9 C |
7 | padding: 0; |
8 | ||
5b0ec7cd C |
9 | button.dropdown-toggle { |
10 | font-size: $button-font-size; | |
11 | line-height: 1.2; | |
660d11e9 | 12 | } |
39ba2e8e | 13 | |
947d0102 RK |
14 | &:not(.big) { |
15 | white-space: nowrap; | |
16 | } | |
17 | ||
9270ccf6 RK |
18 | &.big { |
19 | height: 35px; | |
20 | ||
931d3430 | 21 | > button:first-child { |
490109c7 RK |
22 | width: max-content; |
23 | min-width: 175px; | |
947d0102 RK |
24 | } |
25 | ||
9270ccf6 RK |
26 | button .extra-text { |
27 | span:first-child { | |
28 | line-height: 80%; | |
29 | } | |
931d3430 | 30 | |
9270ccf6 RK |
31 | span:not(:first-child) { |
32 | font-size: 75%; | |
33 | } | |
34 | } | |
35 | } | |
36 | ||
39ba2e8e | 37 | // Unlogged |
931d3430 | 38 | > .dropdown > .dropdown-toggle span { |
5b0ec7cd | 39 | @include padding-right(5px); |
39ba2e8e C |
40 | } |
41 | ||
42 | // Logged | |
931d3430 | 43 | > .btn { |
27bc9586 | 44 | @include padding-right(4px); |
39ba2e8e | 45 | |
931d3430 | 46 | + .dropdown > button { |
27bc9586 | 47 | @include padding-left(2px); |
39ba2e8e C |
48 | |
49 | &::after { | |
50 | position: relative; | |
51 | top: 1px; | |
52 | } | |
53 | } | |
660d11e9 | 54 | } |
22a16e36 | 55 | |
660d11e9 RK |
56 | &.subscribe-button { |
57 | .btn { | |
58 | @include orange-button; | |
59 | font-weight: 600; | |
60 | } | |
f37dc0dd | 61 | |
660d11e9 | 62 | span.followers-count { |
27bc9586 | 63 | @include padding-left(5px); |
660d11e9 | 64 | } |
f37dc0dd | 65 | } |
5b0ec7cd | 66 | |
660d11e9 RK |
67 | &.unsubscribe-button { |
68 | .btn { | |
69 | @include grey-button; | |
5b0ec7cd | 70 | |
660d11e9 RK |
71 | font-weight: 600; |
72 | } | |
f37dc0dd | 73 | } |
22a16e36 | 74 | |
39ba2e8e C |
75 | .dropdown-menu { |
76 | cursor: default; | |
77 | ||
78 | button { | |
79 | cursor: pointer; | |
80 | } | |
9b82d49d RK |
81 | |
82 | .dropdown-item-neutral { | |
83 | cursor: default; | |
84 | ||
85 | &:hover, | |
86 | &:focus { | |
87 | background-color: inherit; | |
88 | } | |
89 | } | |
39ba2e8e C |
90 | } |
91 | ||
03652b31 | 92 | ::ng-deep form { |
660d11e9 | 93 | padding: 0.25rem 1rem; |
22a16e36 C |
94 | } |
95 | ||
660d11e9 RK |
96 | input { |
97 | @include peertube-input-text(100%); | |
22a16e36 | 98 | } |
660d11e9 | 99 | } |
b061c8ed RK |
100 | |
101 | .extra-text { | |
102 | display: flex; | |
103 | flex-direction: column; | |
104 | ||
105 | span:first-child { | |
106 | line-height: 75%; | |
107 | } | |
108 | ||
109 | span:not(:first-child) { | |
110 | font-size: 60%; | |
27bc9586 | 111 | text-align: start; |
b061c8ed RK |
112 | } |
113 | } |