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