From 80c0e7303124a7c61e274080c67de46ca8cf4625 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Thu, 3 Jan 2019 19:24:54 +0000 Subject: [PATCH] publish muk_web_theme - 12.0 --- muk_web_theme/__manifest__.py | 2 +- muk_web_theme/static/src/scss/form_view.scss | 1 + muk_web_theme/static/src/scss/mixins.scss | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/muk_web_theme/__manifest__.py b/muk_web_theme/__manifest__.py index 82da559..4a4403b 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.2.1", + "version": "12.0.1.2.2", "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 355f076..73d9bd3 100644 --- a/muk_web_theme/static/src/scss/form_view.scss +++ b/muk_web_theme/static/src/scss/form_view.scss @@ -22,6 +22,7 @@ background: $o-webclient-background-color; border-bottom: 1px solid gray('300'); > .o_form_sheet { + @include mk-container-widths(); background-color: $o-view-background-color; border: 1px solid gray('400'); box-shadow: 0 5px 20px -15px black; diff --git a/muk_web_theme/static/src/scss/mixins.scss b/muk_web_theme/static/src/scss/mixins.scss index 7e5e81c..b46ab40 100644 --- a/muk_web_theme/static/src/scss/mixins.scss +++ b/muk_web_theme/static/src/scss/mixins.scss @@ -29,4 +29,12 @@ z-index: 100; top: $o-navbar-height !important; transform: none !important; +} + +@mixin mk-container-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) { + @each $breakpoint, $container-max-width in $max-widths { + @include media-breakpoint-up($breakpoint, $breakpoints) { + width: $container-max-width; + } + } } \ No newline at end of file