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