Skip to content
Snippets Groups Projects
Commit d0b3656a authored by HARTZ HENRI's avatar HARTZ HENRI
Browse files

add: style global du component form create quiz

parent 52a0d1d9
Branches
No related merge requests found
......@@ -5,6 +5,30 @@
.erreur {
color:#FF0000;
font-size: 20;
font-size: 2vmin;
font-weight: bold;
}
\ No newline at end of file
}
.form-group {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
.form-group label {
font-size: 3vmin;
font-weight: bold;
}
.form-control {
height: 100%;
width: 100%;
border-radius: 10px;
background-color: #FFFFFF;
border: 4px solid #F3F3F3;
}
.form-control:focus {
border-color: #1FA9FF;
}
......@@ -25,7 +25,7 @@
</div>
<div class="button-group">
<button class="btn btn-primary" type="submit">PLAY</button>
<button class="blueButton" type="submit">PLAY</button>
</div>
</form>
</div>
......@@ -7,7 +7,7 @@ import { MatDialogRef } from '@angular/material/dialog';
@Component({
selector: 'app-form-create-quiz',
templateUrl: './form-create-quiz.component.html',
styleUrl: './form-create-quiz.component.css',
styleUrls: ['./form-create-quiz.component.css','../../../../../styles.css'],
})
export class FormCreateQuizComponent implements OnInit {
themes: { id: number; name: string }[] = [];
......@@ -20,7 +20,6 @@ export class FormCreateQuizComponent implements OnInit {
constructor(
private formQuizService: FormQuizService,
private fb: FormBuilder,
// private dialogRef: MatDialogRef<FormCreateQuizComponent>,
private router: Router
) {}
categories: { id: number; name: string }[] = [];
......@@ -51,11 +50,6 @@ export class FormCreateQuizComponent implements OnInit {
difficulty: this.form.value.difficulty,
},
});
// this.dialogRef.close();
}
}
handleClose() {
// this.dialogRef.close();
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment