Files
myep-team/assets/styles/components/questionnaire.css
T

10 lines
518 B
CSS

/*
* A questionnaire "pick" (App\Form\Questionnaire\AbstractPickType): a checkbox, and below it the
* fields that only matter once it is ticked (templates/forms.html.twig, questionnaire_pick_*). They stay in the form, and are submitted, while
* hidden; the form type drops them. The child combinator keeps a nested pick (a guiding type
* inside a teamer) from answering for its parent.
*/
.questionnaire-pick:not(:has(> .questionnaire-pick__head input:checked)) > .questionnaire-pick__body {
display: none;
}