summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorMinh Tran <mit@openerp.com>2012-07-13 16:12:37 +0200
committerMinh Tran <mit@openerp.com>2012-07-13 16:12:37 +0200
commit259dd3147dc7d418fe1ba84591df96fe7611c916 (patch)
tree0f6e8fa661a0452b4ca1b8fceeb7a072f70f217f /addons/web/static/src
parent5d669143c3705129647e5bade569d4c11159f0d0 (diff)
relooking one2many listview and changed padding in popup
bzr revid: mit@openerp.com-20120713141237-on8z29w5dnh2at2z
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css10
-rw-r--r--addons/web/static/src/css/base.sass9
2 files changed, 12 insertions, 7 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 3f410ff3fa2..466faec219a 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1763,10 +1763,6 @@
.openerp .oe_form_readonly .oe_form .oe_form_field_date {
width: auto;
}
-.openerp .oe_form_nosheet {
- margin-left: 10px;
- margin-right: 10px;
-}
.openerp .oe_form_nosheet > header {
margin-left: -10px;
margin-right: -10px;
@@ -2150,6 +2146,12 @@
.openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {
display: none;
}
+.openerp .oe_form_field_one2many .oe_list_content > thead {
+ border-bottom: 1px;
+}
+.openerp .oe_form_field_one2many .oe_list_content > tbody tr:nth-child(odd) {
+ background: transparent;
+}
.openerp .oe_form_field_one2many .oe_list .oe_list_edit_row_save {
background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat;
}
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 1ccf24ad9c4..ea052495911 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -1372,9 +1372,6 @@ $sheet-max-width: 860px
display: none !important
.oe_form .oe_form_field_date
width: auto
- .oe_form_nosheet
- margin-left: 10px
- margin-right: 10px
.oe_form_nosheet > header
margin-left: -10px
margin-right: -10px
@@ -1693,6 +1690,12 @@ $sheet-max-width: 860px
display: none
.oe_form_field_one2many
// TODO: oe_form_field_one2many_list?
+ .oe_list_content
+ > thead
+ border-bottom: 1px
+ > tbody
+ tr:nth-child(odd)
+ background: transparent
.oe_list .oe_list_edit_row_save
background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
&:before