V2 en ligne

This commit is contained in:
Nicolas Bally 2014-10-26 23:59:02 +01:00
parent 1718750bc9
commit 6731300525
236 changed files with 72 additions and 83 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -231,7 +231,7 @@ $("document").ready ->
$("#large").css "min-height", ($(window).height()-30)+"px"
$(".slider").each ->
$(this).css({"width": $(this).parent().width()+"px"})
$(this).css({"width": $(window).width()+"px"})
height = ($(window).height())
optimal_height = Math.round($(this).width()/ 1.66)

View File

@ -7,7 +7,7 @@
overflow:hidden;
position:relative;
width:100%;
margin:3em 0;
-webkit-transform-style: preserve-3d;
-moz-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{
font-family:Lato;
font-weight:300;
@ -57,13 +60,14 @@ body{
padding:0;
margin:0;
font-size:14px;
color:#1A1A1A;
color:#333333;
}
img{
max-width:100%;
margin-bottom:6px;
}
a{
@ -257,9 +261,10 @@ margin:auto;
#logo{
height:120px;
position:absolute;
left:-755px;
top:10px;
right:-10px;
top:13px;
padding-top:5px;
max-width:inherit;
}
.contact{
@ -288,18 +293,24 @@ padding-top:5px;
}
.top{
position:relative;
z-index:3;
box-shadow:0 0 15px rgba(0,0,0,0.8);
.contact{
position:absolute;
top:60px;
right:10px;
left:10px;
p{
display:inline-block;
margin-right:20px;
}
}
}
.menu_background{
background:#F2F2F2;
background:#202020;
min-height:84px;
padding-top:1px;
}
@ -310,7 +321,7 @@ font-size:14px;
a{
margin:0;
display: inline-block;
color: #1A1A1A;
color:#F2F2F2;
text-decoration: none;
h4{
text-align:left;
@ -343,11 +354,15 @@ border-bottom:5px solid transparent;
}
.top_background{
background:#333333;
border-bottom:8px solid #f39200;
min-height:150px;
;
}
.dark_background{
background:rgba(40,40,40,1);
padding-top:3em;
color:#F2F2F2;
}
.gray_light_background{
@ -382,21 +397,17 @@ background:rgba(230,0,125,1);
h1,h2,h3,h4{
text-align:left;
font-weight: 400;
text-transform:uppercase;
}
.bottom_image{
position:absolute;
bottom:0px;
bottom:-8px;
left:0px;
}
.slider{
box-shadow:0 0 15px rgba(0,0,0,0.8);
}
.bottom{
position:relative;
box-shadow:0 0 15px rgba(0,0,0,0.8);
@ -437,7 +448,12 @@ font-weight: 400;
}
.legals{
background:#1A1A1A;
a{
color:#EEEEEE;
}
img{
position:absolute;
top:2px;
@ -447,7 +463,7 @@ font-weight: 400;
}
font-size:14px;
font-size:12px;
padding:8px;
}

View File

@ -52,29 +52,37 @@
-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)))
.main=yield
#corps{:class => (@menu_item.slug if @menu_item)}
.main=yield
.bottom
.infos
.main
.address
%h4 Cris Graphic
296 rue de la Béalière
%br
38113 Veurey-Voroize
.contact
%p
=image_tag "/mail.png"
=link_to "info@cris-graphic.com", "mailto:info@cris-graphic.com"
%p
=image_tag "/tel.png"
04 76 03 19 70
.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 image_tag("/nb.png"), "http://nicolasbally.com", :target => "_blank"
.bottom
.infos
.main
.address
%h4 Cris Graphic
Atelier de production
%br
296 rue de la Béalière
%br
38113 Veurey-Voroize
.contact
%p
=image_tag "/mail.png"
=link_to "info@cris-graphic.com", "mailto:info@cris-graphic.com"
%p
=image_tag "/tel.png"
04 76 03 19 70
%p
=image_tag "/fax.png"
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"

View File

@ -101,7 +101,8 @@
-elsif input.style==2
=raw "</div>"
=raw "</div>"
.slider
@ -121,6 +122,9 @@
="/" if gallery_images.description?
-if gallery_images.description?
=gallery_images.description
=raw "<div class='main'>"
=raw "<div class='row-fluid'>"

View File

@ -1,40 +1 @@
#corps.blanco
-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]}
=render :partial => "public/blocks/block", :locals => {:block => @menu_item.menu_content.blocks[0]}

BIN
public/fax.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 798 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 839 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 839 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 839 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 697 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 580 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 615 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 616 KiB

Some files were not shown because too many files have changed in this diff Show More