2021-05-27 16:25:00 +00:00
|
|
|
@use '_variables' as *;
|
|
|
|
@use '_mixins' as *;
|
2018-08-21 14:18:59 +00:00
|
|
|
|
2018-09-25 13:42:58 +00:00
|
|
|
.btn-group-subscribe {
|
2018-08-21 14:18:59 +00:00
|
|
|
@include peertube-button;
|
2018-09-26 07:39:41 +00:00
|
|
|
|
2023-02-22 08:03:41 +00:00
|
|
|
padding: 0;
|
|
|
|
|
2022-06-15 12:59:25 +00:00
|
|
|
button.dropdown-toggle {
|
|
|
|
font-size: $button-font-size;
|
|
|
|
line-height: 1.2;
|
2018-09-25 13:42:58 +00:00
|
|
|
}
|
2018-09-26 07:39:41 +00:00
|
|
|
|
2020-04-03 12:13:24 +00:00
|
|
|
&:not(.big) {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2020-01-08 21:13:47 +00:00
|
|
|
&.big {
|
|
|
|
height: 35px;
|
|
|
|
|
2021-04-28 14:41:07 +00:00
|
|
|
> button:first-child {
|
2021-01-12 00:18:34 +00:00
|
|
|
width: max-content;
|
|
|
|
min-width: 175px;
|
2020-04-03 12:13:24 +00:00
|
|
|
}
|
|
|
|
|
2020-01-08 21:13:47 +00:00
|
|
|
button .extra-text {
|
|
|
|
span:first-child {
|
|
|
|
line-height: 80%;
|
|
|
|
}
|
2021-04-28 14:41:07 +00:00
|
|
|
|
2020-01-08 21:13:47 +00:00
|
|
|
span:not(:first-child) {
|
|
|
|
font-size: 75%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-26 07:39:41 +00:00
|
|
|
// Unlogged
|
2021-04-28 14:41:07 +00:00
|
|
|
> .dropdown > .dropdown-toggle span {
|
2022-06-15 12:59:25 +00:00
|
|
|
@include padding-right(5px);
|
2018-09-26 07:39:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Logged
|
2021-04-28 14:41:07 +00:00
|
|
|
> .btn {
|
2021-06-07 15:38:31 +00:00
|
|
|
@include padding-right(4px);
|
2018-09-26 07:39:41 +00:00
|
|
|
|
2021-04-28 14:41:07 +00:00
|
|
|
+ .dropdown > button {
|
2021-06-07 15:38:31 +00:00
|
|
|
@include padding-left(2px);
|
2018-09-26 07:39:41 +00:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
}
|
2018-09-25 13:42:58 +00:00
|
|
|
}
|
2018-08-21 14:18:59 +00:00
|
|
|
|
2018-09-25 13:42:58 +00:00
|
|
|
&.subscribe-button {
|
|
|
|
.btn {
|
|
|
|
@include orange-button;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2018-08-23 15:58:39 +00:00
|
|
|
|
2018-09-25 13:42:58 +00:00
|
|
|
span.followers-count {
|
2021-06-07 15:38:31 +00:00
|
|
|
@include padding-left(5px);
|
2018-09-25 13:42:58 +00:00
|
|
|
}
|
2018-08-23 15:58:39 +00:00
|
|
|
}
|
2022-06-15 12:59:25 +00:00
|
|
|
|
2018-09-25 13:42:58 +00:00
|
|
|
&.unsubscribe-button {
|
|
|
|
.btn {
|
|
|
|
@include grey-button;
|
2022-06-15 12:59:25 +00:00
|
|
|
|
2018-09-25 13:42:58 +00:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2018-08-23 15:58:39 +00:00
|
|
|
}
|
2018-08-21 14:18:59 +00:00
|
|
|
|
2018-09-26 07:39:41 +00:00
|
|
|
.dropdown-menu {
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
button {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-01-15 18:25:51 +00:00
|
|
|
|
|
|
|
.dropdown-item-neutral {
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
}
|
2018-09-26 07:39:41 +00:00
|
|
|
}
|
|
|
|
|
2019-07-24 14:12:35 +00:00
|
|
|
::ng-deep form {
|
2018-09-25 13:42:58 +00:00
|
|
|
padding: 0.25rem 1rem;
|
2018-08-21 14:18:59 +00:00
|
|
|
}
|
|
|
|
|
2018-09-25 13:42:58 +00:00
|
|
|
input {
|
|
|
|
@include peertube-input-text(100%);
|
2018-08-21 14:18:59 +00:00
|
|
|
}
|
2018-09-25 13:42:58 +00:00
|
|
|
}
|
2020-01-07 23:46:38 +00:00
|
|
|
|
|
|
|
.extra-text {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
span:first-child {
|
|
|
|
line-height: 75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
span:not(:first-child) {
|
|
|
|
font-size: 60%;
|
2021-06-07 15:38:31 +00:00
|
|
|
text-align: start;
|
2020-01-07 23:46:38 +00:00
|
|
|
}
|
|
|
|
}
|