diff --git a/app/assets/stylesheets/extranet/layout/_footer.sass b/app/assets/stylesheets/extranet/layout/_footer.sass index 7090ab37c9e8d0f9b26bdb00f6bb5a804d01c8ba..177f77af40d8b256ca6c4c8791809a152fe97127 100644 --- a/app/assets/stylesheets/extranet/layout/_footer.sass +++ b/app/assets/stylesheets/extranet/layout/_footer.sass @@ -11,4 +11,11 @@ footer a display: block line-height: px2rem(26) + padding-bottom: 15px text-decoration: underline + text-decoration-thickness: 1px + text-underline-offset: 3px + text-decoration-color: #00000033 + transition: text-decoration 0.5s, color 0.5s + &:hover + text-decoration-color: #000000 \ No newline at end of file diff --git a/app/assets/stylesheets/extranet/layout/_typography.sass b/app/assets/stylesheets/extranet/layout/_typography.sass index f00c87184c4b8b02f6a29b3fcf1fa9cab7bb527e..bfffe7a54371e4e05ad91f7fb1eac263b28050c6 100644 --- a/app/assets/stylesheets/extranet/layout/_typography.sass +++ b/app/assets/stylesheets/extranet/layout/_typography.sass @@ -36,4 +36,4 @@ h1 text-decoration-color: adjust-color($active-color, $alpha: -0.5) &:hover color: darken($active-color, 10) - text-decoration-color: $active-color \ No newline at end of file + text-decoration-color: $active-color diff --git a/app/assets/stylesheets/extranet/pages/_devise.sass b/app/assets/stylesheets/extranet/pages/_devise.sass index ae3106dc1251aad506569a1dfadeececa2090354..1912649d4e81c42ea626a6fc08596e52ca3e61f3 100644 --- a/app/assets/stylesheets/extranet/pages/_devise.sass +++ b/app/assets/stylesheets/extranet/pages/_devise.sass @@ -2,8 +2,8 @@ background-color: $header-color .logo max-width: 150px - margin: 60px 0 - main - margin-bottom: 200px + margin: 120px 0 footer - border-top: 1px solid $light-border-color \ No newline at end of file + margin-top: 100px + border-top: 1px solid $light-border-color + padding-bottom: 0 \ No newline at end of file diff --git a/app/views/extranet/layouts/devise.html.erb b/app/views/extranet/layouts/devise.html.erb index b0db1d462968af071a5ff12f155975cc429d283d..26271328d700c5d76841053a17fcdef7bb2bf886 100644 --- a/app/views/extranet/layouts/devise.html.erb +++ b/app/views/extranet/layouts/devise.html.erb @@ -7,7 +7,7 @@ <main class="container"> <div class="row"> <div class="offset-md-2 col-md-8"> - <h1 class="my-5 py-5 text-center"> + <h1 class="text-center"> <%= link_to root_path do %> <%= render 'logo' %> <% end %> @@ -19,10 +19,16 @@ <div class="alert alert-danger mt-2" role="alert"><%= alert.html_safe %></div> <% end %> <%= yield %> + <footer> + <nav class="d-md-flex justify-content-between py-4"> + <%= link_to t('terms_of_service'), t('terms_of_service_url'), target: '_blank', rel: 'noreferrer' %> + <%= link_to t('privacy_policy'), t('privacy_policy_url'), target: '_blank', rel: 'noreferrer' %> + <%= link_to t('cookies_policy'), t('cookies_policy_url'), target: '_blank', rel: 'noreferrer' %> + <%= link_to t('cookies_consent_choice'), '', class: 'js-gdpr__cookie_consent__display_again' %> + </footer> </div> </div> </main> - <%= render 'extranet/application/footer', hide_logo: true %> <%= render 'gdpr/cookie_consent' %> <%= render 'bugsnag' %> </body>