V2 en ligne
@ -231,7 +231,7 @@ $("document").ready ->
|
|||||||
$("#large").css "min-height", ($(window).height()-30)+"px"
|
$("#large").css "min-height", ($(window).height()-30)+"px"
|
||||||
|
|
||||||
$(".slider").each ->
|
$(".slider").each ->
|
||||||
$(this).css({"width": $(this).parent().width()+"px"})
|
$(this).css({"width": $(window).width()+"px"})
|
||||||
|
|
||||||
height = ($(window).height())
|
height = ($(window).height())
|
||||||
optimal_height = Math.round($(this).width()/ 1.66)
|
optimal_height = Math.round($(this).width()/ 1.66)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
position:relative;
|
position:relative;
|
||||||
width:100%;
|
width:100%;
|
||||||
margin:3em 0;
|
|
||||||
-webkit-transform-style: preserve-3d;
|
-webkit-transform-style: preserve-3d;
|
||||||
-moz-transform-style: preserve-3d;
|
-moz-transform-style: preserve-3d;
|
||||||
transform-style: preserve-3d;
|
transform-style: preserve-3d;
|
||||||
@ -47,7 +47,10 @@ margin:3em 0;
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#corps.index{
|
||||||
|
color:#F2F2F2;
|
||||||
|
background:rgba(40,40,40,1);
|
||||||
|
}
|
||||||
body{
|
body{
|
||||||
font-family:Lato;
|
font-family:Lato;
|
||||||
font-weight:300;
|
font-weight:300;
|
||||||
@ -57,13 +60,14 @@ body{
|
|||||||
padding:0;
|
padding:0;
|
||||||
margin:0;
|
margin:0;
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
color:#1A1A1A;
|
color:#333333;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
img{
|
img{
|
||||||
max-width:100%;
|
max-width:100%;
|
||||||
|
margin-bottom:6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a{
|
a{
|
||||||
@ -257,9 +261,10 @@ margin:auto;
|
|||||||
#logo{
|
#logo{
|
||||||
height:120px;
|
height:120px;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
left:-755px;
|
right:-10px;
|
||||||
top:10px;
|
top:13px;
|
||||||
padding-top:5px;
|
padding-top:5px;
|
||||||
|
max-width:inherit;
|
||||||
|
|
||||||
}
|
}
|
||||||
.contact{
|
.contact{
|
||||||
@ -288,18 +293,24 @@ padding-top:5px;
|
|||||||
|
|
||||||
}
|
}
|
||||||
.top{
|
.top{
|
||||||
|
position:relative;
|
||||||
|
z-index:3;
|
||||||
box-shadow:0 0 15px rgba(0,0,0,0.8);
|
box-shadow:0 0 15px rgba(0,0,0,0.8);
|
||||||
.contact{
|
.contact{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:60px;
|
top:60px;
|
||||||
right:10px;
|
left:10px;
|
||||||
|
p{
|
||||||
|
display:inline-block;
|
||||||
|
margin-right:20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.menu_background{
|
.menu_background{
|
||||||
background:#F2F2F2;
|
background:#202020;
|
||||||
min-height:84px;
|
min-height:84px;
|
||||||
padding-top:1px;
|
padding-top:1px;
|
||||||
}
|
}
|
||||||
@ -310,7 +321,7 @@ font-size:14px;
|
|||||||
a{
|
a{
|
||||||
margin:0;
|
margin:0;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #1A1A1A;
|
color:#F2F2F2;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
h4{
|
h4{
|
||||||
text-align:left;
|
text-align:left;
|
||||||
@ -343,11 +354,15 @@ border-bottom:5px solid transparent;
|
|||||||
}
|
}
|
||||||
.top_background{
|
.top_background{
|
||||||
background:#333333;
|
background:#333333;
|
||||||
border-bottom:8px solid #f39200;
|
|
||||||
min-height:150px;
|
min-height:150px;
|
||||||
|
;
|
||||||
|
|
||||||
}
|
}
|
||||||
.dark_background{
|
.dark_background{
|
||||||
background:rgba(40,40,40,1);
|
background:rgba(40,40,40,1);
|
||||||
|
padding-top:3em;
|
||||||
|
color:#F2F2F2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gray_light_background{
|
.gray_light_background{
|
||||||
@ -382,21 +397,17 @@ background:rgba(230,0,125,1);
|
|||||||
h1,h2,h3,h4{
|
h1,h2,h3,h4{
|
||||||
text-align:left;
|
text-align:left;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
text-transform:uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.bottom_image{
|
.bottom_image{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
bottom:0px;
|
bottom:-8px;
|
||||||
left:0px;
|
left:0px;
|
||||||
|
|
||||||
}
|
}
|
||||||
.slider{
|
|
||||||
box-shadow:0 0 15px rgba(0,0,0,0.8);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
.bottom{
|
.bottom{
|
||||||
position:relative;
|
position:relative;
|
||||||
box-shadow:0 0 15px rgba(0,0,0,0.8);
|
box-shadow:0 0 15px rgba(0,0,0,0.8);
|
||||||
@ -437,7 +448,12 @@ font-weight: 400;
|
|||||||
|
|
||||||
}
|
}
|
||||||
.legals{
|
.legals{
|
||||||
|
|
||||||
background:#1A1A1A;
|
background:#1A1A1A;
|
||||||
|
a{
|
||||||
|
color:#EEEEEE;
|
||||||
|
|
||||||
|
}
|
||||||
img{
|
img{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:2px;
|
top:2px;
|
||||||
@ -447,7 +463,7 @@ font-weight: 400;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
font-size:14px;
|
font-size:12px;
|
||||||
padding:8px;
|
padding:8px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -52,29 +52,37 @@
|
|||||||
-description = menu_item.menu_content.description if menu_item.menu_content and menu_item.menu_content_type == "Page"
|
-description = menu_item.menu_content.description if menu_item.menu_content and menu_item.menu_content_type == "Page"
|
||||||
=link_to raw("<h4>#{menu_item.name}</h4>#{description}"),menu_item_path(:url => menu_item.url), :class => ("active" if @menu_item and (@menu_item == menu_item or @menu_item.ancestors.include?(menu_item)))
|
=link_to raw("<h4>#{menu_item.name}</h4>#{description}"),menu_item_path(:url => menu_item.url), :class => ("active" if @menu_item and (@menu_item == menu_item or @menu_item.ancestors.include?(menu_item)))
|
||||||
|
|
||||||
.main=yield
|
#corps{:class => (@menu_item.slug if @menu_item)}
|
||||||
|
.main=yield
|
||||||
|
|
||||||
.bottom
|
.bottom
|
||||||
.infos
|
.infos
|
||||||
.main
|
.main
|
||||||
.address
|
.address
|
||||||
%h4 Cris Graphic
|
%h4 Cris Graphic
|
||||||
296 rue de la Béalière
|
Atelier de production
|
||||||
%br
|
%br
|
||||||
38113 Veurey-Voroize
|
|
||||||
.contact
|
296 rue de la Béalière
|
||||||
%p
|
%br
|
||||||
=image_tag "/mail.png"
|
38113 Veurey-Voroize
|
||||||
=link_to "info@cris-graphic.com", "mailto:info@cris-graphic.com"
|
.contact
|
||||||
%p
|
%p
|
||||||
=image_tag "/tel.png"
|
=image_tag "/mail.png"
|
||||||
04 76 03 19 70
|
=link_to "info@cris-graphic.com", "mailto:info@cris-graphic.com"
|
||||||
.clear
|
%p
|
||||||
=image_tag "/bottom.png", :class => "bottom_image"
|
=image_tag "/tel.png"
|
||||||
.legals
|
04 76 03 19 70
|
||||||
.main
|
%p
|
||||||
Cris Graphic - SARL au capital de 7.622,00 € - RCS : Grenoble B 451 888 101 - APE : 1812Z
|
=image_tag "/fax.png"
|
||||||
=link_to image_tag("/nb.png"), "http://nicolasbally.com", :target => "_blank"
|
04 76 01 95 31
|
||||||
|
.clear
|
||||||
|
=image_tag "/bottom.png", :class => "bottom_image"
|
||||||
|
.legals
|
||||||
|
.main
|
||||||
|
Cris Graphic - SARL au capital de 7.622,00 € - RCS : Grenoble B 451 888 101 - APE : 1812Z -
|
||||||
|
=link_to "Partenaire Art des Sens", "http://artdessens.fr", :target => "_blank", :title => "Art des Sens - Agencement & décoration, impression Cristal Protect"
|
||||||
|
=link_to image_tag("/nb.png"), "http://nicolasbally.com", :target => "_blank"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -101,7 +101,8 @@
|
|||||||
-elsif input.style==2
|
-elsif input.style==2
|
||||||
|
|
||||||
|
|
||||||
|
=raw "</div>"
|
||||||
|
=raw "</div>"
|
||||||
|
|
||||||
.slider
|
.slider
|
||||||
|
|
||||||
@ -122,6 +123,9 @@
|
|||||||
-if gallery_images.description?
|
-if gallery_images.description?
|
||||||
=gallery_images.description
|
=gallery_images.description
|
||||||
|
|
||||||
|
=raw "<div class='main'>"
|
||||||
|
=raw "<div class='row-fluid'>"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,40 +1 @@
|
|||||||
#corps.blanco
|
=render :partial => "public/blocks/block", :locals => {:block => @menu_item.menu_content.blocks[0]}
|
||||||
-if @menu_item.parent_id
|
|
||||||
-if @menu_item.ancestors.reverse[0]
|
|
||||||
-first_level_menu = @menu_item.ancestors.reverse[0]
|
|
||||||
|
|
||||||
-else
|
|
||||||
|
|
||||||
-first_level_menu = @menu_item
|
|
||||||
|
|
||||||
-if first_level_menu.children.size > 0
|
|
||||||
|
|
||||||
|
|
||||||
.row
|
|
||||||
.col-xs-8
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
=render :partial => "public/blocks/block", :locals => {:block => @menu_item.menu_content.blocks[0]}
|
|
||||||
|
|
||||||
.col-xs-4
|
|
||||||
|
|
||||||
.menu
|
|
||||||
%h3=menu_item_link(first_level_menu)
|
|
||||||
%ul
|
|
||||||
-first_level_menu.children.where(:enabled => true, :visible => true).order(:position).each do |menu_item|
|
|
||||||
|
|
||||||
%li
|
|
||||||
=menu_item_link(menu_item)
|
|
||||||
-if menu_item.children.where(:enabled => true, :visible => true).size > 0
|
|
||||||
%ul
|
|
||||||
-menu_item.children.where(:enabled => true, :visible => true).order(:position).each do |menu_item|
|
|
||||||
%li=menu_item_link(menu_item)
|
|
||||||
|
|
||||||
-else
|
|
||||||
.row
|
|
||||||
.col-xs-12
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
=render :partial => "public/blocks/block", :locals => {:block => @menu_item.menu_content.blocks[0]}
|
|
||||||
|
BIN
public/fax.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
public/logo.png
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 958 KiB |
Before Width: | Height: | Size: 958 KiB |
Before Width: | Height: | Size: 481 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 697 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 116 KiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 798 KiB |
Before Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 217 KiB |
Before Width: | Height: | Size: 217 KiB |
Before Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 150 KiB |
Before Width: | Height: | Size: 150 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 271 KiB |
Before Width: | Height: | Size: 271 KiB |
Before Width: | Height: | Size: 133 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 839 KiB |
Before Width: | Height: | Size: 839 KiB |
Before Width: | Height: | Size: 386 KiB |
Before Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 697 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 116 KiB |
Before Width: | Height: | Size: 958 KiB |
Before Width: | Height: | Size: 958 KiB |
Before Width: | Height: | Size: 481 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 958 KiB |
Before Width: | Height: | Size: 958 KiB |
Before Width: | Height: | Size: 481 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 839 KiB |
Before Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 148 KiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 697 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 116 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 195 KiB |
Before Width: | Height: | Size: 196 KiB |
Before Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 580 KiB |
Before Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 615 KiB |
Before Width: | Height: | Size: 616 KiB |