diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-03-28 12:04:02 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-03-28 12:04:02 +0200 |
| commit | 603485baa1ef0d905659f2cae0919cb45d57e925 (patch) | |
| tree | 426725ce264e828a15b17a3378b150c0a8bfb667 /addons/web/static/src/css | |
| parent | c86b24b4c3a7206f3725ed83200270191dfc9dd6 (diff) | |
[IMP] Improved menu
bzr revid: fme@openerp.com-20120328100402-23zbekaomclkdwkf
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 22 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 33 |
2 files changed, 28 insertions, 27 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 |
