[IMP] Improved menu

bzr revid: fme@openerp.com-20120328100402-23zbekaomclkdwkf
This commit is contained in:
Fabien Meghazi 2012-03-28 12:04:02 +02:00
parent c86b24b4c3
commit 603485baa1
3 changed files with 29 additions and 28 deletions

View File

@ -264,19 +264,10 @@
border-right: 4px solid transparent;
border-top: 4px solid #4c4c4c;
}
.openerp2 .oe_user_menu {
float: right;
padding: 0;
margin: 0;
}
.openerp2 .oe_user_menu li {
list-style-type: none;
float: left;
}
.openerp2 .oe_user_menu .oe_dropdown {
.openerp2 .oe_dropdown {
position: relative;
}
.openerp2 .oe_user_menu .oe_dropdown_toggle:after {
.openerp2 .oe_dropdown_toggle:after {
width: 0;
height: 0;
display: inline-block;
@ -291,6 +282,15 @@
filter: alpha(opacity=50);
opacity: 0.5;
}
.openerp2 .oe_user_menu {
float: right;
padding: 0;
margin: 0;
}
.openerp2 .oe_user_menu li {
list-style-type: none;
float: left;
}
.openerp2 .oe_user_menu .oe_dropdown_options {
float: left;
background: #333333;

View File

@ -275,6 +275,23 @@ $colour4: #8a89ba
// }}}
// UserMenu {{{
.oe_dropdown
position: relative
.oe_dropdown_toggle:after
width: 0
height: 0
display: inline-block
content: "&darr"
text-indent: -99999px
vertical-align: top
margin-top: 8px
margin-left: 4px
border-left: 4px solid transparent
border-right: 4px solid transparent
border-top: 4px solid white
@include opacity(0.5)
.oe_user_menu
float: right
padding: 0
@ -282,22 +299,6 @@ $colour4: #8a89ba
li
list-style-type: none
float: left
.oe_dropdown
position: relative
.oe_dropdown_toggle:after
width: 0
height: 0
display: inline-block
content: "&darr"
text-indent: -99999px
vertical-align: top
margin-top: 8px
margin-left: 4px
border-left: 4px solid transparent
border-right: 4px solid transparent
border-top: 4px solid white
@include opacity(0.5)
.oe_dropdown_options
float: left

View File

@ -334,7 +334,7 @@
</t>
<t t-name="Menu.more">
<li class="oe_menu_more_container">
<a href="#" class="oe_menu_more_link">More...</a>
<a href="#" class="oe_menu_more_link oe_dropdown_toggle">More</a>
<ul class="oe_menu_more" style="display: none;"/>
</li>
</t>