[IMP] Improved menu
bzr revid: fme@openerp.com-20120328100402-23zbekaomclkdwkf
This commit is contained in:
parent
c86b24b4c3
commit
603485baa1
|
@ -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;
|
||||||
|
|
|
@ -275,6 +275,23 @@ $colour4: #8a89ba
|
||||||
// }}}
|
// }}}
|
||||||
|
|
||||||
// UserMenu {{{
|
// 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
|
.oe_user_menu
|
||||||
float: right
|
float: right
|
||||||
padding: 0
|
padding: 0
|
||||||
|
@ -282,22 +299,6 @@ $colour4: #8a89ba
|
||||||
li
|
li
|
||||||
list-style-type: none
|
list-style-type: none
|
||||||
float: left
|
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
|
.oe_dropdown_options
|
||||||
float: left
|
float: left
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue