From 6f31a4d7b78983e83acd0a129fd682ca04d5e4ac Mon Sep 17 00:00:00 2001 From: Xavier J Date: Tue, 3 Jan 2017 14:53:56 +0100 Subject: [PATCH] Fix logo TPS with --- app/assets/stylesheets/landing.scss | 8 ++++---- app/views/users/passwords/edit.html.haml | 3 ++- app/views/users/passwords/new.html.haml | 3 ++- app/views/users/registrations/new.html.haml | 3 ++- app/views/users/siret/_pro.html.haml | 4 ++-- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/landing.scss b/app/assets/stylesheets/landing.scss index e241fe95d..249e37743 100644 --- a/app/assets/stylesheets/landing.scss +++ b/app/assets/stylesheets/landing.scss @@ -1,3 +1,7 @@ +#logo-tps { + width: 200px; +} + #landing { background-image: image-url('landing_background.png'); background-attachment: fixed; @@ -13,10 +17,6 @@ width: 150px; } - #logo-tps { - width: 200px; - } - #title { padding-bottom: 2%; padding-top: 1%; diff --git a/app/views/users/passwords/edit.html.haml b/app/views/users/passwords/edit.html.haml index 326e95239..ac6f21c5f 100644 --- a/app/views/users/passwords/edit.html.haml +++ b/app/views/users/passwords/edit.html.haml @@ -29,7 +29,8 @@ = devise_error_messages! #form_login - = image_tag(image_url(LOGO_NAME)) + .flag + = image_tag(image_url(LOGO_NAME)) %br %h2#gestionnaire_login Changement de mot de passe diff --git a/app/views/users/passwords/new.html.haml b/app/views/users/passwords/new.html.haml index e597944e4..93b4becbd 100644 --- a/app/views/users/passwords/new.html.haml +++ b/app/views/users/passwords/new.html.haml @@ -30,7 +30,8 @@ %br #form_login - = image_tag(image_url(LOGO_NAME)) + .flag + = image_tag(image_url(LOGO_NAME)) %br %h2#gestionnaire_login Mot de passe oubliƩ diff --git a/app/views/users/registrations/new.html.haml b/app/views/users/registrations/new.html.haml index dec162c92..12e3165cc 100644 --- a/app/views/users/registrations/new.html.haml +++ b/app/views/users/registrations/new.html.haml @@ -30,7 +30,8 @@ #form_login %br - = image_tag(image_url(LOGO_NAME)) + .flag + = image_tag(image_url(LOGO_NAME)) %br %h2#gestionnaire_login Inscription diff --git a/app/views/users/siret/_pro.html.haml b/app/views/users/siret/_pro.html.haml index c56920d71..43836722b 100644 --- a/app/views/users/siret/_pro.html.haml +++ b/app/views/users/siret/_pro.html.haml @@ -1,6 +1,6 @@ %p.lead{id: 'pro_section'} - - = image_tag(image_url(LOGO_NAME)) + .flag + = image_tag(image_url(LOGO_NAME)) %br %h2#titre_procedure.text-info = @procedure.libelle