From 1078888786716bcf28c7431dc7385b2fbf349dda Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Sat, 22 Jun 2019 00:10:07 +0000 Subject: [PATCH] publish muk_web_theme - 12.0 --- muk_web_theme/__manifest__.py | 2 +- muk_web_theme/static/src/scss/form_view.scss | 28 +++++++++++++++++++- muk_web_theme/static/src/scss/list_view.scss | 17 ++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/muk_web_theme/__manifest__.py b/muk_web_theme/__manifest__.py index 38dcef8..eefeeac 100644 --- a/muk_web_theme/__manifest__.py +++ b/muk_web_theme/__manifest__.py @@ -19,7 +19,7 @@ { "name": "MuK Backend Theme", "summary": "Odoo Community Backend Theme", - "version": "12.0.1.5.5", + "version": "12.0.1.5.6", "category": "Themes/Backend", "license": "AGPL-3", "author": "MuK IT", diff --git a/muk_web_theme/static/src/scss/form_view.scss b/muk_web_theme/static/src/scss/form_view.scss index 91eb0be..8cbcc8d 100644 --- a/muk_web_theme/static/src/scss/form_view.scss +++ b/muk_web_theme/static/src/scss/form_view.scss @@ -28,13 +28,39 @@ box-shadow: 0 5px 20px -15px black; max-width: calc(100% - #{$o-horizontal-padding*2}); } - .oe_button_box { + .o_form_statusbar { + position: sticky; + z-index: 1; + top: 0; + } + .oe_button_box { .btn.oe_stat_button > .o_button_icon { color: $o-brand-odoo; } .btn.oe_stat_button > .o_stat_info { padding-right: 3px; } + &, & + .oe_avatar { + + .oe_title { + max-width: calc(100% - 420px); + width: initial !important; + } + } + } + .oe_title { + max-width: 100%; + width: initial; + + span { + max-width: 100%; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + width: initial; + } + span:active { + white-space: normal; + } } .o_notebook { .nav-tabs { diff --git a/muk_web_theme/static/src/scss/list_view.scss b/muk_web_theme/static/src/scss/list_view.scss index b065b08..f6e448d 100644 --- a/muk_web_theme/static/src/scss/list_view.scss +++ b/muk_web_theme/static/src/scss/list_view.scss @@ -66,3 +66,20 @@ cursor: default; font-weight: normal; } + +.o_content, .modal-content { + > div > .table-responsive { + overflow-x: initial; + > .o_list_view { + thead, thead tr:nth-child(1) th { + position: sticky; + z-index: 1; + top: 0; + } + tfoot, tfoot tr:nth-child(1) td { + position: sticky; + bottom: 0; + } + } + } +}