diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-05-26 23:38:11 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-05-26 23:38:11 +0200 |
| commit | 7bf4a4d9e0df61366f8fdafa94f03067b782c5af (patch) | |
| tree | 106c57f7a58c2daf16538e2726b2dc42b93697ab /addons/base/static/src/css | |
| parent | e3eb23b96c478f4e2aaf8ed34513b5e7d2aa37c7 (diff) | |
[ADD] Added attachments in sidebar
bzr revid: fme@openerp.com-20110526213811-jxj5mdshq8v4sbfj
Diffstat (limited to 'addons/base/static/src/css')
| -rw-r--r-- | addons/base/static/src/css/base.css | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/addons/base/static/src/css/base.css b/addons/base/static/src/css/base.css index 6dcb0912247..38fbfb115ef 100644 --- a/addons/base/static/src/css/base.css +++ b/addons/base/static/src/css/base.css @@ -666,7 +666,7 @@ background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%, } .openerp .button span { position: relative; - top: -3px; + vertical-align: top; } .openerp input.field_date, .openerp input.field_datetime { background: #fff url('../img/ui/field_calendar.png') no-repeat right center; @@ -793,6 +793,41 @@ background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%, color: black; } +.openerp .oe-sidebar-attachments-toolbar { + margin: 4px 0 0 4px; +} +.openerp .oe-sidebar-attachments-items { + clear: both; + padding-top: 5px !important; +} +.openerp .oe-sidebar-attachments-items li { + position: relative; + padding: 0 0 3px 10px !important; +} +.openerp .oe-sidebar-attachments-items li:hover { + background: #ddd; +} +.openerp .oe-sidebar-attachments-link { + display: block; + margin-right: 15px; + overflow: hidden; +} +.openerp .oe-sidebar-attachment-delete { + position: absolute; + right: 2px; + top: 1px; + overflow: hidden; + width: 15px; + height: 15px; + padding: 1px; + border-radius: 7px; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; +} +.openerp .oe-sidebar-attachment-delete:hover { + background-color: white; +} + .openerp .view-manager-main-sidebar h2 { margin:0; font-family: Ubuntu, Helvetica, sans-serif; |
