]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/user-subscription/subscribe-button.component.scss
Fix typo in db field check
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / user-subscription / subscribe-button.component.scss
CommitLineData
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 }
9b82d49d
RK
72
73 .dropdown-item-neutral {
74 cursor: default;
75
76 &:hover,
77 &:focus {
78 background-color: inherit;
79 }
80 }
39ba2e8e
C
81 }
82
660d11e9
RK
83 .dropdown-header {
84 padding-left: 1rem;
22a16e36
C
85 }
86
03652b31 87 ::ng-deep form {
660d11e9 88 padding: 0.25rem 1rem;
22a16e36
C
89 }
90
660d11e9
RK
91 input {
92 @include peertube-input-text(100%);
22a16e36 93 }
660d11e9 94}
b061c8ed
RK
95
96.extra-text {
97 display: flex;
98 flex-direction: column;
99
100 span:first-child {
101 line-height: 75%;
102 }
103
104 span:not(:first-child) {
105 font-size: 60%;
9270ccf6 106 text-align: left;
b061c8ed
RK
107 }
108}