]>
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 | } | |
8d8a037e JB |
36 | |
37 | input[disabled] { | |
38 | background-color: #f9f9f9; | |
39 | pointer-events: none; | |
40 | } | |
c5dcdab3 RK |
41 | } |
42 | ||
fd206f0b C |
43 | input[type=checkbox] { |
44 | @include peertube-checkbox(1px); | |
45 | } | |
46 | ||
47 | .peertube-select-container { | |
482fa503 | 48 | @include peertube-select-container($form-base-input-width); |
fd206f0b C |
49 | } |
50 | ||
ead64cdf C |
51 | my-select-options, |
52 | my-select-custom-value, | |
52c4976f | 53 | my-select-checkbox { |
48586fe0 C |
54 | @include responsive-width($form-base-input-width); |
55 | ||
56 | display: block; | |
52c4976f C |
57 | } |
58 | ||
fd206f0b C |
59 | input[type=submit] { |
60 | @include peertube-button; | |
61 | @include orange-button; | |
27bc9586 | 62 | @include margin-left(auto); |
fd206f0b | 63 | |
482fa503 | 64 | display: flex; |
5b7c47a7 | 65 | |
931d3430 | 66 | + .form-error { |
27bc9586 C |
67 | @include margin-left(5px); |
68 | ||
5b7c47a7 | 69 | display: inline; |
5b7c47a7 | 70 | } |
fd206f0b C |
71 | } |
72 | ||
73 | .inner-form-title { | |
482fa503 | 74 | @include settings-big-title; |
fd206f0b | 75 | } |
00b5556c C |
76 | |
77 | textarea { | |
78 | @include peertube-textarea(500px, 150px); | |
79 | ||
76314386 | 80 | max-width: 100%; |
00b5556c | 81 | display: block; |
2e3a0215 | 82 | |
8ae03c37 C |
83 | &.small { |
84 | height: 75px; | |
2e3a0215 | 85 | } |
00b5556c | 86 | } |
ccc00cb2 C |
87 | |
88 | .label-small-info { | |
89 | font-style: italic; | |
90 | margin-bottom: 10px; | |
91 | } | |
96a4a7c3 RK |
92 | |
93 | .disabled-checkbox-extra { | |
931d3430 C |
94 | &, |
95 | ::ng-deep label { | |
5fb2e288 C |
96 | opacity: .5; |
97 | pointer-events: none; | |
98 | } | |
96a4a7c3 | 99 | } |
482fa503 | 100 | |
8d8a037e JB |
101 | input[disabled] { |
102 | opacity: 0.5; | |
103 | } | |
104 | ||
482fa503 RK |
105 | ngb-tabset:not(.previews) ::ng-deep { |
106 | .nav-link { | |
107 | font-size: 105%; | |
108 | } | |
72c33e71 C |
109 | } |
110 | ||
111 | .submit-error { | |
112 | margin-bottom: 20px; | |
113 | } | |
16a173bb C |
114 | |
115 | .alert-signup { | |
116 | width: fit-content; | |
117 | margin-top: 10px; | |
118 | } | |
ea5cdc11 RK |
119 | |
120 | .callout-container { | |
121 | position: absolute; | |
122 | display: flex; | |
123 | height: 0; | |
124 | width: 100%; | |
125 | justify-content: right; | |
126 | ||
127 | .callout-link { | |
128 | @include peertube-button-link; | |
129 | ||
130 | position: relative; | |
131 | right: 3.3em; | |
132 | top: .3em; | |
133 | font-size: 90%; | |
134 | color: pvar(--mainColor); | |
135 | background-color: pvar(--mainBackgroundColor); | |
136 | padding: 0 .3em; | |
137 | } | |
138 | } |