modifs mineurs de style

This commit is contained in:
Nicolas Bally 2014-04-30 13:25:26 +02:00
parent 528f3f3005
commit 321b3bc70d
2 changed files with 24 additions and 8 deletions

View File

@ -49,10 +49,10 @@ font-size:1.2em;
#testimony_header{
background:rgba(32,141,187,1);
color:white;
background:#e7f0d3;
color:rgba(23,54,93,1);
padding:1em;
margin:0 -4em 0 -2em;
margin:0 -1em;
img{
float:left;
@ -92,10 +92,7 @@ font-size:1.2em;
}
ul{
margin: 0;
padding: 0;
}
#top_anchor{
position:absolute;
@ -306,9 +303,28 @@ font-size:1.2em;
}
.square{
border: 1px solid #e5ecf2;
padding:1em;
margin-bottom:10px;
&.blue{
background:#e5ecf2;
border:0;
}
&.green{
background:#E7F0D3;
border:0;
}
}

View File

@ -9,7 +9,7 @@
-first_level_menu = @menu_item
-if first_level_menu.children.size > 0
.menu
.square.green
%h3=menu_item_link(first_level_menu)
%ul
-first_level_menu.children.where(:enabled => true, :visible => true).order(:position).each do |menu_item|