This commit is contained in:
armansansd
2022-04-27 13:16:07 +02:00
parent 47b5159777
commit fded5af68d
8 changed files with 119 additions and 485 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +1,7 @@
// page centre de ressources
// & ressource simple
.path-centre-de-ressources{
// //tmp
// .slick-slider{
// display: none;
// }
//colo programme
.programme-1{
color: $col-1;

View File

@@ -1,5 +1,5 @@
.page-node-type-theme, .page-node-type-projet{
///// copy menu left
///// menu left
.block-region-first{
.field_programme{
display: none;
@@ -74,10 +74,8 @@
}
}
/////fin copy menu left
/////fin menu left
// couleur popsu
.field_logo{
display: block;
}
@@ -104,6 +102,7 @@
background: $col-met;
}
}
//fin couleurp popsu
// .block-region-first{
// padding: 1rem;
// .field_programme{
@@ -119,27 +118,7 @@
// }
// }
.block-region-third{
margin-top: 20rem;
#node\:field_equipes{
// visibility: hidden;
}
#node\:field_evenements_lies{
article{
display: grid;
>div{
//vgrid-row: 1;
text-transform: none;
color: #fff !important;
background: none;
font-size: .6rem;
margin: 0;
padding: .1rem 1rem;
}
}
}
}
//contenu
.block-region-second{
#node\:title:before{
clear: both;
@@ -178,7 +157,7 @@
margin-bottom: 1rem;
}
#node\:field_image,.field_diaporama{
#node\:field_image,.field_diaporama,.field_image{
width: 150%;
margin-bottom: 1rem;
@@ -323,7 +302,33 @@
}
}
}
//end contenus central
//menu droite
.block-region-third{
margin-top: 20rem;
#node\:field_evenements_lies{
article{
display: grid;
>div{
//vgrid-row: 1;
text-transform: none;
color: #fff !important;
background: none;
font-size: .6rem;
margin: 0;
padding: .1rem 1rem;
}
}
}
}
// fin menu droite
// gallery de projet sous contenu du théme / ville
.block-region-bottom{
#node\:field_projets_lies, #node\:field_themes_lies, #node\:field_comparatifs_associes{
h2{
@@ -346,102 +351,6 @@
}
// #node\:field_equipes{
// padding: 1rem 0;
// border-bottom: 3px dotted gray;
// h2{
// cursor: pointer;
// display: grid;
// grid-template-columns: 95% 5%;
// align-content: center;
// font-family: "trueno";
// font-size: 1rem;
// font-weight: 600;
// text-transform: initial;
// // text-align: center;
// }
// h2:after{
// content: '▼';
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// align-self: center;
// justify-self: center;
// font-size: $font-big;
// }
// .rotate:after{
// transform: rotate(180deg);
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// }
// .field_equipes{
// display: none;
// .paragraph{
// display: grid;
// .field_membres{
// grid-row: 2;
// // >div:first-child{
// // display: none;
// // }
// .paragraph{
// display: grid;
// grid-template-columns: auto 1fr;
// .field_nom{
// grid-column: 2;
// grid-row: 1;
// padding-left: .3rem;
// display: inline-block;
// width: auto;
// font-weight: 500;
// >div:first-child{
// display: none;
// }
// div:nth-of-type(2){
// display: inline-block;
// width: auto;
// }
// }
// .field_prenom{
// grid-column: 1;
// grid-row: 1;
// display: inline-block;
// font-weight: 500;
// >div:first-child{
// display: none;
// }
// div:nth-of-type(2){
// display: inline-block;
// width: auto;
// }
// }
// .field_fonction{
// grid-column: 1 / span 2;
// >div:first-child{
// display: none;
// }
// }
// margin-bottom: .3rem;
// }
// margin-bottom: .5rem;
// }
// .field_type_equipe{
// grid-row: 1;
// font-weight: 600;
// font-size: $font-medium;
// margin-bottom: .5rem;
// div:first-child{
// display: none;
// }
// }
// }
// }
// }
#node\:field_partenaires{
h2{
// color: black;
@@ -572,12 +481,7 @@
}
.page-node-type-projet{
#node\:title:before{
content: "ville";
}
.page-node-type-projet, .page-node-type-theme{
.field_projets_lies, .field_themes_lies, .field_comparatifs_associes{
article{
display: grid;
@@ -597,7 +501,7 @@
}
}
.field_diaporama {
.field_diaporama,.field_image {
position: relative;
width: 100%;
overflow: hidden;
@@ -615,7 +519,7 @@
}
}
}
.field_diaporama:after {
.field_diaporama:after, .field_image:after {
content: "";
display: block;
padding-top: 100%;
@@ -712,6 +616,27 @@
}
}
}
.page-node-type-projet{
#node\:title:before{
content: "ville";
}
#node\:field_equipes{
h2{
font-family: "trueno" !important;
font-size: 1rem;
font-weight: 600;
text-transform: none;
margin: 1rem 0;
}
.field_type_equipe{
font-weight: 500;
}
}
}
.page-node-type-theme{
#node\:title:before{
content: "thème";
@@ -725,156 +650,27 @@
}
}
.block-region-third{
#node\:field_partenaires{
h2{
border:none;
font-family: trueno;
font-size: .8rem;
font-weight: 600;
margin-top: 0;
padding: .4rem 0.5rem;
display: block;
&:after{
display:none;
}
}
.field_partenaires{
display: grid;
}
}
}
// .block-region-third{
// #node\:field_partenaires{
// h2{
// border:none;
// font-family: trueno;
// font-size: .8rem;
// font-weight: 600;
// margin-top: 0;
// padding: .4rem 0.5rem;
// display: block;
// &:after{
// display:none;
// }
// }
// .field_partenaires{
// display: grid;
// }
// }
// }
.field_projets_lies, .field_themes_lies{
article{
display: grid;
h2{
grid-row: 2;
text-align: left !important;
text-transform: none !important;
line-height: 1.3;
margin: .5rem 0 0 0;
font-size: $font-normal;
font-weight: 400;
a{
text-decoration: none;
&:hover{
text-decoration: underline;
}
}
}
.field_diaporama {
position: relative;
width: 100%;
overflow: hidden;
margin-top: -.5rem;
z-index: -1;
a{
position: absolute;
height: 100%;
width: 100%;
object-fit: cover;
img{
height: 100% ;
width: 100%;
object-fit: cover;
}
}
}
.field_diaporama:after {
content: "";
display: block;
padding-top: 100%;
}
.field_programme{
text-transform: uppercase;
display: inline-block;
font-weight: 600;
padding: .02rem .3rem;
grid-column: 1;
grid-row: 1;
z-index: 1;
margin-bottom: -.5rem;
margin-left: .2rem;
color: white;
a{
text-decoration: none;
}
}
//// prog color
&.programme-1{
h2{
color: $col-1 !important;
}
.field_programme{
background: $col-1 ;
}
}
&.programme-2{
h2{
color: $col-2 !important;
}
.field_programme{
background: $col-2 ;
}
}
&.programme-3{
h2{
color: $col-eur !important;
}
.field_programme{
background: $col-eur ;
}
}
&.programme-4{
h2{
color: $col-1;
}
.field_programme{
background:$col-1 ;
}
}
&.programme-5{
h2{
color: $col-mond !important;
}
.field_programme{
background: $col-mond ;
}
}
&.programme-6{
h2{
color: $col-ter !important;
}
.field_programme{
background: $col-ter ;
}
}
&.programme-7{
h2{
color: $col-met !important;
}
.field_programme{
background: $col-met ;
}
}
}
}
// si ressources affichée dans page théme
#node\:field_ressources_liees{
background: $trame;
// h2{

View File

@@ -1,7 +1,4 @@
//voir theme
//page ville sidebar
.programme-1{
.block-region-third .field_ressources_liees{
@@ -54,16 +51,6 @@
.field_programme{
display: none;
// display: inline-block;
// width: auto;
// color: transparent;
// font-weight: 600;
// text-transform: uppercase;
// font-size: .5rem;
// a{
// padding: .3rem .5rem;
// }
}
.field_sous_titre{
color: white !important;

View File

@@ -77,10 +77,7 @@ body{
}
}
}
.slick-track{
display: flex;
align-items: center;
}
main{
h2{
text-transform: uppercase;
@@ -91,31 +88,20 @@ main{
a{
color:inherit;
}
// .ext{
// display: none;
// }
.block-region-first{
#node\:field_programme{
.field_programme{
*{
background: none !important;
}
}
}
}
.footer_bottom_right_container{
.ext{
display: none;
}
}
strong, b{
font-weight: 600;
}
i, em{
font-style: italic;
}
// slick carrousel
.slick-track{
display: flex;
align-items: center;
}
.slick-arrow{
font-size: 0;
@@ -150,6 +136,23 @@ i, em{
transform: rotate(180deg);
}
// end carousel
.block-region-first{
#node\:field_programme{
.field_programme{
*{
background: none !important;
}
}
}
}
.footer_bottom_right_container{
.ext{
display: none;
}
}
//map
@@ -216,4 +219,6 @@ i, em{
}
}
}
}
//end map

View File

@@ -1,3 +1,5 @@
// general layout
.layout--threecol-25-50-25{
display: grid;
grid-template-columns: 20% minmax(0,1fr) 20%;
@@ -7,9 +9,7 @@
position: relative;
}
.layout-content{
// padding-bottom: 4rem;
}
.layout__region--bottom{
grid-column: 1 /span 3;
}

View File

@@ -26,6 +26,7 @@
/*pages*/
@import "pages/partials/header_footer";
@import "pages/partials/villes_sidebar";
@import "pages/home";
@import "pages/ressources";
@import "pages/default";
@@ -34,5 +35,4 @@
@import "pages/archives";
@import "pages/node-evenement-actu";
@import "pages/themes";
@import "pages/projet";