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