]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
Don't break install plugin on failure
[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
482fa503
RK
6form {
7 padding-bottom: 1.5rem;
ccc00cb2
C
8}
9
9bc36223
C
10my-markdown-textarea {
11 display: block;
12 max-width: 500px;
13}
27bc9586 14
9bc36223 15.homepage my-markdown-textarea {
fd206f0b 16 display: block;
9bc36223
C
17 max-width: 90%;
18
19 ::ng-deep textarea {
20 height: 300px !important;
21 }
fd206f0b
C
22}
23
9bc36223 24input[type=text],
e40afb5b 25input[type=number] {
c9bc850e
C
26 @include peertube-input-text($form-base-input-width);
27
e40afb5b
RK
28 display: block;
29}
30
c5dcdab3
RK
31.number-with-unit {
32 position: relative;
21d8979f 33 width: fit-content;
c5dcdab3
RK
34
35 input[type=number] + span {
36 position: absolute;
5b0ec7cd 37 top: 0.2em;
c5dcdab3
RK
38 right: 2.5rem;
39 }
8d8a037e
JB
40
41 input[disabled] {
42 background-color: #f9f9f9;
43 pointer-events: none;
44 }
c5dcdab3
RK
45}
46
fd206f0b
C
47input[type=checkbox] {
48 @include peertube-checkbox(1px);
49}
50
51.peertube-select-container {
482fa503 52 @include peertube-select-container($form-base-input-width);
fd206f0b
C
53}
54
ead64cdf
C
55my-select-options,
56my-select-custom-value,
52c4976f 57my-select-checkbox {
48586fe0
C
58 @include responsive-width($form-base-input-width);
59
60 display: block;
52c4976f
C
61}
62
fd206f0b
C
63input[type=submit] {
64 @include peertube-button;
65 @include orange-button;
27bc9586 66 @include margin-left(auto);
fd206f0b 67
482fa503 68 display: flex;
5b7c47a7 69
931d3430 70 + .form-error {
27bc9586
C
71 @include margin-left(5px);
72
5b7c47a7 73 display: inline;
5b7c47a7 74 }
fd206f0b
C
75}
76
77.inner-form-title {
482fa503 78 @include settings-big-title;
fd206f0b 79}
00b5556c 80
5b0ec7cd
C
81.inner-form-description {
82 font-size: 15px;
21d8979f 83 margin-bottom: 15px;
5b0ec7cd
C
84}
85
00b5556c
C
86textarea {
87 @include peertube-textarea(500px, 150px);
88
76314386 89 max-width: 100%;
00b5556c 90 display: block;
2e3a0215 91
8ae03c37
C
92 &.small {
93 height: 75px;
2e3a0215 94 }
00b5556c 95}
ccc00cb2
C
96
97.label-small-info {
98 font-style: italic;
99 margin-bottom: 10px;
5b0ec7cd 100 font-size: 14px;
ccc00cb2 101}
96a4a7c3
RK
102
103.disabled-checkbox-extra {
931d3430
C
104 &,
105 ::ng-deep label {
5fb2e288
C
106 opacity: .5;
107 pointer-events: none;
108 }
96a4a7c3 109}
482fa503 110
8d8a037e
JB
111input[disabled] {
112 opacity: 0.5;
113}
114
482fa503
RK
115ngb-tabset:not(.previews) ::ng-deep {
116 .nav-link {
117 font-size: 105%;
118 }
72c33e71
C
119}
120
121.submit-error {
122 margin-bottom: 20px;
123}
16a173bb
C
124
125.alert-signup {
126 width: fit-content;
127 margin-top: 10px;
128}
ea5cdc11
RK
129
130.callout-container {
131 position: absolute;
132 display: flex;
133 height: 0;
134 width: 100%;
135 justify-content: right;
136
137 .callout-link {
138 @include peertube-button-link;
139
140 position: relative;
141 right: 3.3em;
142 top: .3em;
143 font-size: 90%;
144 color: pvar(--mainColor);
145 background-color: pvar(--mainBackgroundColor);
146 padding: 0 .3em;
147 }
148}