-@import '_variables';
-@import '_mixins';
+@use '_variables' as *;
+@use '_mixins' as *;
$form-base-input-width: 340px;
-label {
- font-weight: $font-regular;
- font-size: 100%;
-}
-
form {
padding-bottom: 1.5rem;
}
-input[type=text] {
- @include peertube-input-text($form-base-input-width);
+my-markdown-textarea {
+ display: block;
+ max-width: 500px;
+}
+
+.homepage my-markdown-textarea {
display: block;
+ max-width: 90%;
+
+ ::ng-deep textarea {
+ height: 300px !important;
+ }
}
+input[type=text],
input[type=number] {
- @include peertube-input-text(315px);
+ @include peertube-input-text($form-base-input-width);
+
display: block;
}
+.number-with-unit {
+ position: relative;
+ width: min-content;
+
+ input[type=number] + span {
+ position: absolute;
+ top: 0.2em;
+ right: 2.5rem;
+ }
+
+ input[disabled] {
+ background-color: #f9f9f9;
+ pointer-events: none;
+ }
+}
+
input[type=checkbox] {
@include peertube-checkbox(1px);
}
@include peertube-select-container($form-base-input-width);
}
+my-select-options,
+my-select-custom-value,
+my-select-checkbox {
+ @include responsive-width($form-base-input-width);
+
+ display: block;
+}
+
input[type=submit] {
@include peertube-button;
@include orange-button;
+ @include margin-left(auto);
display: flex;
- margin-left: auto;
- & + .form-error {
+ + .form-error {
+ @include margin-left(5px);
+
display: inline;
- margin-left: 5px;
}
}
@include settings-big-title;
}
+.inner-form-description {
+ font-size: 15px;
+}
+
textarea {
@include peertube-textarea(500px, 150px);
.label-small-info {
font-style: italic;
margin-bottom: 10px;
+ font-size: 14px;
}
.disabled-checkbox-extra {
- opacity: .5;
- pointer-events: none;
+ &,
+ ::ng-deep label {
+ opacity: .5;
+ pointer-events: none;
+ }
}
-.form-group-right {
- padding-top: 2px;
+input[disabled] {
+ opacity: 0.5;
}
ngb-tabset:not(.previews) ::ng-deep {
.submit-error {
margin-bottom: 20px;
}
+
+.alert-signup {
+ width: fit-content;
+ margin-top: 10px;
+}
+
+.callout-container {
+ position: absolute;
+ display: flex;
+ height: 0;
+ width: 100%;
+ justify-content: right;
+
+ .callout-link {
+ @include peertube-button-link;
+
+ position: relative;
+ right: 3.3em;
+ top: .3em;
+ font-size: 90%;
+ color: pvar(--mainColor);
+ background-color: pvar(--mainBackgroundColor);
+ padding: 0 .3em;
+ }
+}