- 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.
33 lines
521 B
CSS
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;
|
|
}
|