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

View File

@ -275,13 +275,6 @@ $colour4: #8a89ba
// }}} // }}}
// UserMenu {{{ // UserMenu {{{
.oe_user_menu
float: right
padding: 0
margin: 0
li
list-style-type: none
float: left
.oe_dropdown .oe_dropdown
position: relative position: relative
@ -299,6 +292,14 @@ $colour4: #8a89ba
border-top: 4px solid white border-top: 4px solid white
@include opacity(0.5) @include opacity(0.5)
.oe_user_menu
float: right
padding: 0
margin: 0
li
list-style-type: none
float: left
.oe_dropdown_options .oe_dropdown_options
float: left float: left
background: #333 background: #333

View File

@ -334,7 +334,7 @@
</t> </t>
<t t-name="Menu.more"> <t t-name="Menu.more">
<li class="oe_menu_more_container"> <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;"/> <ul class="oe_menu_more" style="display: none;"/>
</li> </li>
</t> </t>