diff --git a/addons/base/static/openerp/base.css b/addons/base/static/openerp/base.css index cc23f103581..0be7bcb8807 100644 --- a/addons/base/static/openerp/base.css +++ b/addons/base/static/openerp/base.css @@ -21,7 +21,10 @@ body { } -.openerp { +body.openerp { + height: 100%; + min-width: 1000px; + overflow-y: scroll; } /* STATES */ @@ -60,8 +63,13 @@ body { background-color: #f88; } -/* Main */ -.openerp .main { +/* Main*/ +.openerp .main_table { + width: 100%; + height: 100%; +} +/* Main Application */ +.openerp .application { padding: 6px; } @@ -81,6 +89,114 @@ body { } */ +.openerp .menu { + height: 34px; + position: relative; + 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; +} +.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; + font-weight: bold; + font-size: 85%; +} +.openerp .menu ul li a:hover, +.openerp .menu li a:focus, +.openerp .menu ul li 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 { + background-position: 100% -23px; +} +/* Secondary Menu */ +.openerp .secondary_menu { + width: 200px; + min-width: 200px; + border-right: 1px solid #3C3C3C; + border-bottom: 1px solid #5A5858; + background: #5A5858; + vertical-align: top; +} +.openerp .secondary_menu .menu_content { + padding: 0; + border: none; + background: none; +} +.openerp .secondary_menu h3 { + padding: 0 0 2px; + background: url(img/secondary_menu-bg.gif) 0 100% repeat-x; + border: none; +} +.openerp .secondary_menu h4 { + padding: 0 0 2px; + border: none; + background: none; + padding-left: 20px; +} +.openerp .secondary_menu a { + display: block; + height: 20px; + padding: 0 5px; + line-height: 20px; + white-space: nowrap; + color: white; + text-decoration: none; + text-shadow: 0 1px 0 #333; +} +.openerp .secondary_menu h3 a { + background: url(img/secondary_menu-h3-bg.png) 0 100% repeat-x; +} +.openerp .secondary_menu a.leaf:hover, +.openerp .secondary_menu a.leaf:active, +.openerp .secondary_menu a.leaf.active, +.openerp .secondary_menu h4:hover, +.openerp .secondary_menu h4:active, +.openerp .secondary_menu h4.active, +.openerp .secondary_menu h4:hover a, +.openerp .secondary_menu h4:active a, +.openerp .secondary_menu h4.active a { + background: url(img/secondary_menu-link-bg.gif) repeat-x; + color: #3f3d3d; + text-shadow: #fff 0 1px 0; + border: none !important; +} + /* Header */ .openerp .header { height: 65px; diff --git a/addons/base/static/openerp/base.html b/addons/base/static/openerp/base.html index 9298560e2ae..a51c1a11ee2 100644 --- a/addons/base/static/openerp/base.html +++ b/addons/base/static/openerp/base.html @@ -1,5 +1,5 @@ - + OpenERP diff --git a/addons/base/static/openerp/base.xml b/addons/base/static/openerp/base.xml index 6b34fad6cf2..d640b21803d 100644 --- a/addons/base/static/openerp/base.xml +++ b/addons/base/static/openerp/base.xml @@ -5,18 +5,41 @@
-
-
-
- -
- Debug: -
+ + + + + + + + + + + + + + +
+
+ +
+ +
+
+
+
+
+ +
+
+ Debug: +
+
Loading... @@ -61,25 +84,45 @@ - -