]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-user-subscription/subscribe-button.component.scss
fix video download modal select width
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / 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
947d0102
RK
16 &:not(.big) {
17 white-space: nowrap;
18 }
19
9270ccf6
RK
20 &.big {
21 height: 35px;
22
947d0102 23 & > button:first-child {
490109c7
RK
24 width: max-content;
25 min-width: 175px;
947d0102
RK
26 }
27
9270ccf6
RK
28 button .extra-text {
29 span:first-child {
30 line-height: 80%;
31 }
32
33 span:not(:first-child) {
34 font-size: 75%;
35 }
36 }
37 }
38
39ba2e8e
C
39 // Unlogged
40 & > .dropdown > .dropdown-toggle span {
41 padding-right: 3px;
42 }
43
44 // Logged
45 & > .btn {
46 padding-right: 4px;
47
48 & + .dropdown > button {
49 padding-left: 2px;
50
51 &::after {
52 position: relative;
53 top: 1px;
54 }
55 }
660d11e9 56 }
22a16e36 57
660d11e9
RK
58 &.subscribe-button {
59 .btn {
60 @include orange-button;
61 font-weight: 600;
62 }
f37dc0dd 63
660d11e9 64 span.followers-count {
39ba2e8e 65 padding-left: 5px;
660d11e9 66 }
f37dc0dd 67 }
660d11e9
RK
68 &.unsubscribe-button {
69 .btn {
70 @include grey-button;
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%;
9270ccf6 111 text-align: left;
b061c8ed
RK
112 }
113}