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

View file

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