grey on title step 2 +

This commit is contained in:
Tykayn 2021-11-30 11:25:30 +01:00 committed by tykayn
parent 1cab5c3cef
commit cc51a8efa9
3 changed files with 14 additions and 10 deletions

View File

@ -5,7 +5,7 @@
<mat-sidenav-content> <mat-sidenav-content>
<div class="sidenav-content"> <div class="sidenav-content">
le contenu de side nav <!-- le contenu de side nav-->
</div> </div>
</mat-sidenav-content> </mat-sidenav-content>
</mat-sidenav-container> </mat-sidenav-container>

View File

@ -115,11 +115,11 @@ export class PollService implements Resolve<Poll> {
let minlengthValidation = environment.production ? 12 : 0; let minlengthValidation = environment.production ? 12 : 0;
let form = this.fb.group({ let form = this.fb.group({
title: ['', [Validators.required, Validators.minLength(minlengthValidation)]], title: ['', [Validators.required, Validators.minLength(minlengthValidation)]],
creatorPseudo: ['', [Validators.required]], creatorPseudo: ['', []],
created_at: [new Date(), [Validators.required]], created_at: [new Date(), [Validators.required]],
creatorEmail: ['', [Validators.required]], creatorEmail: ['', [Validators.required]],
custom_url: [this.uuidService.getUUID(), [Validators.required]], custom_url: [this.uuidService.getUUID(), [Validators.required]],
description: ['', [Validators.required]], description: ['', []],
password: ['', []], password: ['', []],
choices: new FormArray([]), choices: new FormArray([]),
whoModifiesAnswers: ['', [Validators.required]], whoModifiesAnswers: ['', [Validators.required]],

View File

@ -59,6 +59,7 @@ select,
.select { .select {
border: solid 1px $font_color; border: solid 1px $font_color;
} }
input, input,
select, select,
textarea { textarea {
@ -301,13 +302,15 @@ mat-checkbox {
line-height: 1.25rem; line-height: 1.25rem;
} }
} }
.mat-drawer-container {
.step-info { h2.step-title-poll {
.step-title-poll { font-size: 0.85rem !important;
font-size: 0.85rem !important; color: $d-neutral !important;
color: $d-neutral !important; }
}
} h2.step-title-poll {
font-size: 0.85rem !important;
color: $d-neutral !important;
} }
// resume de la création de sondage // resume de la création de sondage
.step-resume { .step-resume {
@ -349,6 +352,7 @@ mat-checkbox {
.block-resume { .block-resume {
@extend .rounded-block; @extend .rounded-block;
} }
label { label {
font-family: $default_font; font-family: $default_font;
color: $font_color; color: $font_color;