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
@@ -91,14 +91,14 @@
#header-top{
#block-logogouv{
img{
min-width: 60px;
min-width: 45px;
width: 70%;
height: auto;
}
}
#block-logoeql{
img{
min-width: 60px;
min-width: 45px;
width: 80%;
height: auto;
}
@@ -307,13 +307,21 @@
width: 80%;
margin: auto;
.view-filters{
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-3{
// width: 100%;
@@ -321,12 +329,27 @@
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;}
@media (max-width: 479px){
padding-bottom: 1rem;
}
}
input[type="radio"]{
display: none;
@@ -357,6 +380,10 @@
border: none;
padding: 0.1rem 0.7rem;
margin-left: 2rem;
@media (max-width: 479px){
margin-left: 0rem;
margin-right: 2rem;
}
}
#edit-reset{
@@ -367,6 +394,10 @@
padding: 0.1rem 0.7rem;
margin-left: 1rem;
}
@media (max-width: 479px){
flex-direction: column;
}
}
@@ -378,9 +409,16 @@
display: flex;
flex-direction: row;
flex-wrap: wrap;
@media (max-width: 810px){
flex-direction: column;
}
.views-row{
width: 25%;
// flex: 0 0 25%;
@media (max-width: 810px){
width: 100%;
}
}
}
@@ -390,6 +428,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;
@@ -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;
@@ -1,12 +1,15 @@
.layout-container{
position: relative;
width: 100vw;
header{
// display: block;
width: 100%;
// width: 100%;
position: fixed;
z-index: 99;
max-width: 100vw;
width: 100vw;
// position: -webkit-sticky;
// position: sticky;
// top: 0;