STYLE TWEAKS On cta color behaviour
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-10-14 11:36:40 +02:00
parent e1d584fa64
commit 767ce6de82
2 changed files with 18 additions and 0 deletions

View File

@ -109,10 +109,18 @@
&--bg-dark { &--bg-dark {
.wp-block-carhop-blocks-cta { .wp-block-carhop-blocks-cta {
--cta-current-color: #fff;
&:after { &:after {
filter: brightness(41); filter: brightness(41);
} }
} }
/* .wp-block-carhop-blocks-cta {
@apply !bg-red-400;
&:after {
filter: brightness(41);
}
} */
} }
> *:not(.chapter-section__background) { > *:not(.chapter-section__background) {

View File

@ -21,6 +21,16 @@
&--bg-dark { &--bg-dark {
--content-box-text-color: #fff; --content-box-text-color: #fff;
.wp-block-carhop-blocks-cta {
--cta-current-color: #fff;
color: blue;
&:after {
/* background-image: url('../resources/img/carhop-fleche-lien-externe-full--white.svg'); */
filter: brightness(41);
}
}
a[target='_blank'] { a[target='_blank'] {
&:after { &:after {
background-image: url('../resources/img/carhop-fleche-lien-externe-full--white.svg'); background-image: url('../resources/img/carhop-fleche-lien-externe-full--white.svg');