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