introducing dark color taxonomy scheme for button hover

This commit is contained in:
Antoine M 2024-01-10 16:48:33 +01:00
parent 8d13f5649d
commit 0640fe45ec

View File

@ -1,3 +1,10 @@
:root {
--acoustique-coproprietes-dark-hover: #112d75;
--energies-urbanisme-dark-hover: #013d27;
--isolation-quotidien-dark-hover: #602201;
--patrimoine-renovation-dark-hover: #431777;
--location-renovation-circulaire-dark-hover: #6b0015;
}
/* -------------------------------------------------
BLUE SCHEME PETITES COPROPRIÉTÉS & ACOUSTIQUE
---------------------------------------------------*/
@ -47,6 +54,10 @@ body.akoestiek,
&:not(.homegrade-blocks-highlight--warning) {
.wp-block-button__link {
@apply !bg-acoustique-coproprietes;
&:hover {
background: var(--acoustique-coproprietes-dark-hover) !important;
filter: none !important;
}
}
}
}
@ -163,6 +174,10 @@ body.energie,
&:not(.homegrade-blocks-highlight--warning) {
.wp-block-button__link {
@apply !bg-energies-urbanisme;
&:hover {
background: var(--energies-urbanisme-dark-hover) !important;
filter: none !important;
}
}
}
}
@ -295,6 +310,10 @@ body.isolation,
&:not(.homegrade-blocks-highlight--warning) {
.wp-block-button__link {
@apply !bg-isolation-quotidien;
&:hover {
background: var(--isolation-quotidien-dark-hover) !important;
filter: none !important;
}
}
}
}
@ -416,9 +435,10 @@ body.erfgoed,
&:not(.homegrade-blocks-highlight--warning) {
.wp-block-button__link {
@apply !bg-patrimoine-renovation;
/* &:hover {
@apply !bg-patrimoine-renovation-light;
} */
&:hover {
background: var(--patrimoine-renovation-dark-hover) !important;
filter: none !important;
}
}
}
}
@ -539,6 +559,10 @@ body.circulaire-renovatie,
&:not(.homegrade-blocks-highlight--warning) {
.wp-block-button__link {
@apply !bg-location-renovation-circulaire;
&:hover {
background: var(--location-renovation-circulaire-dark-hover) !important;
filter: none !important;
}
}
}
}