]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
Use ng select for multiselect
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / config / edit-custom-config / edit-custom-config.component.scss
CommitLineData
fd206f0b
C
1@import '_variables';
2@import '_mixins';
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);
fd206f0b
C
17 display: block;
18}
19
e40afb5b
RK
20input[type=number] {
21 @include peertube-input-text(315px);
22 display: block;
23}
24
fd206f0b
C
25input[type=checkbox] {
26 @include peertube-checkbox(1px);
27}
28
29.peertube-select-container {
482fa503 30 @include peertube-select-container($form-base-input-width);
fd206f0b
C
31}
32
52c4976f
C
33my-select-checkbox {
34 @include ng-select($form-base-input-width);
35}
36
fd206f0b
C
37input[type=submit] {
38 @include peertube-button;
39 @include orange-button;
40
482fa503
RK
41 display: flex;
42 margin-left: auto;
5b7c47a7
C
43
44 & + .form-error {
45 display: inline;
46 margin-left: 5px;
47 }
fd206f0b
C
48}
49
50.inner-form-title {
482fa503 51 @include settings-big-title;
fd206f0b 52}
00b5556c
C
53
54textarea {
55 @include peertube-textarea(500px, 150px);
56
76314386 57 max-width: 100%;
00b5556c 58 display: block;
2e3a0215 59
8ae03c37
C
60 &.small {
61 height: 75px;
2e3a0215 62 }
00b5556c 63}
ccc00cb2
C
64
65.label-small-info {
66 font-style: italic;
67 margin-bottom: 10px;
68}
96a4a7c3
RK
69
70.disabled-checkbox-extra {
5fb2e288
C
71 &, ::ng-deep label {
72 opacity: .5;
73 pointer-events: none;
74 }
96a4a7c3 75}
482fa503 76
482fa503
RK
77.form-group-right {
78 padding-top: 2px;
79}
80
81ngb-tabset:not(.previews) ::ng-deep {
82 .nav-link {
83 font-size: 105%;
84 }
72c33e71
C
85}
86
87.submit-error {
88 margin-bottom: 20px;
89}