suite
This commit is contained in:
parent
fdd19b868c
commit
9c45029d75
@ -642,6 +642,3 @@ $(document).on "click", "#menu_item_informations .save", ->
|
|||||||
$(document).on "click", "#menu_item_informations h4", ->
|
$(document).on "click", "#menu_item_informations h4", ->
|
||||||
$(this).next(".panel").toggle()
|
$(this).next(".panel").toggle()
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ top = 20
|
|||||||
|
|
||||||
#alert rp_top_start
|
#alert rp_top_start
|
||||||
|
|
||||||
|
top = 100
|
||||||
#menu
|
#menu
|
||||||
if var_scroll > top
|
if var_scroll > top
|
||||||
$(".sub_menu_bar").addClass("move_top")
|
$(".sub_menu_bar").addClass("move_top")
|
||||||
@ -63,12 +64,15 @@ top = 20
|
|||||||
|
|
||||||
|
|
||||||
#top_link
|
#top_link
|
||||||
if var_scroll > 100
|
|
||||||
$(".top_link").css
|
if var_scroll > $("#menu_top").offset().top+20
|
||||||
|
$("#menu_fixed").css
|
||||||
"opacity" : 1
|
"opacity" : 1
|
||||||
|
$("#devis-img").addClass("devis_move")
|
||||||
else
|
else
|
||||||
$(".top_link").css
|
$("#menu_fixed").css
|
||||||
"opacity" : 0
|
"opacity" : 0
|
||||||
|
$("#devis-img").removeClass("devis_move")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -232,6 +236,12 @@ top = 20
|
|||||||
|
|
||||||
|
|
||||||
$ ->
|
$ ->
|
||||||
|
|
||||||
|
|
||||||
|
$("a[href*='#']").click ->
|
||||||
|
$('html,body').animate({scrollTop: ($($(this).attr("href")).offset().top - 100)},'slow');
|
||||||
|
return false;
|
||||||
|
|
||||||
$(window).on "resize", ->
|
$(window).on "resize", ->
|
||||||
resize()
|
resize()
|
||||||
|
|
||||||
|
@ -71,10 +71,11 @@ h1,h2{
|
|||||||
position:absolute;
|
position:absolute;
|
||||||
bottom:0px;
|
bottom:0px;
|
||||||
right:0px;
|
right:0px;
|
||||||
width:350px;
|
width:370px;
|
||||||
padding-right:50px;
|
padding-right:30px;
|
||||||
height:140px;
|
height:130px;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
|
font-size:18px;
|
||||||
|
|
||||||
}
|
}
|
||||||
.description_background{
|
.description_background{
|
||||||
@ -91,7 +92,7 @@ h1,h2{
|
|||||||
padding:0;
|
padding:0;
|
||||||
margin:0;
|
margin:0;
|
||||||
margin-bottom:5px;
|
margin-bottom:5px;
|
||||||
font-size:30px;
|
font-size:39px;
|
||||||
font-family:"Stylograph", sans-serif;
|
font-family:"Stylograph", sans-serif;
|
||||||
}
|
}
|
||||||
a{
|
a{
|
||||||
@ -241,6 +242,46 @@ h1,h2{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#menu_fixed{
|
||||||
|
position:fixed;
|
||||||
|
top:0;
|
||||||
|
left:0;
|
||||||
|
right:0;
|
||||||
|
z-index:12;
|
||||||
|
opacity:0;
|
||||||
|
background:$gris_fonce;
|
||||||
|
padding:15px 0;
|
||||||
|
color:white;
|
||||||
|
text-align:right;
|
||||||
|
padding-right:20px;
|
||||||
|
|
||||||
|
.mini-logo{
|
||||||
|
display:inline-block;
|
||||||
|
position:relative;
|
||||||
|
width:10px;
|
||||||
|
img{
|
||||||
|
height:30px;
|
||||||
|
width:auto;
|
||||||
|
max-width:2000px;
|
||||||
|
position:absolute;
|
||||||
|
top:-20px;
|
||||||
|
right:10px;
|
||||||
|
|
||||||
|
|
||||||
|
}}
|
||||||
|
|
||||||
|
a{
|
||||||
|
color:white;
|
||||||
|
text-decoration:none;
|
||||||
|
display:inline-block;
|
||||||
|
padding:0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#top_gradient{
|
#top_gradient{
|
||||||
z-index:11;
|
z-index:11;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
@ -268,14 +309,26 @@ h1,h2{
|
|||||||
}
|
}
|
||||||
#services-img{
|
#services-img{
|
||||||
position:fixed;
|
position:fixed;
|
||||||
z-index:12;
|
z-index:14;
|
||||||
top:0;
|
top:0;
|
||||||
left:0;
|
left:0;
|
||||||
width:240px;
|
width:240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#devis-img{
|
||||||
|
position:fixed;
|
||||||
|
z-index:14;
|
||||||
|
top:0;
|
||||||
|
right:0;
|
||||||
|
width:240px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.devis_move{
|
||||||
|
top:49px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.rea-gal img {
|
.rea-gal img {
|
||||||
width: 14.28%;
|
width: 16.66%;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
@ -314,7 +367,7 @@ img {
|
|||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
#services-img{
|
#services-img{
|
||||||
position:absolute;width:120px;
|
position:fixed;width:120px;
|
||||||
}
|
}
|
||||||
.rea-gal img {
|
.rea-gal img {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
@ -371,7 +424,7 @@ img {
|
|||||||
right:0px;
|
right:0px;
|
||||||
width:230px;
|
width:230px;
|
||||||
padding-right:25px;
|
padding-right:25px;
|
||||||
height:100px;
|
height:85px;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
|
|
||||||
@ -400,7 +453,35 @@ img {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#main{
|
||||||
|
font-size:17px;
|
||||||
|
h3{
|
||||||
|
margin-top:0;
|
||||||
|
font-size:1.6em;
|
||||||
|
margin-bottom:-5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.white_text{
|
||||||
|
color:white;
|
||||||
|
*{
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
|
|
||||||
|
a{
|
||||||
|
color:white;
|
||||||
|
display:inline-block;
|
||||||
|
|
||||||
|
font-weight:bold;
|
||||||
|
&:hover{
|
||||||
|
color:black;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
class QuestionMailer < ActionMailer::Base
|
class QuestionMailer < ActionMailer::Base
|
||||||
default from: "eyssard.joris@gmail.com"
|
default from: "info@abritium.fr"
|
||||||
|
|
||||||
# Subject can be set in your I18n file at config/locales/en.yml
|
# Subject can be set in your I18n file at config/locales/en.yml
|
||||||
# with the following lookup:
|
# with the following lookup:
|
||||||
@ -9,7 +9,7 @@ class QuestionMailer < ActionMailer::Base
|
|||||||
def send_contact(contact)
|
def send_contact(contact)
|
||||||
@contact = contact
|
@contact = contact
|
||||||
|
|
||||||
mail to: "info@nicolasbally.com,eyssard.joris@gmail.com",:reply_to => @contact.email.to_s, :subject => "[Contact site Abritium]"
|
mail to: "info@nicolasbally.com,info@abritium.fr",:reply_to => @contact.email.to_s, :subject => "[Contact site Abritium]"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
@ -87,8 +87,9 @@
|
|||||||
|
|
||||||
-if @menu_item and @menu_item.id == 1
|
-if @menu_item and @menu_item.id == 1
|
||||||
.slide_home_wrapper
|
.slide_home_wrapper
|
||||||
=image_tag("/services-a-la-personne.png", :id => "services-img")
|
=image_tag("/services-a-la-personne.png?a=n", :id => "services-img")
|
||||||
|
=image_tag("/devis.png", :id => "devis-img")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -140,11 +141,20 @@
|
|||||||
|
|
||||||
-else
|
-else
|
||||||
.slide_home_wrapper.with_ratio{:style => "background-image:url('#{@img_url}');", :data => {:ratio => 0.35}}
|
.slide_home_wrapper.with_ratio{:style => "background-image:url('#{@img_url}');", :data => {:ratio => 0.35}}
|
||||||
|
|
||||||
#menu_top
|
-content_for :menu do
|
||||||
=link_to "Jardinage", "#jardinage"
|
=link_to "Jardinage", "#jardinage"
|
||||||
=link_to "Bricolage", "#bricolage"
|
=link_to "Bricolage", "#bricolage"
|
||||||
|
=link_to "Crédit d'impôts", "#service"
|
||||||
|
=link_to "Témoignages clients", "#avis"
|
||||||
=link_to "Contactez-nous", "#footer"
|
=link_to "Contactez-nous", "#footer"
|
||||||
|
#menu_top
|
||||||
|
=yield :menu
|
||||||
|
|
||||||
|
|
||||||
|
#menu_fixed
|
||||||
|
=link_to image_tag("/logo-abritium-mini.png"), "#top_gradient", :class => "mini-logo"
|
||||||
|
=yield :menu
|
||||||
|
|
||||||
|
|
||||||
-if @menu_item and @menu_item.id == 1
|
-if @menu_item and @menu_item.id == 1
|
||||||
@ -164,11 +174,12 @@
|
|||||||
|
|
||||||
.clear
|
.clear
|
||||||
|
|
||||||
|
#avis
|
||||||
|
%h2 Témoignages clients
|
||||||
#footer
|
#footer
|
||||||
.center
|
.center
|
||||||
%h2
|
%h2
|
||||||
Parlons-en !
|
Contactez-nous
|
||||||
|
|
||||||
-@contact = @contact || Contact.new(:provenance_id => 1)
|
-@contact = @contact || Contact.new(:provenance_id => 1)
|
||||||
|
|
||||||
|
BIN
public/devis.png
Normal file
BIN
public/devis.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
public/logo-abritium-mini.png
Normal file
BIN
public/logo-abritium-mini.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
Binary file not shown.
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 105 KiB |
Loading…
x
Reference in New Issue
Block a user