responsive /projets & /incubateur

This commit is contained in:
2022-04-08 13:45:05 +02:00
parent e61aaaea04
commit 1f9aa3fcb6
5 changed files with 161 additions and 10 deletions
@@ -116,18 +116,40 @@
margin-top: 4rem;
display: flex;
flex-direction: row;
@media (max-width: 479px){
flex-direction: column;
padding-bottom: 3rem;
}
&::before{
content: 'Filtrer par :';
margin-right: 1rem;
@media (max-width: 479px){
padding-bottom: 1rem;
}
}
#views-exposed-form-projets-block-1{
display: flex;
flex-direction: row;
#edit-field-neuf-rehabilitation-value--wrapper{
legend{display: none;}
.js-form-item-field-neuf-rehabilitation-value:first-of-type{
display: none;
}
@media (max-width: 479px){
padding-bottom: 1rem;
}
}
#edit-field-encours-fini-value--wrapper{
legend{display: none;}
.js-form-item-field-encours-fini-value:first-of-type{
display: none;
}
@media (max-width: 479px){
padding-bottom: 1rem;
}
}
.js-form-type-textfield{
label{display: none;}
@@ -161,6 +183,10 @@
border: none;
padding: 0.1rem 0.7rem;
margin-left: 2rem;
@media (max-width: 479px){
margin-left: 0rem;
margin-right: 2rem;
}
}
#edit-reset{
@@ -191,7 +217,12 @@
input[type="checkbox"]:checked + label::before{
background:$blue-light;
}
@media (max-width: 479px){
flex-direction: column;
#edit-actions{
width: 100%;
}
}
}
@@ -223,6 +254,11 @@
padding: 0.5rem;
padding-right: 1rem;
padding-left: 1rem;
@media (max-width: 479px){
padding-left: 0rem;
padding-right: 0rem;
padding-top: 2rem;
}
div:first-child{
display: flex;
flex-direction: column;