diff --git a/app/assets/javascripts/public.js.coffee b/app/assets/javascripts/public.js.coffee index b7cb8e9..0728d71 100644 --- a/app/assets/javascripts/public.js.coffee +++ b/app/assets/javascripts/public.js.coffee @@ -39,9 +39,9 @@ $ -> test = 10 - $("#home_slider").css("height", ($("#main").width()*(9 / 20))+"px") + $("#home_slider").css("height", ($("#main").width()*(9 / 26))+"px") - $("#home_slider .inner").css("height", ($("#main").width()*(9 / 20))+"px") + $("#home_slider .inner").css("height", ($("#main").width()*(9 / 26))+"px") diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index 187a684..665fea1 100644 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -55,7 +55,7 @@ h1,h2,h3{ height:100px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.11); background:white; - border-left:15px solid $blue; + border-left:50px solid $blue; position:relative; z-index:2; #logo{ @@ -99,10 +99,21 @@ h1,h2,h3{ padding: 20px 10px 10px; background-color: #5d5d5d; font-size:0.9em; + position:relative; + #certif{ + width:230px; + position:absolute; + bottom:0; + right:0; + + } .logo{ height:50px; } - + #contact_card{ + + height:150px; + } p{ margin-top:0; color:white; @@ -132,6 +143,28 @@ h1,h2,h3{ } #home_slider{ + + position:relative; + .bouvier-signa{ + position:absolute; + bottom:10px; + height:30px; + left:10px; + z-index:100; + } + .certif{ + position:absolute; + z-index:100; + bottom:0px; + width:170px; + right:0px; + opacity:0.8; + + &:hover{ + opacity:1; + } + + } .inner{ background:black center center no-repeat; background-size:100%; diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index acd6d80..04d4840 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -66,6 +66,11 @@ #home_slider + =link_to "/fr/contact.html" do + =image_tag("/certif.png", :class => "certif") + + =link_to image_tag("/bouvier-signaletique.png", :class => "bouvier-signa", :style => ""), "http://www.bouvier-signa.com", :target => "_blank" + .flexslider %ul.slides @@ -126,34 +131,25 @@ =i(:"arrow-up") .bottom + =link_to "/fr/contact.html" do + =image_tag("/certif.png", :id => "certif") + + .row .columns.span_4{:style => "padding:10px;"} =link_to image_tag("/logo-w.png", :class => "logo"),"/" %br %br %br - .columns.span_4{:style => "padding:10px;"} - %p - - Zone Actipôle, 4/6 boulevard Beaubourg - %br - 77183 CROISSY BEAUBOURG - %br - Tél. 0(33) 1 60 17 91 76 - Fax. 0(33) 1 64 11 22 03 - %br - email : signa@bouvier-signa.com + .columns.span_6{:style => "padding:10px;text-align:center;"} + =link_to "/fr/contact.html" do + =image_tag("/carte-pmr.png", :id => "contact_card") - .columns.span_4{:style => "padding:10px;"} - %p - - 31 rue du Colonel Mangin - %br - 38000 GRENOBLE - %br - Tél. 0(33) 1 60 17 91 76 - Fax. 0(33) 1 64 11 22 03 - %br - email : signa@bouvier-signa.com + + .clear - =link_to image_tag("/bouvier-signaletique.png", :style => "height:30px;margin-left:10px"), "http://www.bouvier-signa.com", :target => "_blank" \ No newline at end of file + =link_to image_tag("/bouvier-signaletique.png", :style => "height:35px;margin-left:10px"), "http://www.bouvier-signa.com", :target => "_blank" + + \ No newline at end of file diff --git a/public/bouvier-signaletique.png b/public/bouvier-signaletique.png index 5e0123a..3f638ef 100644 Binary files a/public/bouvier-signaletique.png and b/public/bouvier-signaletique.png differ diff --git a/public/carte-pmr.png b/public/carte-pmr.png new file mode 100644 index 0000000..b191d46 Binary files /dev/null and b/public/carte-pmr.png differ diff --git a/public/certif.jpg b/public/certif.jpg new file mode 100644 index 0000000..3a37b32 Binary files /dev/null and b/public/certif.jpg differ diff --git a/public/certif.png b/public/certif.png new file mode 100644 index 0000000..9969b09 Binary files /dev/null and b/public/certif.png differ