From 576e3c776a74d6b807d60a612c643cbddcee97b3 Mon Sep 17 00:00:00 2001 From: Cedric Snauwaert <csn@openerp.com> Date: Fri, 8 Aug 2014 14:09:44 +0200 Subject: [PATCH] [FIX] css: add display table rule to oe_popup_form class To correct the display of the "add contact" wizard in modal (buttons not well placed) --- addons/web/static/src/css/base.css | 8 ++++---- addons/web/static/src/css/base.sass | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 9fb53aab8e9b..6831c4190105 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -8,7 +8,6 @@ font-weight: normal; font-style: normal; } - @font-face { font-family: "EntypoRegular"; src: url("/web/static/src/font/entypo-webfont.eot") format("eot"); @@ -19,7 +18,6 @@ font-weight: normal; font-style: normal; } - .openerp { padding: 0; margin: 0; @@ -809,7 +807,7 @@ background-image: -moz-linear-gradient(top, #fc8787, maroon); background-image: -ms-linear-gradient(top, #fc8787, maroon); background-image: -o-linear-gradient(top, #fc8787, maroon); - background-image: linear-gradient(to bottom, #fc8787, #800000); + background-image: linear-gradient(to bottom, #fc8787, maroon); } .openerp .navbar .oe_topbar_anonymous_login a { display: block; @@ -1353,6 +1351,9 @@ .openerp .oe_view_manager_inline > .oe_view_manager_header, .openerp .oe_view_manager_inlineview > .oe_view_manager_header { display: none; } +.openerp .oe_popup_form { + display: table; +} .openerp .oe_popup_form .oe_formview .oe_form_pager { display: none !important; } @@ -3074,7 +3075,6 @@ top: 0px; } } - .kitten-mode-activated { background-size: cover; background-attachment: fixed; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 6c1ba2d80ef4..fedefd2b58ad 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1134,6 +1134,7 @@ $sheet-padding: 16px // }}} // FormPopup {{{ .oe_popup_form + display: table .oe_formview .oe_form_pager display: none !important // Customize label weight for popup wizard appear from another wizard according bootstrap3 -- GitLab