]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
add best trending strategy based on Reddit's best
[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 20input[type=number] {
c9bc850e
C
21 @include peertube-input-text($form-base-input-width);
22
e40afb5b
RK
23 display: block;
24}
25
c5dcdab3
RK
26.number-with-unit {
27 position: relative;
28 width: min-content;
29
30 input[type=number] + span {
31 position: absolute;
32 top: 5px;
33 right: 2.5rem;
34 }
35}
36
fd206f0b
C
37input[type=checkbox] {
38 @include peertube-checkbox(1px);
39}
40
41.peertube-select-container {
482fa503 42 @include peertube-select-container($form-base-input-width);
fd206f0b
C
43}
44
48586fe0 45ng-select,
52c4976f 46my-select-checkbox {
48586fe0
C
47 @include responsive-width($form-base-input-width);
48
49 display: block;
52c4976f
C
50}
51
fd206f0b
C
52input[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
69textarea {
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
96ngb-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}