From 603485baa1ef0d905659f2cae0919cb45d57e925 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 28 Mar 2012 12:04:02 +0200 Subject: [PATCH] [IMP] Improved menu bzr revid: fme@openerp.com-20120328100402-23zbekaomclkdwkf --- addons/web/static/src/css/base.css | 22 +++++++++---------- addons/web/static/src/css/base.sass | 33 +++++++++++++++-------------- addons/web/static/src/xml/base.xml | 2 +- 3 files changed, 29 insertions(+), 28 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 8bf4208ba72..b0a2b7945b9 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -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; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 89d4c785967..c31f501c499 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -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 diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 5b3a79391a7..894f7353c1a 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -334,7 +334,7 @@
  • - More... + More