Browse Source

publish muk_web_theme - 12.0

pull/68/head
MuK IT GmbH 6 years ago
parent
commit
5b3abc7911
  1. 2
      muk_web_theme/__manifest__.py
  2. 5
      muk_web_theme/static/src/js/chrome/menu.js
  3. 3
      muk_web_theme/static/src/scss/navbar.scss

2
muk_web_theme/__manifest__.py

@ -19,7 +19,7 @@
{
"name": "MuK Backend Theme",
"summary": "Odoo Community Backend Theme",
"version": "12.0.1.2.9",
"version": "12.0.1.2.10",
"category": "Themes/Backend",
"license": "AGPL-3",
"author": "MuK IT",

5
muk_web_theme/static/src/js/chrome/menu.js

@ -59,6 +59,7 @@ Menu.include({
event.preventDefault();
event.stopPropagation();
var $section = $(event.currentTarget);
console.log($section)
if ($section.hasClass('show')) {
$section.removeClass('show');
$section.find('.show').removeClass('show');
@ -67,8 +68,8 @@ Menu.include({
} else {
$section.addClass('show');
$section.find('ul:first').addClass('show');
$section.find('.fa-chevron-down').show();
$section.find('.fa-chevron-right').hide();
$section.find('.fa-chevron-down:first').show();
$section.find('.fa-chevron-right:first').hide();
}
},
});

3
muk_web_theme/static/src/scss/navbar.scss

@ -103,7 +103,8 @@
min-width: auto;
box-shadow: none;
background: none;
position: initial;
position: static;
overflow: visible;
}
@for $index from 1 through 5 {
.o_menu_entry_lvl_#{$index} {

Loading…
Cancel
Save