]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
Less complicated markdown textarea CSS
[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
fd206f0b 10input[type=text] {
482fa503 11 @include peertube-input-text($form-base-input-width);
27bc9586 12
fd206f0b
C
13 display: block;
14}
15
e40afb5b 16input[type=number] {
c9bc850e
C
17 @include peertube-input-text($form-base-input-width);
18
e40afb5b
RK
19 display: block;
20}
21
c5dcdab3
RK
22.number-with-unit {
23 position: relative;
24 width: min-content;
25
26 input[type=number] + span {
27 position: absolute;
5b0ec7cd 28 top: 0.2em;
c5dcdab3
RK
29 right: 2.5rem;
30 }
8d8a037e
JB
31
32 input[disabled] {
33 background-color: #f9f9f9;
34 pointer-events: none;
35 }
c5dcdab3
RK
36}
37
fd206f0b
C
38input[type=checkbox] {
39 @include peertube-checkbox(1px);
40}
41
42.peertube-select-container {
482fa503 43 @include peertube-select-container($form-base-input-width);
fd206f0b
C
44}
45
ead64cdf
C
46my-select-options,
47my-select-custom-value,
52c4976f 48my-select-checkbox {
48586fe0
C
49 @include responsive-width($form-base-input-width);
50
51 display: block;
52c4976f
C
52}
53
fd206f0b
C
54input[type=submit] {
55 @include peertube-button;
56 @include orange-button;
27bc9586 57 @include margin-left(auto);
fd206f0b 58
482fa503 59 display: flex;
5b7c47a7 60
931d3430 61 + .form-error {
27bc9586
C
62 @include margin-left(5px);
63
5b7c47a7 64 display: inline;
5b7c47a7 65 }
fd206f0b
C
66}
67
68.inner-form-title {
482fa503 69 @include settings-big-title;
fd206f0b 70}
00b5556c 71
5b0ec7cd
C
72.inner-form-description {
73 font-size: 15px;
74}
75
00b5556c
C
76textarea {
77 @include peertube-textarea(500px, 150px);
78
76314386 79 max-width: 100%;
00b5556c 80 display: block;
2e3a0215 81
8ae03c37
C
82 &.small {
83 height: 75px;
2e3a0215 84 }
00b5556c 85}
ccc00cb2
C
86
87.label-small-info {
88 font-style: italic;
89 margin-bottom: 10px;
5b0ec7cd 90 font-size: 14px;
ccc00cb2 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
482fa503
RK
105ngb-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}