&:first-child {
font-size: 16px;
-
- & > div {
- font-weight: $font-semibold;
- }
}
& > div {
<form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
- <div class="form-group">
+ <div class="form-group form-group-select">
<label i18n for="nsfwPolicy">Default policy on videos containing sensitive content</label>
<my-help>
<ng-template ptTemplate="customHtml">
</div>
</div>
- <div class="form-group">
+ <div class="form-group form-group-select">
<label i18n for="videoLanguages">Only display videos in the following languages/subtitles</label>
<my-help>
<ng-template ptTemplate="customHtml">
@include peertube-select-container(340px);
margin-bottom: 30px;
-}
\ No newline at end of file
+}
+
+.form-group-select {
+ margin-bottom: 30px;
+}
&:focus-within,
&:focus {
- box-shadow: 0 0 0 .2rem var(--mainColorLightest);
+ box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
&.input-error {
- box-shadow: 0 0 0 .2rem #{scale-color($red, $alpha: -75%)};
+ box-shadow: #{$focus-box-shadow-form} #{scale-color($red, $alpha: -75%)};
}
}
}
}
&.focus-visible {
- box-shadow: 0 0 0 2px var(--mainColor);
+ box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
+ outline: none;
}
img {
@mixin button-focus($color) {
&:focus,
&.focus-visible {
- box-shadow: 0 0 0 .2rem $color;
+ box-shadow: #{$focus-box-shadow-form} $color;
}
}
position: absolute;
&:focus + span {
- box-shadow: 0 0 0 .2rem var(--mainColorLightest);
+ box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
}
& + span {
height: max-content;
&:focus-within {
- box-shadow: 0 0 0 .2rem var(--mainColorLightest);
+ box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
}
}
$activated-action-button-color: black;
+$focus-box-shadow-form: 0 0 0 .2rem;
+
/*** map theme ***/
// pass variables into a sass map,
// multiselect customizations
p-multiselect {
+ .ui-multiselect {
+ border-color: #C6C6C6;
+
+ &:not(.ui-state-disabled) {
+ &:hover {
+ border-color: #C6C6C6;
+ }
+
+ &:focus,
+ &.ui-state-focus {
+ box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
+ }
+ }
+ }
+
.ui-multiselect-label {
font-size: 15px !important;
padding: 4px 30px 4px 12px !important;