blob: 66524736874cc607090d1294cfaa1e4be032915d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
@import '_variables';
@import '_mixins';
$form-base-input-width: 340px;
label {
font-weight: $font-regular;
font-size: 100%;
}
form {
padding-bottom: 1.5rem;
}
input[type=text] {
@include peertube-input-text($form-base-input-width);
display: block;
}
input[type=number] {
@include peertube-input-text($form-base-input-width);
display: block;
}
.number-with-unit {
position: relative;
width: min-content;
input[type=number] + span {
position: absolute;
top: 5px;
right: 2.5rem;
}
}
input[type=checkbox] {
@include peertube-checkbox(1px);
}
.peertube-select-container {
@include peertube-select-container($form-base-input-width);
}
ng-select,
my-select-checkbox {
@include responsive-width($form-base-input-width);
display: block;
}
input[type=submit] {
@include peertube-button;
@include orange-button;
display: flex;
margin-left: auto;
& + .form-error {
display: inline;
margin-left: 5px;
}
}
.inner-form-title {
@include settings-big-title;
}
textarea {
@include peertube-textarea(500px, 150px);
max-width: 100%;
display: block;
&.small {
height: 75px;
}
}
.label-small-info {
font-style: italic;
margin-bottom: 10px;
}
.disabled-checkbox-extra {
&, ::ng-deep label {
opacity: .5;
pointer-events: none;
}
}
.form-group-right {
padding-top: 2px;
}
ngb-tabset:not(.previews) ::ng-deep {
.nav-link {
font-size: 105%;
}
}
.submit-error {
margin-bottom: 20px;
}
.alert-signup {
width: fit-content;
margin-top: 10px;
}
.callout-container {
position: absolute;
display: flex;
height: 0;
width: 100%;
justify-content: right;
.callout-link {
@include peertube-button-link;
position: relative;
right: 3.3em;
top: .3em;
font-size: 90%;
color: pvar(--mainColor);
background-color: pvar(--mainBackgroundColor);
padding: 0 .3em;
}
}
|