Browse Source

publish muk_web_theme - 12.0

pull/48/head
MuK IT GmbH 6 years ago
parent
commit
92ec12d85a
  1. 117
      muk_web_theme/__manifest__.py
  2. 234
      muk_web_theme/static/src/scss/appsbar.scss

117
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 <http://www.gnu.org/licenses/>.
#
###################################################################################
{
"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 <mathias.markl@mukit.at>",
],
"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 <http://www.gnu.org/licenses/>.
#
###################################################################################
{
"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 <mathias.markl@mukit.at>",
],
"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",
} }

234
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 <http://www.gnu.org/licenses/>.
*
**********************************************************************************/
.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 <http://www.gnu.org/licenses/>.
*
**********************************************************************************/
.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;
}
} }
Loading…
Cancel
Save