modifs menu droite

This commit is contained in:
Nicolas Bally 2013-07-18 14:52:19 +02:00
parent 5971319850
commit 49a2dcdabc
2 changed files with 46 additions and 6 deletions

View File

@ -29,7 +29,7 @@ body{
margin-right:1em;
}
.quote{
font-family:Desyrel;
font-size:1.4em;
line-height:1.2em;
text-align:left;
@ -142,7 +142,7 @@ body{
}
.quote{
font-family:Desyrel;
font-size:1.4em;
line-height:1.2em;
text-align:left;
@ -174,6 +174,36 @@ body{
h3{
margin:0 0 1em 0;
}
ul{
li{
margin:0.6em 0;
a{
color:white;
&.active, &:hover{
font-weight:bold;
color:white;
text-decoration:none;
}
}
ul{
li{
margin:0.2em 0;
color:rgba(220,230,202,1);
a{
color:rgba(220,230,202,1);
}
}
}
}
}
}
}
@ -183,13 +213,16 @@ body{
.menu{
.active{
font-weight:bold;
}
color:white;
h3{
a{
color:white;
&.active, &:hover{
font-weight:bold;
color:white;
}
}
}
ul{

View File

@ -14,7 +14,14 @@
%ul
-first_level_menu.children.where(:enabled => true).order(:position).each do |menu_item|
%li=menu_item_link(menu_item)
%li
=menu_item_link(menu_item)
-if menu_item.children.where(:enabled => true).size > 0
%ul
-menu_item.children.where(:enabled => true).order(:position).each do |menu_item|
%li=menu_item_link(menu_item)