diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-05-17 18:21:32 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-05-17 18:21:32 +0200 |
| commit | 6107aadaeaa859b6baa5d045afe13a1de768491d (patch) | |
| tree | b47b2e9f5bca74d94f1e6bfc5590d858bf855930 /addons/base/static/src/css | |
| parent | f39eea6a79179a780c058928083f1bd7a6d8fb93 (diff) | |
| parent | 5d40b7869eb8308bd15720c5549482fcfbc31d7b (diff) | |
[FIX] Lot of ie fixes.
bzr revid: nicolas.vanhoren@openerp.com-20110517162132-4k3dvni1jtmee3n6
Diffstat (limited to 'addons/base/static/src/css')
| -rw-r--r-- | addons/base/static/src/css/base-ie7.css | 4 | ||||
| -rw-r--r-- | addons/base/static/src/css/base.css | 39 |
2 files changed, 16 insertions, 27 deletions
diff --git a/addons/base/static/src/css/base-ie7.css b/addons/base/static/src/css/base-ie7.css new file mode 100644 index 00000000000..35599dbdd4b --- /dev/null +++ b/addons/base/static/src/css/base-ie7.css @@ -0,0 +1,4 @@ + +.openerp .menu span { + min-width: 0px; +} diff --git a/addons/base/static/src/css/base.css b/addons/base/static/src/css/base.css index 26ea9e3df45..a0f4dafe282 100644 --- a/addons/base/static/src/css/base.css +++ b/addons/base/static/src/css/base.css @@ -99,53 +99,38 @@ body.openerp { white-space: nowrap; background: url(../img/menu-bg.png) repeat-x; } -.openerp .menu ul { - margin: 0; - padding: 0; - list-style: none; - overflow: hidden; - position: absolute; - left: 0; - right: 0; - text-align: center; -} -.openerp .menu li { - display: -moz-inline-stack; - display: inline; /*IE7 */ - display: inline-block; - margin: 6px 1px; - text-align: center; - text-transform: uppercase; -} .openerp .menu a { display: block; - float: left; padding: 0 0 0 3px; background: url(../img/menu-item.png) no-repeat; color: #eee; text-shadow: #222 0 1px 0; text-decoration: none; + + text-align: center; + text-transform: uppercase; + margin: 2px 1px; + height: 23px; } .openerp .menu span { display: block; - float: left; min-width: 60px; height: 23px; padding: 0 9px 0 6px; background: url(../img/menu-item.png) 100% 0 no-repeat; - line-height: 22px; + line-height: 23px; font-weight: bold; font-size: 85%; } -.openerp .menu ul li a:hover, -.openerp .menu li a:focus, -.openerp .menu ul li a.active { +.openerp .menu a:hover, +.openerp .menu a:focus, +.openerp .menu a.active { background-position: 0 -23px; color: #fff; } -.openerp .menu ul li a:hover span, -.openerp .menu ul li a:focus span, -.openerp .menu ul li a.active span { +.openerp .menu a:hover span, +.openerp .menu a:focus span, +.openerp .menu a.active span { background-position: 100% -23px; } /* Secondary Menu */ |
