handling current active chapter index and its colors

This commit is contained in:
Antoine M 2023-11-27 18:50:30 +01:00
parent de2d119511
commit cc9dea5775

View File

@ -25,7 +25,8 @@ body.akoestiek,
ul li::marker,
ol li::marker,
.homegrade-blocks-focused-thematique__figcaption-toggle,
.question-context__conseil-name {
.question-context__conseil-name,
.chapter_index a.active, {
@apply text-acoustique-coproprietes;
}
@ -141,7 +142,8 @@ body.energie,
ol li::marker,
ul li::marker,
.homegrade-blocks-focused-thematique__figcaption-toggle,
.question-context__conseil-name, {
.question-context__conseil-name,
.chapter_index a.active {
@apply text-energies-urbanisme;
}
.homegrade-blocks-highlight {
@ -263,9 +265,11 @@ body.isolation,
ol li::marker,
ul li::marker,
.homegrade-blocks-focused-thematique__figcaption-toggle,
.question-context__conseil-name {
.question-context__conseil-name,
.chapter_index a.active {
@apply text-isolation-quotidien;
}
.homegrade-blocks-highlight {
@apply bg-isolation-quotidien-light text-black;
.icon {
@ -373,7 +377,8 @@ body.erfgoed,
h6,
ol li::marker,
ul li::marker,
.question-context__conseil-name {
.question-context__conseil-name,
.chapter_index a.active {
@apply text-patrimoine-renovation;
}
.homegrade-blocks-highlight {
@ -483,7 +488,8 @@ body.circulaire-renovatie,
h6,
ol li::marker,
ul li::marker,
.question-context__conseil-name {
.question-context__conseil-name,
.chapter_index a.active {
@apply text-location-renovation-circulaire;
}
.homegrade-blocks-highlight {