diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-05-24 18:42:33 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-05-24 18:42:33 +0200 |
| commit | 1843ac7feefd6f69da32011d7ace463d01d90e9f (patch) | |
| tree | b2cc3b8443617bec52336f98b28453463c288aac /addons/base/static/src/css | |
| parent | ba308938c45c82ba04651d532214249736dea2ca (diff) | |
[IMP] Improved sidebar. Added callback for Sidebar#do_refresh
bzr revid: fme@openerp.com-20110524164233-jm69rjq7z293275j
Diffstat (limited to 'addons/base/static/src/css')
| -rw-r--r-- | addons/base/static/src/css/base.css | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/addons/base/static/src/css/base.css b/addons/base/static/src/css/base.css index 33f5f9b575c..ffb3bbc1567 100644 --- a/addons/base/static/src/css/base.css +++ b/addons/base/static/src/css/base.css @@ -758,25 +758,25 @@ background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%, } .openerp .sidebar-main-div { - height:100%; + height: 100%; + border-left: 1px solid #D2CFCF; } -.openerp .sidebar-sub-div { - padding:0; - margin:0; - width:180px; - border-left: 1px solid #D2CFCF; - height:100%; +.openerp .sidebar-content { + padding: 0; + margin: 0; + width: 180px; + height: 100%; font-family: Ubuntu, Helvetica, sans-serif; font-size: 0.9em; } -.openerp .closed-sidebar .sidebar-sub-div { - width:22px; +.openerp .closed-sidebar .sidebar-content { + width: 22px; } -.openerp .closed-sidebar .sidebar-displaying-div { - display:none; +.openerp .closed-sidebar .sidebar-content { + display: none; } .openerp .sidebar-main-div a { @@ -831,12 +831,15 @@ background: linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* W3C */ background: url(../img/toggle-a-bg.png); width: 21px; height: 21px; - position: absolute; z-index: 10; } .openerp .open-sidebar .toggle-sidebar { margin-left: 158px; background-position: 21px 0; + position: absolute; +} +.openerp .closed-sidebar .toggle-sidebar { + border-left: none; } .openerp.kitten-mode-activated .main_table { @@ -863,7 +866,7 @@ background: linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* W3C */ .openerp.kitten-mode-activated .menu span { background: none; } -.openerp.kitten-mode-activated .sidebar-displaying-div li a, +.openerp.kitten-mode-activated .sidebar-content li a, .openerp.kitten-mode-activated .oe-application .view-manager-main-content h2.oe_view_title, .openerp.kitten-mode-activated .oe-application .view-manager-main-content a.searchview_group_string, .openerp.kitten-mode-activated .oe-application .view-manager-main-content label { |
