From a8f94a59cde1c4034b1a704014d1572598db833f Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 9 Dec 2014 14:38:12 +0100 Subject: [FIX] web: scroll handling for many2one selection If the many2one selection height was too big (bigger than the browser page), it wasn't possible to see all options, because the body is set as overflow: hidden; Moreover, if you opened a many2one selection and then scrolled the page, the selection moved with the scrolling, while it should be sticked to its input field --- addons/web/static/src/css/base.css | 1 + addons/web/static/src/css/base.sass | 1 + 2 files changed, 2 insertions(+) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index aa48fd3639f..d448bb38188 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3064,6 +3064,7 @@ div.ui-widget-overlay { } .ui-menu .ui-menu-item a { padding: 1px 16px; + color: #404040; } .ui-menu .ui-menu-item a.ui-corner-all { -moz-border-radius: 0; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 908ad90c890..b8132d68d9c 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2490,6 +2490,7 @@ div.ui-widget-overlay padding: 0 a padding: 1px 16px + color: #404040 a.ui-corner-all @include radius(0) a.ui-state-active -- cgit v1.2.3 From 0b6078dfea9cd60f7273e431fe52dd8ff4863607 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 21 Oct 2014 12:48:19 +0200 Subject: [IMP] base: apps integration --- addons/web/static/src/css/base.css | 4 ++++ addons/web/static/src/css/base.sass | 3 +++ 2 files changed, 7 insertions(+) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index d448bb38188..236b038bab8 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -41,6 +41,10 @@ margin-right: 0px !important; } +.apps-client { + border: 0; +} + .oe_notification { z-index: 1600; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index b8132d68d9c..7343d1e0406 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -161,6 +161,9 @@ $sheet-padding: 16px .oe_systray margin-right: 0px !important +.apps-client + border: 0 + // Notifications {{{ .oe_notification z-index: 1600 -- cgit v1.2.3 From b7e2f5be8b060e4e048138441be039cccb705fe1 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Tue, 23 Dec 2014 10:32:27 +0100 Subject: [FIX] web: base.css: fallback for browsers without calc support see https://developer.mozilla.org/en-US/docs/Web/CSS/calc --- addons/web/static/src/css/base.css | 2 ++ addons/web/static/src/css/base.sass | 2 ++ 2 files changed, 4 insertions(+) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 236b038bab8..1b816cd7945 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -86,11 +86,13 @@ */ } .openerp.openerp_webclient_container { + height: 95%; height: calc(100% - 34px); overflow: auto; } @media (max-width: 768px) { .openerp.openerp_webclient_container { + height: 90%; height: calc(100% - 52px); } } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 7343d1e0406..2dc158f9e33 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -201,10 +201,12 @@ $sheet-padding: 16px font-size: 13px background: white &.openerp_webclient_container + height: 95% // fallback for browsers without support for calc() height: calc(100% - 34px) overflow: auto @media (max-width: 768px) &.openerp_webclient_container + height: 90% // fallback for browsers without support for calc() height: calc(100% - 52px) // }}} //Placeholder style{{{ -- cgit v1.2.3 From 5a207fa08ee3e52014764fe4983946d8504f6449 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Wed, 24 Dec 2014 13:52:05 +0100 Subject: [FIX] web: firefox print all pages of list view opw-619093 --- addons/web/static/src/css/base.css | 12 ++++++++++++ addons/web/static/src/css/base.sass | 7 +++++++ 2 files changed, 19 insertions(+) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 1b816cd7945..0bf682b5eff 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3258,11 +3258,23 @@ body.oe_single_form .oe_single_form_container { } @media print { + body { + height: auto !important; + } + + .openerp#announcement_bar_table { + display: none; + } + .openerp { text-shadow: none; } + .openerp .oe_application, .openerp .oe_view_manager_wrapper { + height: auto !important; + } .openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body { overflow: visible; + position: relative !important; } .openerp .oe_header_row, .openerp ul.oe_header, .openerp div.oe_mail_thread_action, .openerp .oe_mail_recthread_actions, .openerp .oe_button_box, .openerp .oe_form button, .openerp button.oe_invite, .openerp .oe_form header, .openerp .openerp .oe_notebook > li.ui-state-default, .openerp .oe_topbar, .openerp .oe_leftbar, .openerp .oe_loading { display: none !important; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 2dc158f9e33..6e1b8993fae 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2661,9 +2661,16 @@ body.oe_single_form // @media print {{{ @media print + body + height: auto !important + .openerp#announcement_bar_table + display: none .openerp + .oe_application, .oe_view_manager_wrapper + height: auto !important .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body overflow: visible + position: relative !important .oe_header_row, ul.oe_header, div.oe_mail_thread_action, .oe_mail_recthread_actions, .oe_button_box, .oe_form button, button.oe_invite, .oe_form header, .openerp .oe_notebook > li.ui-state-default, .oe_topbar, .oe_leftbar, .oe_loading // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show() display: none !important -- cgit v1.2.3