add alert for not-in-household and actions in page

accompanyingCourse/summary

* alert for people not in household for each accompanying course;
* style for action in alert
* form to members editor
This commit is contained in:
2021-06-14 11:34:05 +02:00
parent 1df759e970
commit c40019da8f
11 changed files with 118 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
/*
* when an alert is the first child of the page, with a banner, we do not want the alert to be merged with the banner
*/
div.container.content {
& > div {
div.alert:nth-child(2) {
margin-top: 1rem;
}
}
}

View File

@@ -0,0 +1,29 @@
div.alert.alert-with-actions {
display: flex;
flex-direction: row;
ul.record_actions {
display: flex;
flex-direction: column;
padding: 0;
margin: 0;
li:nth-child(1n+2) {
margin-top: 0.5rem;
}
li {
margin-right: 0;
}
}
@media screen and (max-width: 1050px) {
flex-direction: column;
ul.record_actions {
margin-top: 1rem;
text-align: center;
}
}
}

View File

@@ -7,6 +7,10 @@
*/
@import 'alert-first-child';
@import 'alert-with-actions';
/* [hack] /!\ Contourne le positionnement problématique du div#content_conainter suivant,
* car sa position: relative le place au-dessus du bandeau et les liens sont incliquables */
div.subheader {