123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400 |
- .path-projets{
- .region-content{
- #block-contenudelapageprincipale{
- span{
- padding-top: 3rem;
- padding-bottom: 3rem;
- vertical-align: middle;
- h2{
- margin: 0;
- padding-top: 2rem;
- height: 4rem;
- color: $white;
- font-family: "Source Code Pro";
- text-transform: uppercase;
- background: $blue-light;
- padding-left: 13%;
-
- }
- }
- .layout--onecol{
- .block-region-content{
- display: grid;
- grid-template-columns: 1fr repeat(7, 1fr) 1fr;
-
- @media (max-width: 810px){
- display: flex;
- flex-direction: column;
- }
-
- /// carte
- .block-views-blockprojets-block-2{
- grid-column: 1 / span 10;
- }
-
- //texte de présentation
- .block-config-pages-block{
-
- grid-column: 3 / span 5;
- // width: 60%;
- margin: auto;
- span h2{
- display: none;
- }
- .config_pages--type--les-projets{
- .field--name-field-introduction{
- p:nth-of-type(1){
- font-size: 1.5rem;
- }
- }
- }
- @media (max-width: 810px){
- padding: 2rem;
- }
-
- }
-
- // bouton projets incubés
- .block-block-contentaffaf220-dd27-4c9d-ae02-8044c2662220{
- grid-column: 8 / span 9;
- margin-top: 4rem;
- background-color: $blue-light;
- height: fit-content;
- width: 60%;
- margin-left: 2rem;
- grid-row: 2;
- .display{
- display: block;
- }
-
- .field--name-field-lien{
- display: flex;
- flex-direction: column;
- margin-top: 2rem;
- margin-bottom: 2rem;
- margin-left: 1.5rem;
- margin-right: 1.5rem;
- text-align: center;
- a{
- font-weight: 800;
- color: $white;
- font-size: 1.3rem;
- }
- &:after{
- margin-left: auto;
- padding-top: 1rem;
- display: block;
- content:url("../images/pictos/noun_Arrow_3771902.svg")
-
- }
-
- }
- @media (max-width: 810px){
- margin: auto;
- }
- }
-
- //partie projets
- .block-views-blockprojets-block-1{
- grid-column: 2 / span 7;
- // width: 80%;
- @media (max-width: 810px){
- padding: 2rem;
- }
- .view-projets{
-
- // width: 80%;
- margin: auto;
- //filtres
- .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: 2rem;
- margin-bottom: 1rem;
- // width: 160px;
- min-width: fit-content;
- @media (max-width: 479px){
- padding-bottom: 1rem;
- }
- }
- #views-exposed-form-projets-block-1{
-
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- position: relative;
- align-content: center;
-
- .form-item{
- margin-right: 1rem;
- margin-bottom: 1rem;
- display: flex;
- align-content: center;
- @media (max-width: 550px) {
- width: 100%;
- margin: auto;
- }
- }
- select, input{
- padding: 0.3rem;
- margin:0.5rem;
- }
- input, label{
- margin: 0.5rem;
- }
- #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;
- padding-top: 1rem;
- margin-inline-start: 0px;
- }
- }
- #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;
- margin-inline-start: 0px;
- }
- }
- #edit-field-etape-du-projet-value{
- @media (max-width: 479px){
- max-width: 60vw;
- }
- }
- .js-form-type-textfield{
- label{display: none;}
- }
- input[type="radio"]{
- display: none;
- }
- input[type="radio"] + label::before{
- content:"";
- display:inline-block;
- width: 15px;
- height: 15px;
- background:#fff;
- border-radius:0px;
- border-color: rgba($color: #000000, $alpha: 1);
- border-style: solid;
- border-width: 1px;
- margin-right: 0.5rem;
- }
- input[type="radio"]:checked + label::before{
- background:$blue-light;
- }
- label{
- padding-right: 1rem;
- }
- #edit-submit-projets{
- // display: inline-block;
- background-color: $blue-light;
- color: white;
- text-transform: uppercase;
- border: none;
- padding: 0.3rem 0.7rem;
- // margin-left: 2rem;
- @media (max-width: 479px){
- margin-left: 0rem;
- margin-right: 2rem;
- }
- @media (min-width:1495px) {
- // margin-left: 0;
- // position: absolute;
- // right: 150px;
- // // justify-content: flex-end;
- // margin-left: auto;
- }
- }
- #edit-reset{
- background-color: $blue-light;
- color: white;
- text-transform: uppercase;
- border: none;
- padding: 0.3rem 0.7rem;
- margin-left: 1rem;
- @media (min-width:1495px) {
- position: absolute;
- right: 0px;
- }
- }
- input[type="checkbox"]{
- display: none;
- }
- input[type="checkbox"] + label::before{
- content:"";
- display:inline-block;
- width: 15px;
- height: 15px;
- background:#fff;
- border-radius:0px;
- border-color: rgba($color: #000000, $alpha: 1);
- border-style: solid;
- border-width: 1px;
- margin-right: 0.5rem;
- }
- input[type="checkbox"]:checked + label::before{
- background:$blue-light;
- }
- @media (max-width: 479px){
- flex-direction: column;
- #edit-actions{
- width: 100%;
- margin: auto;
- }
- }
- }
-
-
- }
-
- //grille de projets
- .view-content{
- margin-top: 2rem;
- 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%;
- }
- }
-
- }
- .node-type-projet{
- color: $blue-dark;
- line-height: 1.5rem;
- 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;
-
- a{
- color: $blue-dark;
- }
- .field--name-field-photo {
- order:1;
- .field__item{
- display:none;
- }
- .field__item:first-child{
- display:block;
- }
- img{
- width: 100%;
- max-height: 175px;
- object-fit: cover;
- }
- &::after{
- display: block;
- content:url('data:image/svg+xml,<svg width="160" height="25" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(9,57,139)" stroke-width="2.5"/></svg>');
- }
- }
- .field--name-field-adresse{
- order:2;
- display: flex;
- text-transform: uppercase;
- font-size: 0.9rem;
- font-weight: 800;
- margin-top: 0.8rem;
- line-height: 0.6rem;
- .address{
- display: flex;
- flex-direction: row;
- margin: 0;
- .locality{
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- &::after{
- content:",";
- margin-right: 0.3rem;
- }
- }
- .country{
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- } }
- }
- .field--name-field-sous-titre{
- margin-top: 0.5rem;
- font-size: 0.9rem;
- font-weight: 800;
- order: 4;
- }
- .field--name-title{
- order: 3;
- margin-top: 0.5rem;
- font-size: 0.9rem;
- font-weight: 800;
- h2{margin: 0;}
- }
-
- .field--name-field-incube{
- order:4;
- color: red;
- margin-top: 0.8rem;
- font-size: 0.7rem;
- }
- .field--name-field-region{
- display: none;
- }
- .field--name-field-type-de-moa{
- display: none;
- }
- .field--name-field-type-de-projet{
- display: none;
- }
- .field--name-field-etape-du-projet{
- display: none;
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
|