handling the new patrimoine-sante-securite thematique
This commit is contained in:
parent
df79616982
commit
2124c432f5
|
|
@ -7,7 +7,7 @@
|
|||
.filter-isolation-quotidien {
|
||||
filter: invert(21%) sepia(94%) saturate(3059%) hue-rotate(26deg) brightness(98%) contrast(98%);
|
||||
}
|
||||
.filter-patrimoine-renovation {
|
||||
.filter-patrimoine-sante-securite {
|
||||
filter: invert(25%) sepia(79%) saturate(6075%) hue-rotate(263deg) brightness(99%) contrast(96%);
|
||||
}
|
||||
.filter-location-durabilite {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,6 @@
|
|||
}
|
||||
&.card-patrimoine:hover {
|
||||
.cta_arrow_button {
|
||||
@apply filter-patrimoine-renovation;
|
||||
@apply filter-patrimoine-sante-securite;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
--acoustique-coproprietes-dark-hover: #112d75;
|
||||
--energies-urbanisme-dark-hover: #013d27;
|
||||
--isolation-quotidien-dark-hover: #602201;
|
||||
--patrimoine-renovation-dark-hover: #431777;
|
||||
--patrimoine-sante-securite-dark-hover: #431777;
|
||||
--location-durabilite-dark-hover: #6b0015;
|
||||
}
|
||||
/* -------------------------------------------------
|
||||
|
|
@ -452,7 +452,12 @@ body.erfgoed,
|
|||
.entry-content--erfgoed,
|
||||
.taxonomy-question-page--erfgoed,
|
||||
.post-conseil-page--erfgoed,
|
||||
.post-question-page--erfgoed {
|
||||
.post-question-page--erfgoed,
|
||||
body.sante-et-securite,
|
||||
.entry-content--sante-et-securite,
|
||||
.taxonomy-question-page--sante-et-securite,
|
||||
.post-conseil-page--sante-et-securite,
|
||||
.post-question-page--sante-et-securite {
|
||||
h2,
|
||||
h3,
|
||||
/* h4, */
|
||||
|
|
@ -463,24 +468,24 @@ body.erfgoed,
|
|||
.homegrade-blocks-focused-thematique__figcaption-toggle,
|
||||
.question-context__conseil-name,
|
||||
.chapter_index a.active {
|
||||
@apply text-patrimoine-renovation;
|
||||
@apply text-patrimoine-sante-securite;
|
||||
}
|
||||
.homegrade-blocks-highlight--classic {
|
||||
a[rel='noopener']:not(.wp-block-button__link) {
|
||||
@apply !text-patrimoine-renovation;
|
||||
@apply !text-patrimoine-sante-securite;
|
||||
}
|
||||
}
|
||||
.homegrade-blocks-highlight {
|
||||
@apply bg-patrimoine-renovation-light text-black;
|
||||
@apply bg-patrimoine-sante-securite-light text-black;
|
||||
.icon {
|
||||
@apply bg-patrimoine-renovation;
|
||||
@apply bg-patrimoine-sante-securite;
|
||||
}
|
||||
|
||||
&:not(.homegrade-blocks-highlight--warning) {
|
||||
.wp-block-button__link {
|
||||
@apply !bg-patrimoine-renovation;
|
||||
@apply !bg-patrimoine-sante-securite;
|
||||
&:hover {
|
||||
background: var(--patrimoine-renovation-dark-hover) !important;
|
||||
background: var(--patrimoine-sante-securite-dark-hover) !important;
|
||||
filter: none !important;
|
||||
}
|
||||
}
|
||||
|
|
@ -493,55 +498,58 @@ body.erfgoed,
|
|||
.homegrade-blocks-focused-schema ol li:before,
|
||||
ul li:before,
|
||||
.wp-block-button__link {
|
||||
@apply bg-patrimoine-renovation;
|
||||
@apply bg-patrimoine-sante-securite;
|
||||
}
|
||||
.tooltip-word {
|
||||
@apply !decoration-patrimoine-renovation;
|
||||
@apply !decoration-patrimoine-sante-securite;
|
||||
}
|
||||
.homegrade-blocks-aside {
|
||||
@apply border-patrimoine-renovation;
|
||||
@apply border-patrimoine-sante-securite;
|
||||
}
|
||||
.post-question-chapter-header,
|
||||
.post-conseils-chapter-header {
|
||||
&__infos {
|
||||
p {
|
||||
@apply text-patrimoine-renovation;
|
||||
@apply text-patrimoine-sante-securite;
|
||||
}
|
||||
}
|
||||
.post-infos-capsule__share,
|
||||
.post-infos-capsule__publication-date,
|
||||
.post-infos-capsule__modification-date {
|
||||
@apply text-patrimoine-renovation;
|
||||
@apply text-patrimoine-sante-securite;
|
||||
}
|
||||
}
|
||||
.homegrade-blocks-plus-loin .homegrade-blocks-custom-heading.has-icon {
|
||||
&.has-icon:before {
|
||||
@apply bg-patrimoine-renovation-light;
|
||||
@apply bg-patrimoine-sante-securite-light;
|
||||
}
|
||||
}
|
||||
.homegrade-blocks-lien-chapitre__cta:hover {
|
||||
@apply filter-patrimoine-renovation;
|
||||
@apply filter-patrimoine-sante-securite;
|
||||
}
|
||||
.homegrade-blocks-focused-thematique__figcaption-toggle img {
|
||||
@apply filter-patrimoine-renovation;
|
||||
@apply filter-patrimoine-sante-securite;
|
||||
}
|
||||
|
||||
/* page single questions */
|
||||
.thematiques-subtaxonomy-links .cta {
|
||||
@apply text-patrimoine-renovation border-patrimoine-renovation;
|
||||
@apply text-patrimoine-sante-securite border-patrimoine-sante-securite;
|
||||
}
|
||||
|
||||
.previous-next-questions .question_type {
|
||||
@apply text-patrimoine-renovation;
|
||||
@apply text-patrimoine-sante-securite;
|
||||
}
|
||||
}
|
||||
|
||||
.card-news__thematique-tag--patrimoine,
|
||||
.card-news__thematique-tag--erfgoed {
|
||||
@apply bg-patrimoine-renovation-light text-patrimoine-renovation;
|
||||
.card-news__thematique-tag--erfgoed,
|
||||
.card-news__thematique-tag--sante-et-securite,
|
||||
.card-news__thematique-tag--gezondheid-en-veiligheid {
|
||||
@apply bg-patrimoine-sante-securite-light text-patrimoine-sante-securite;
|
||||
}
|
||||
|
||||
body.newpurplethematic,
|
||||
|
||||
/* body.newpurplethematic,
|
||||
.entry-content--newpurplethematic,
|
||||
.taxonomy-question-page--newpurplethematic,
|
||||
.post-conseil-page--newpurplethematic,
|
||||
|
|
@ -550,7 +558,9 @@ body.newpurplethematic,
|
|||
.post-conseils-chapter-header {
|
||||
background: var(--wp--preset--gradient--gradient-purple);
|
||||
}
|
||||
}
|
||||
} */
|
||||
|
||||
/* PATRIMOINE — SPECIFIC */
|
||||
body.patrimoine,
|
||||
.entry-content--patrimoine,
|
||||
.taxonomy-question-page--patrimoine,
|
||||
|
|
@ -563,7 +573,23 @@ body.erfgoed,
|
|||
.post-question-page--erfgoed {
|
||||
.post-question-chapter-header,
|
||||
.post-conseils-chapter-header {
|
||||
@apply bg-patrimoine-renovation-light;
|
||||
@apply bg-patrimoine-sante-securite-light;
|
||||
}
|
||||
}
|
||||
/* LOCATION — SPECIFIC */
|
||||
body.sante-et-securite,
|
||||
.entry-content--sante-et-securite,
|
||||
.taxonomy-question-page--sante-et-securite,
|
||||
.post-conseil-page--sante-et-securite,
|
||||
.post-question-page--sante-et-securite,
|
||||
body.gezondheid-en-veiligheid,
|
||||
.entry-content--gezondheid-en-veiligheid,
|
||||
.taxonomy-question-page--gezondheid-en-veiligheid,
|
||||
.post-conseil-page--gezondheid-en-veiligheid,
|
||||
.post-question-page--gezondheid-en-veiligheid {
|
||||
.post-question-chapter-header,
|
||||
.post-conseils-chapter-header {
|
||||
@apply bg-patrimoine-sante-securite-light;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -659,7 +685,7 @@ body.duurzaamheid,
|
|||
@apply filter-location-durabilite;
|
||||
}
|
||||
.homegrade-blocks-focused-thematique__figcaption-toggle img {
|
||||
@apply filter-patrimoine-renovation;
|
||||
@apply filter-patrimoine-sante-securite;
|
||||
}
|
||||
|
||||
/* page single questions */
|
||||
|
|
@ -787,7 +813,7 @@ body.duurzaamheid,
|
|||
.filter-isolation-quotidien {
|
||||
filter: invert(21%) sepia(94%) saturate(3059%) hue-rotate(26deg) brightness(98%) contrast(98%);
|
||||
}
|
||||
.filter-patrimoine-renovation {
|
||||
.filter-patrimoine-sante-securite {
|
||||
filter: invert(25%) sepia(79%) saturate(6075%) hue-rotate(263deg) brightness(99%) contrast(96%);
|
||||
}
|
||||
.filter-location-durabilite {
|
||||
|
|
@ -826,7 +852,9 @@ body.duurzaamheid,
|
|||
@apply bg-acoustique-coproprietes-light text-acoustique-coproprietes;
|
||||
}
|
||||
&--patrimoine,
|
||||
&--erfgoed {
|
||||
@apply bg-patrimoine-renovation-light text-patrimoine-renovation;
|
||||
&--erfgoed,
|
||||
&--sante-et-securite,
|
||||
&--gezondheid-en-veiligheid {
|
||||
@apply bg-patrimoine-sante-securite-light text-patrimoine-sante-securite;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
&.card-patrimoine:hover {
|
||||
.cta_arrow_button {
|
||||
@apply filter-patrimoine-renovation;
|
||||
@apply filter-patrimoine-sante-securite;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,10 +64,10 @@
|
|||
}
|
||||
&.card-patrimoine .cta--with-arrow-button:focus-visible,
|
||||
&.card-patrimoine:hover {
|
||||
@apply !outline-patrimoine-renovation;
|
||||
@apply !outline-patrimoine-sante-securite;
|
||||
|
||||
.cta_arrow_button {
|
||||
@apply filter-patrimoine-renovation;
|
||||
@apply filter-patrimoine-sante-securite;
|
||||
}
|
||||
}
|
||||
.cta--with-arrow-button:focus-visible {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user