]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
Merge branch 'release/3.4.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / config / edit-custom-config / edit-custom-config.component.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
fd206f0b 3
482fa503
RK
4$form-base-input-width: 340px;
5
6label {
7 font-weight: $font-regular;
8 font-size: 100%;
9}
10
11form {
12 padding-bottom: 1.5rem;
ccc00cb2
C
13}
14
fd206f0b 15input[type=text] {
482fa503 16 @include peertube-input-text($form-base-input-width);
27bc9586 17
fd206f0b
C
18 display: block;
19}
20
e40afb5b 21input[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
43input[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
51my-select-options,
52my-select-custom-value,
52c4976f 53my-select-checkbox {
48586fe0
C
54 @include responsive-width($form-base-input-width);
55
56 display: block;
52c4976f
C
57}
58
fd206f0b
C
59input[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
77textarea {
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
101input[disabled] {
102 opacity: 0.5;
103}
104
105
482fa503
RK
106.form-group-right {
107 padding-top: 2px;
108}
109
110ngb-tabset:not(.previews) ::ng-deep {
111 .nav-link {
112 font-size: 105%;
113 }
72c33e71
C
114}
115
116.submit-error {
117 margin-bottom: 20px;
118}
16a173bb
C
119
120.alert-signup {
121 width: fit-content;
122 margin-top: 10px;
123}
ea5cdc11
RK
124
125.callout-container {
126 position: absolute;
127 display: flex;
128 height: 0;
129 width: 100%;
130 justify-content: right;
131
132 .callout-link {
133 @include peertube-button-link;
134
135 position: relative;
136 right: 3.3em;
137 top: .3em;
138 font-size: 90%;
139 color: pvar(--mainColor);
140 background-color: pvar(--mainBackgroundColor);
141 padding: 0 .3em;
142 }
143}