diff --git a/app/assets/stylesheets/admin/composants/_recherche_structure.scss b/app/assets/stylesheets/admin/composants/_recherche_structure.scss index 5175a044d..ac746a0e7 100644 --- a/app/assets/stylesheets/admin/composants/_recherche_structure.scss +++ b/app/assets/stylesheets/admin/composants/_recherche_structure.scss @@ -19,8 +19,12 @@ background-image: image-url('punaise-recherche.svg'); } } - .description-liste-structures { + + h3.description-liste-structures { + @include texte; margin-bottom: 1rem; color: $eva_main_blue; + font-family: $font-texte; + font-weight: normal; } } diff --git a/app/assets/stylesheets/admin/composants/_rejoindre_structure.scss b/app/assets/stylesheets/admin/composants/_rejoindre_structure.scss index 050e88cb4..e0407e4ab 100644 --- a/app/assets/stylesheets/admin/composants/_rejoindre_structure.scss +++ b/app/assets/stylesheets/admin/composants/_rejoindre_structure.scss @@ -9,7 +9,7 @@ .infos { max-width: 16.25rem; .sous-infos { - margin-top: .75rem; + margin: .75rem 0 0 0; font-size: .75rem; } } diff --git a/app/assets/stylesheets/admin/pages/_logged_out.scss b/app/assets/stylesheets/admin/pages/_logged_out.scss index 3807d2278..45aefd3e1 100644 --- a/app/assets/stylesheets/admin/pages/_logged_out.scss +++ b/app/assets/stylesheets/admin/pages/_logged_out.scss @@ -6,6 +6,28 @@ body.logged_out { font-size: .875rem; background-color: $eva_light; + h2 { + padding: 0; + margin: 0 0 1.125rem;; + font-size: 1.125rem; + font-family: $font-titre; + text-shadow: none; + box-shadow: none; + color: $grey-50; + background: none; + } + + h3 { + @include titre-carte; + font-size: 1.25rem; + line-height: 1.5rem; + margin-bottom: 1.25rem; + padding: 0; + + .description { + margin-bottom: 0; + } + } + #wrapper { flex-direction: column; display: flex; @@ -81,30 +103,6 @@ body.logged_out { } } - h2 { - padding: 0; - margin: 0 0 1.125rem;; - font-size: 1.125rem; - font-family: $font-titre; - text-shadow: none; - border-top-left-radius: 0.5rem; - border-top-right-radius: 0.5rem; - box-shadow: none; - color: $grey-50; - background: none; - } - - h3 { - @include titre-carte; - font-size: 1.25rem; - line-height: 1.5rem; - margin-bottom: 1.25rem; - padding: 0; - + .description { - margin-bottom: 0; - } - } - .panels-login { display: grid; grid-template-columns: 1fr 1fr; diff --git a/app/components/recherche_structure_component.html.erb b/app/components/recherche_structure_component.html.erb index 9cf2ee895..ec563e02b 100644 --- a/app/components/recherche_structure_component.html.erb +++ b/app/components/recherche_structure_component.html.erb @@ -10,7 +10,7 @@ <% if @ville_ou_code_postal.present? %> <% if @structures_code_postal.present? %> -
<%= @structures_code_postal.size %> résultat(s) pour <%= @code_postal %>
+Structures à proximité
+<%= t('.code_postal') %><%= @structure.code_postal %>
<%= t('.message_accueil') %>
<%= render(@recherche_structure_component) %>