fix(home): buttons hover visibility since dsfr

This commit is contained in:
Colin Darie 2022-09-06 15:17:40 +02:00
parent aa7a25712f
commit b4fc46ba32
2 changed files with 9 additions and 5 deletions

View file

@ -162,7 +162,7 @@ $landing-breakpoint: 1040px;
.usagers-panel, .usagers-panel,
.numbers-panel, .numbers-panel,
.cta-panel-2 { .cta-panel-2 {
background-color: $light-grey; background-color: $alt-blue-france;
} }
.more-info { .more-info {
@ -252,6 +252,10 @@ $users-breakpoint: 950px;
.cta-panel { .cta-panel {
background-color: $blue-france-500; background-color: $blue-france-500;
color: #FFFFFF; color: #FFFFFF;
.fr-btn {
box-shadow: inset 0 0 0 1px var(--text-inverted-blue-france);
}
} }
.role-panel-wrapper, .role-panel-wrapper,

View file

@ -30,11 +30,11 @@
COMMENT_TROUVER_MA_DEMARCHE_URL, COMMENT_TROUVER_MA_DEMARCHE_URL,
target: "_blank", target: "_blank",
rel: "noopener noreferrer", rel: "noopener noreferrer",
class: "role-panel-button-primary" class: "fr-btn fr-btn--lg fr-mr-1w fr-mb-2w"
= link_to "Se connecter", = link_to "Se connecter",
new_user_session_path, new_user_session_path,
class: "role-panel-button-secondary" class: "fr-btn fr-btn--secondary fr-btn--lg"
- cache "numbers-panel", :expires_in => 3.hours do - cache "numbers-panel", :expires_in => 3.hours do
.landing-panel .landing-panel
@ -71,7 +71,7 @@
%p.cta-panel-explanation La réponse est dans laide en ligne %p.cta-panel-explanation La réponse est dans laide en ligne
%div %div
= link_to "Accéder à laide en ligne", FAQ_URL, = link_to "Accéder à laide en ligne", FAQ_URL,
class: "cta-panel-button-white", class: "fr-btn fr-btn--lg",
target: "_blank", target: "_blank",
rel: "noopener noreferrer" rel: "noopener noreferrer"
-# We temporarily disable the link to the contact page on the homepage -# We temporarily disable the link to the contact page on the homepage
@ -92,4 +92,4 @@
%div %div
= link_to "Découvrez notre outil", = link_to "Découvrez notre outil",
administration_path, administration_path,
class: "cta-panel-button-blue" class: "fr-btn fr-btn--lg"