suite interface

This commit is contained in:
Nicolas Bally 2014-10-29 15:05:47 +01:00
parent 4320accdc8
commit 0a60a46159
7 changed files with 15 additions and 11 deletions

View File

@ -1,7 +1,7 @@
@import "superslides"; @import "superslides";
@import "fontawesome/font-awesome";
.slider{ .slider{
overflow:hidden; overflow:hidden;
@ -47,7 +47,7 @@ width:100%;
} }
#corps.index{ #corps.dds{
color:#F2F2F2; color:#F2F2F2;
background:rgba(40,40,40,1); background:rgba(40,40,40,1);
} }
@ -296,6 +296,7 @@ max-width:inherit;
position:relative; position:relative;
z-index:3; 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);
background-image:url("/fond-beton-5.jpg");
.contact{ .contact{
position:absolute; position:absolute;
top:60px; top:60px;
@ -311,9 +312,10 @@ max-width:inherit;
} }
.menu_background{ .menu_background{
background:#202020; background:rgba(20,20,20,0.7);
min-height:84px;
padding-top:1px; padding-top:1px;
text-shadow:0 0 3px black;
} }
#menu{ #menu{
@ -354,7 +356,7 @@ border-bottom:5px solid transparent;
} }
} }
.top_background{ .top_background{
background:#333333;
min-height:150px; min-height:150px;
; ;
@ -413,12 +415,13 @@ text-transform:uppercase;
.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);
background-image:url("/fond-beton-5.jpg");
color:#E6E6E6; color:#E6E6E6;
margin-top:100px; margin-top:100px;
} }
.infos{ .infos{
position:relative; position:relative;
background:#333333;
border-bottom:3px solid #f39200; border-bottom:3px solid #f39200;
.main{ .main{
position:static; position:static;

View File

@ -47,10 +47,11 @@
.menu_background .menu_background
.main#menu .main#menu
=link_to raw("<h4>"+ic(:home)+"</h4>"), "/"
-MenuItem.where(:parent_id => nil, :enabled => true, :visible => true).order(:position).each do |menu_item| -MenuItem.where(:parent_id => nil, :enabled => true, :visible => true).order(:position).each do |menu_item|
-description = "" -description = ""
-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>"),menu_item_path(:url => menu_item.url), :class => ("active" if @menu_item and (@menu_item == menu_item or @menu_item.ancestors.include?(menu_item)))
#corps{:class => (@menu_item.slug if @menu_item)} #corps{:class => (@menu_item.slug if @menu_item)}
.main=yield .main=yield
@ -77,7 +78,7 @@
=image_tag "/fax.png" =image_tag "/fax.png"
04 76 01 95 31 04 76 01 95 31
.clear .clear
=image_tag "/bottom.png", :class => "bottom_image" =link_to image_tag("/bottom.png", :class => "bottom_image"), "/cristal-protect.html"
.legals .legals
Cris Graphic - SARL au capital de 7.622,00 € - RCS : Grenoble B 451 888 101 - APE : 1812Z - Cris Graphic - SARL au capital de 7.622,00 € - RCS : Grenoble B 451 888 101 - APE : 1812Z -

View File

@ -19,7 +19,7 @@
:javascript :javascript
$("#element_form form").submit(function (e){ $("#element_form form").submit(function (e){
$("textarea").val($('#portlet_'+$("#element_form form").data("portlet-id")+' .content').redactor('code.get')); $("#element_form textarea").val($('#portlet_'+$("#element_form form").data("portlet-id")+' .content').redactor('code.get'));
$("#toolbar-text").html(""); $("#toolbar-text").html("");
}); });
@ -59,7 +59,7 @@
$("#element_form form").submit(function (e){ $("#element_form form").submit(function (e){
$("textarea").val(content_element.html()); $("#element_form textarea").val(content_element.redactor('code.get'));
$("#toolbar-text").html(""); $("#toolbar-text").html("");
}); });

View File

@ -113,7 +113,7 @@
%ul.slides-container %ul.slides-container
-input.gallery_images.each do |gallery_images| -input.gallery_images.each do |gallery_images|
%li %li
=image_tag gallery_images.image_file.file.large.medium.url =image_tag gallery_images.image_file.file.large.url
.desc .desc
-if gallery_images.title? -if gallery_images.title?

BIN
public/bottom - copie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 KiB

After

Width:  |  Height:  |  Size: 185 KiB

BIN
public/fond-beton-5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 KiB