#1608 ajout des fond de couleur sidebar theme et ville

This commit is contained in:
armansansd 2021-12-07 15:15:08 +01:00
parent 00f4ec5e38
commit bb81983f8a
4 changed files with 101 additions and 37 deletions

File diff suppressed because one or more lines are too long

View File

@ -152,7 +152,7 @@
.views-field-field-dates-actu{
grid-row: 4;
}
.views-field-field-date,{
.views-field-field-date{
grid-row: 3;
}

View File

@ -2,42 +2,104 @@
//page ville sidebar
.field_evenements_lies{
article{
display: grid;
padding-top: .5rem;
padding-bottom: .5rem;
.programme-1{
.block-region-third .field_ressources_liees{
background: $col-1;
}
}
.programme-2{
.block-region-third .field_ressources_liees{
background: $col-2;
}
}
.programme-3{
.block-region-third .field_ressources_liees{
background: $col-eur;
}
}
.programme-4{
.block-region-third .field_ressources_liees{
background: $col-ter;
}
}
.programme-5{
.block-region-third .field_ressources_liees{
background: $col-mond;
}
}
.programme-6{
.block-region-third .field_ressources_liees{
background: $col-ter;
}
}
.programme-7{
.block-region-third .field_ressources_liees{
background: $col-met;
}
}
.block-region-third{
.field_evenements_lies, .field_ressources_liees{
color: white !important;
a{
text-decoration: none;
}
.field_programme{
display: none;
// display: inline-block;
// width: auto;
// color: transparent;
// font-weight: 600;
// text-transform: uppercase;
// font-size: .5rem;
// a{
// padding: .3rem .5rem;
// }
}
h2{
text-transform: none;
color: white !important;
grid-row: 2;
background: none;
font-size: $font-normal;
margin: 0;
}
&.programme-6{
background: $col-ter;
}
}
article{
display: grid;
padding-top: .5rem;
padding-bottom: .5rem;
.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;
}
h2{
text-transform: none;
color: white !important;
grid-row: 2;
background: none;
font-size: $font-normal;
margin: 0;
}
&.programme-1{
background: $col-1;
}
&.programme-2{
background: $col-2;
}
&.programme-3{
background: $col-eur;
}
&.programme-4{
background: $col-ter;
}
&.programme-5{
background: $col-mond;
}
&.programme-6{
background: $col-ter;
}
&.programme-7{
background: $col-met;
}
}
}
}

View File

@ -49,7 +49,7 @@
article{
display: grid;
>div{
grid-row: 1;
//vgrid-row: 1;
text-transform: none;
color: #fff !important;
background: none;
@ -267,6 +267,7 @@
#node\:field_equipes{
margin-top: 1rem;
border-bottom: 3px dotted gray;
h2{
cursor: pointer;
display: grid;
@ -276,6 +277,7 @@
font-size: 1rem;
font-weight: 600;
text-transform: initial;
// text-align: center;
}