SAE-A2-TruthInquiry/truthinquiry/static/css/admin_ui_questions.css
AudricV 4d46c62aae
[Client] Improve questions on admin page + fix its JavaScript and deduplicate common style
- Use proper HTML;
- Add CSS file specific to this page;
- Deduplicate common style by moving it into the admin_ui CSS file and do the
corresponding changes in the admin CSS and HTML files;
- Add common header;
- Move questions's JavaScript in a dedicated file, improve its code and fix its
access to DOM elements.
2023-04-03 18:33:24 +02:00

33 lines
521 B
CSS

.add_question_btn, #save_changes {
margin-left: auto;
margin-right: auto;
}
.delete_question_btn, .question_input {
margin: 1em;
}
.question {
align-content: center;
align-items: center;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.question_input {
flex-grow: 1;
}
.question_type {
border-color: var(--admin-white-color);
border-radius: 1em;
border-style: solid;
margin: 1em;
}
.question_type_title {
font-size: 1.5em;
text-align: center;
}