From 1bf98df351725946c85493968822f56c95e43b41 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Wed, 7 Sep 2016 10:18:53 +0200 Subject: [PATCH 1/2] [IMP] Style for Odoo 9E --- mis_builder/static/src/css/custom.css | 48 +++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/mis_builder/static/src/css/custom.css b/mis_builder/static/src/css/custom.css index 063eb2d6..769d7e4a 100644 --- a/mis_builder/static/src/css/custom.css +++ b/mis_builder/static/src/css/custom.css @@ -28,3 +28,51 @@ .oe_mis_builder_content { padding: 20px; } + +/* 9e */ + +.mis_builder_amount { + text-align: right; +} + +.mis_builder_collabel { + text-align: center; +} + +.mis_builder_rowlabel { + text-align: left; +} + +.mis_builder a { + /* we don't want the link color, to respect user styles */ + color: inherit; +} + +.mis_builder a:hover { + /* underline links on hover to give a visual cue */ + text-decoration: underline; +} + +/* Table of contents for 9e */ + +.mis_builder{ + width:100%; +} + +.mis_builder tbody{ + border-top: 2px solid #D3D3D3; + border-bottom: 2px solid #D3D3D3; +} + +.mis_builder thead>tr{ + border: 0; +} + +.mis_builder tr{ + border-top: 1px solid #D3D3D3; +} + +.mis_builder td{ + padding-left:10px; + padding-right:10px; +} From fbe67f9db35784f3a7fff1cc40fd7c37c38bdd5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Sun, 25 Sep 2016 14:07:40 +0200 Subject: [PATCH 2/2] [IMP] 9c/9e compatible css for mis builder --- mis_builder/static/src/css/custom.css | 60 +++-------------------- mis_builder/static/src/xml/mis_widget.xml | 2 +- 2 files changed, 7 insertions(+), 55 deletions(-) diff --git a/mis_builder/static/src/css/custom.css b/mis_builder/static/src/css/custom.css index 769d7e4a..f4405a86 100644 --- a/mis_builder/static/src/css/custom.css +++ b/mis_builder/static/src/css/custom.css @@ -1,21 +1,21 @@ -.openerp .mis_builder_amount { +.o_web_client .mis_builder_amount { text-align: right; } -.openerp .mis_builder_collabel { +.o_web_client .mis_builder_collabel { text-align: center; } -.openerp .mis_builder_rowlabel { +.o_web_client .mis_builder_rowlabel { text-align: left; } -.openerp .mis_builder a { +.o_web_client .mis_builder a { /* we don't want the link color, to respect user styles */ color: inherit; } -.openerp .mis_builder a:hover { +.o_web_client .mis_builder a:hover { /* underline links on hover to give a visual cue */ text-decoration: underline; } @@ -26,53 +26,5 @@ } .oe_mis_builder_content { - padding: 20px; -} - -/* 9e */ - -.mis_builder_amount { - text-align: right; -} - -.mis_builder_collabel { - text-align: center; -} - -.mis_builder_rowlabel { - text-align: left; -} - -.mis_builder a { - /* we don't want the link color, to respect user styles */ - color: inherit; -} - -.mis_builder a:hover { - /* underline links on hover to give a visual cue */ - text-decoration: underline; -} - -/* Table of contents for 9e */ - -.mis_builder{ - width:100%; -} - -.mis_builder tbody{ - border-top: 2px solid #D3D3D3; - border-bottom: 2px solid #D3D3D3; -} - -.mis_builder thead>tr{ - border: 0; -} - -.mis_builder tr{ - border-top: 1px solid #D3D3D3; -} - -.mis_builder td{ - padding-left:10px; - padding-right:10px; + padding: 10px; } diff --git a/mis_builder/static/src/xml/mis_widget.xml b/mis_builder/static/src/xml/mis_widget.xml index e720722d..630c2a3f 100644 --- a/mis_builder/static/src/xml/mis_widget.xml +++ b/mis_builder/static/src/xml/mis_widget.xml @@ -8,7 +8,7 @@ - +