diff --git a/app/assets/stylesheets/new_design/_constants.scss b/app/assets/stylesheets/new_design/_constants.scss index f652937cc..0c9aaf6c7 100644 --- a/app/assets/stylesheets/new_design/_constants.scss +++ b/app/assets/stylesheets/new_design/_constants.scss @@ -3,11 +3,6 @@ $page-width: 1040px; $default-spacer: 8px; $default-padding: 2 * $default-spacer; -$footer-height: 267px; -$footer-height-mobile: 531px; - -$small-footer-height: 2 * $default-padding; - // layouts $two-columns-padding: 60px; $two-columns-breakpoint: $page-width + (2 * $two-columns-padding); diff --git a/app/assets/stylesheets/new_design/accessibilite.scss b/app/assets/stylesheets/new_design/accessibilite.scss index 3b844f587..eb2953da6 100644 --- a/app/assets/stylesheets/new_design/accessibilite.scss +++ b/app/assets/stylesheets/new_design/accessibilite.scss @@ -1,11 +1,18 @@ $default-space: 15px; +$new-p-margin-bottom: 3 * $default-space; .accessibilite { width: 1040px; margin: 0 auto; padding-top: $default-space * 2; + padding-bottom: $default-space * 2; ul { list-style-type: disc; + margin-top: -($default-space * 2); } } + +.new-p { + margin-bottom: $new-p-margin-bottom; +} diff --git a/app/assets/stylesheets/new_design/common.scss b/app/assets/stylesheets/new_design/common.scss index 5901a5db6..e98f7270c 100644 --- a/app/assets/stylesheets/new_design/common.scss +++ b/app/assets/stylesheets/new_design/common.scss @@ -15,16 +15,7 @@ select { .page-wrapper { position: relative; - padding-bottom: $small-footer-height; min-height: 100%; - - &.with-footer { - padding-bottom: $footer-height; - - @media (max-width: 1000px) { - padding-bottom: $footer-height-mobile; - } - } } h1 { diff --git a/app/assets/stylesheets/new_design/new_footer.scss b/app/assets/stylesheets/new_design/new_footer.scss index 5f34bc894..5842e2ca6 100644 --- a/app/assets/stylesheets/new_design/new_footer.scss +++ b/app/assets/stylesheets/new_design/new_footer.scss @@ -7,14 +7,8 @@ footer { @include vertical-padding(72px); background-color: $light-grey; border-top: 1px solid $border-grey; - position: absolute; bottom: 0; width: 100%; - height: $footer-height; - - @media (max-width: 1000px) { - height: $footer-height-mobile; - } } .footer-columns { @@ -65,8 +59,8 @@ footer { .footer-logo-dinsic { @include ie-compatible-background-image("footer/logo-dinsic.svg"); - height: 85px; - width: 74px; + height: 115px; + width: 100px; } .footer-link a { diff --git a/app/views/accessibilite/index.html.haml b/app/views/accessibilite/index.html.haml index c07140b08..02dc7a238 100644 --- a/app/views/accessibilite/index.html.haml +++ b/app/views/accessibilite/index.html.haml @@ -2,5 +2,17 @@ %h1.new-h1 Accessibilité - %p - Nous travaillons à rendre ce site conforme avec les normes en matière d'accessibilité. Une premiere version est attendue pour août 2018 pour la partie "Usager" du site. + %p.new-p + Nous travaillons à améliorer le niveau d'accessibilité du site et sa conformité avec les normes en la matière. Une première version optimisée pour la partie « Usager » du site ainsi qu'une déclaration de conformité RGAA seront disponibles en août 2018. + + %h2.new-h2 Signaler un dysfonctionnement + %p.new-p + Si, malgré notre vigilance, vous rencontriez le moindre problème d’accessibilité sur notre site, n’hésitez pas à nous écrire à contact@tps.apientreprise.fr. + + %h2.new-h2 Défenseur des droits + %p.new-p + Si vous constatez un défaut d'accessibilité vous empêchant d'accéder à un contenu ou une fonctionnalité du site, que vous nous le signalez et que vous ne parvenez pas à obtenir une réponse rapide de notre part, vous êtes en droit de faire parvenir vos doléances ou une demande de saisine au Défenseur des droits. Plusieurs moyens sont à votre disposition : + %ul + %li un formulaire de contact ; + %li la liste du ou des délégués de votre région avec leurs informations de contact direct ; + %li une adresse postale : Le Défenseur des droits - 7 rue Saint-Florentin - 75409 Paris Cedex 08. diff --git a/app/views/layouts/_new_footer.html.haml b/app/views/layouts/_new_footer.html.haml index d04de7f71..61b857398 100644 --- a/app/views/layouts/_new_footer.html.haml +++ b/app/views/layouts/_new_footer.html.haml @@ -3,6 +3,8 @@ %ul.footer-columns %li.footer-column %ul.footer-logos + %li.footer-link + Un service fourni par : %li = link_to "https://beta.gouv.fr/" do %span.footer-logo.footer-logo-beta-gouv-fr{ role: 'img', 'aria-label': 'Logo de beta.gouv.fr' } diff --git a/app/views/layouts/new_application.html.haml b/app/views/layouts/new_application.html.haml index 973899ddf..dcccd8024 100644 --- a/app/views/layouts/new_application.html.haml +++ b/app/views/layouts/new_application.html.haml @@ -17,7 +17,7 @@ = stylesheet_link_tag "new_design/print", media: "print", "data-turbolinks-track": true %body - .page-wrapper{ class: content_for?(:display_footer) ? 'with-footer' : 'nil' } + .page-wrapper = render partial: "layouts/support_navigator_banner" = render partial: "layouts/ie_lt_10" - if Rails.env == "staging"