From 92ec12d85af1ae5bb13b14be84dffc8eac985329 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Sat, 15 Dec 2018 17:29:57 +0000 Subject: [PATCH] publish muk_web_theme - 12.0 --- muk_web_theme/__manifest__.py | 117 +++++------ muk_web_theme/static/src/scss/appsbar.scss | 234 ++++++++++----------- 2 files changed, 175 insertions(+), 176 deletions(-) diff --git a/muk_web_theme/__manifest__.py b/muk_web_theme/__manifest__.py index fed6af2..202c1ae 100644 --- a/muk_web_theme/__manifest__.py +++ b/muk_web_theme/__manifest__.py @@ -1,60 +1,59 @@ -################################################################################### -# -# Copyright (C) 2018 MuK IT GmbH -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -################################################################################### - -{ - "name": "MuK Backend Theme", - "summary": "Odoo 12.0 community backend theme", - "version": "12.0.1.1.9", - "category": "Themes/Backend", - "license": "AGPL-3", - "author": "MuK IT", - "website": "http://www.mukit.at", - "live_test_url": "https://demo.mukit.at/web/login", - "contributors": [ - "Mathias Markl ", - ], - "depends": [ - "muk_web_utils", - ], - "excludes": [ - "web_enterprise", - ], - "data": [ - "template/assets.xml", - "template/web.xml", - "views/res_users.xml", - "views/res_config_settings_view.xml", - "data/res_company.xml", - ], - "qweb": [ - "static/src/xml/*.xml", - ], - "images": [ - 'static/description/banner.png', - 'static/description/theme_screenshot.png' - ], - "external_dependencies": { - "python": [], - "bin": [], - }, - "application": False, - "installable": True, - "auto_install": False, - "sequence": "999", +################################################################################### +# +# Copyright (C) 2018 MuK IT GmbH +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### +{ + "name": "MuK Backend Theme", + "summary": "Odoo 12.0 community backend theme", + "version": "12.0.1.1.10", + "category": "Themes/Backend", + "license": "AGPL-3", + "author": "MuK IT", + "website": "http://www.mukit.at", + "live_test_url": "https://demo.mukit.at/web/login", + "contributors": [ + "Mathias Markl ", + ], + "depends": [ + "muk_web_utils", + ], + "excludes": [ + "web_enterprise", + ], + "data": [ + "template/assets.xml", + "template/web.xml", + "views/res_users.xml", + "views/res_config_settings_view.xml", + "data/res_company.xml", + ], + "qweb": [ + "static/src/xml/*.xml", + ], + "images": [ + 'static/description/banner.png', + 'static/description/theme_screenshot.png' + ], + "external_dependencies": { + "python": [], + "bin": [], + }, + "application": False, + "installable": True, + "auto_install": False, + "sequence": "999", } \ No newline at end of file diff --git a/muk_web_theme/static/src/scss/appsbar.scss b/muk_web_theme/static/src/scss/appsbar.scss index ff8a064..9961131 100644 --- a/muk_web_theme/static/src/scss/appsbar.scss +++ b/muk_web_theme/static/src/scss/appsbar.scss @@ -1,118 +1,118 @@ -/********************************************************************************** -* -* Copyright (C) 2017 MuK IT GmbH -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU Affero General Public License as -* published by the Free Software Foundation, either version 3 of the -* License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Affero General Public License for more details. -* -* You should have received a copy of the GNU Affero General Public License -* along with this program. If not, see . -* -**********************************************************************************/ - -.mk_apps_sidebar_panel { - height: 100%; - position: fixed; - overflow-y: auto; - top: $o-navbar-height; - background-color: $black; - .mk_apps_sidebar { - padding: 0; - white-space: nowrap; - .mk_apps_sidebar_menu { - list-style: none; - margin: 0; - padding: 0; - > li { - margin: 0; - padding: 0; - border: 0px; - display: block; - > a { - margin: 0; - border: 0px; - display: block; - cursor: pointer; - font-size: 13px; - padding: 8px 11px; - position: relative; - text-decoration: none; - font-weight: 300; - color: gray('300'); - overflow: hidden; - text-overflow: ellipsis; - .mk_apps_sidebar_icon { - width: 22px; - height: 22px; - margin-right: 5px; - } - } - } - > li:hover > a { - background: $o-brand-primary; - } - } - } -} - -@include media-breakpoint-up(lg) { - .mk_sidebar_type_large { - .mk_apps_sidebar_panel { - width: $mk-sidebar-large-width; - } - .o_main { - padding-left: $mk-sidebar-large-width; - } - } - .mk_sidebar_type_small { - .mk_apps_sidebar_panel { - width: $mk-sidebar-small-width; - .mk_apps_sidebar_name { - display: none; - } - } - .o_main { - padding-left: $mk-sidebar-small-width; - } - } - .mk_sidebar_type_invisible { - .mk_apps_sidebar_panel { - display: none; - } - } -} - -@include media-breakpoint-only(md) { - .mk_sidebar_type_large, .mk_sidebar_type_small { - .mk_apps_sidebar_panel { - width: $mk-sidebar-small-width; - .mk_apps_sidebar_name { - display: none; - } - } - .o_main { - padding-left: $mk-sidebar-small-width; - } - } - .mk_sidebar_type_invisible { - .mk_apps_sidebar_panel { - display: none; - } - } -} - -@include media-breakpoint-down(sm) { - .mk_apps_sidebar_panel { - display: none; - } - .o_main { - padding-left: 0; - } +/********************************************************************************** +* +* Copyright (C) 2017 MuK IT GmbH +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU Affero General Public License as +* published by the Free Software Foundation, either version 3 of the +* License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Affero General Public License for more details. +* +* You should have received a copy of the GNU Affero General Public License +* along with this program. If not, see . +* +**********************************************************************************/ + +.mk_apps_sidebar_panel { + height: height: calc(100% - #{$o-navbar-height}); + position: fixed; + overflow-y: auto; + top: $o-navbar-height; + background-color: $black; + .mk_apps_sidebar { + padding: 0; + white-space: nowrap; + .mk_apps_sidebar_menu { + list-style: none; + margin: 0; + padding: 0; + > li { + margin: 0; + padding: 0; + border: 0px; + display: block; + > a { + margin: 0; + border: 0px; + display: block; + cursor: pointer; + font-size: 13px; + padding: 8px 11px; + position: relative; + text-decoration: none; + font-weight: 300; + color: gray('300'); + overflow: hidden; + text-overflow: ellipsis; + .mk_apps_sidebar_icon { + width: 22px; + height: 22px; + margin-right: 5px; + } + } + } + > li:hover > a { + background: $o-brand-primary; + } + } + } +} + +@include media-breakpoint-up(lg) { + .mk_sidebar_type_large { + .mk_apps_sidebar_panel { + width: $mk-sidebar-large-width; + } + .o_main { + padding-left: $mk-sidebar-large-width; + } + } + .mk_sidebar_type_small { + .mk_apps_sidebar_panel { + width: $mk-sidebar-small-width; + .mk_apps_sidebar_name { + display: none; + } + } + .o_main { + padding-left: $mk-sidebar-small-width; + } + } + .mk_sidebar_type_invisible { + .mk_apps_sidebar_panel { + display: none; + } + } +} + +@include media-breakpoint-only(md) { + .mk_sidebar_type_large, .mk_sidebar_type_small { + .mk_apps_sidebar_panel { + width: $mk-sidebar-small-width; + .mk_apps_sidebar_name { + display: none; + } + } + .o_main { + padding-left: $mk-sidebar-small-width; + } + } + .mk_sidebar_type_invisible { + .mk_apps_sidebar_panel { + display: none; + } + } +} + +@include media-breakpoint-down(sm) { + .mk_apps_sidebar_panel { + display: none; + } + .o_main { + padding-left: 0; + } } \ No newline at end of file