Browse Source

publish muk_web_theme - 12.0

pull/35/head
MuK IT GmbH 6 years ago
parent
commit
b9e78f58ed
  1. 2
      muk_web_theme/__manifest__.py
  2. 61
      muk_web_theme/static/libs/jquery-bootstrap-scrolling-tabs/jquery-bootstrap-scrolling-tabs.css
  3. 1963
      muk_web_theme/static/libs/jquery-bootstrap-scrolling-tabs/jquery-bootstrap-scrolling-tabs.js
  4. 4
      muk_web_theme/static/src/js/views/form_renderer.js
  5. 16
      muk_web_theme/static/src/scss/form_view.scss
  6. 2
      muk_web_theme/template/assets.xml

2
muk_web_theme/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Backend Theme",
"summary": "Odoo 12.0 community backend theme",
"version": "12.0.1.1.2",
"version": "12.0.1.1.3",
"category": "Themes/Backend",
"license": "AGPL-3",
"author": "MuK IT",

61
muk_web_theme/static/libs/jquery-bootstrap-scrolling-tabs/jquery-bootstrap-scrolling-tabs.css

@ -1,61 +0,0 @@
/**
* jquery-bootstrap-scrolling-tabs
* @version v2.4.0
* @link https://github.com/mikejacobson/jquery-bootstrap-scrolling-tabs
* @author Mike Jacobson <michaeljjacobson1@gmail.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
.scrtabs-tab-container * {
box-sizing: border-box; }
.scrtabs-tab-container {
height: 42px; }
.scrtabs-tab-container .tab-content {
clear: left; }
.scrtabs-tab-container.scrtabs-bootstrap4 .scrtabs-tabs-movable-container > .navbar-nav {
-ms-flex-direction: row;
flex-direction: row; }
.scrtabs-tabs-fixed-container {
float: left;
height: 42px;
overflow: hidden;
width: 100%; }
.scrtabs-tabs-movable-container {
position: relative; }
.scrtabs-tabs-movable-container .tab-content {
display: none; }
.scrtabs-tab-container.scrtabs-rtl .scrtabs-tabs-movable-container > ul.nav-tabs {
padding-right: 0; }
.scrtabs-tab-scroll-arrow {
border: 1px solid #dddddd;
color: #428bca;
display: none;
float: left;
font-size: 12px;
padding: 0.55rem 0.5rem;
width: 20px; }
.scrtabs-tab-scroll-arrow:hover {
background-color: #eeeeee; }
.scrtabs-tab-scroll-arrow,
.scrtabs-tab-scroll-arrow .scrtabs-click-target {
cursor: pointer; }
.scrtabs-tab-scroll-arrow.scrtabs-with-click-target {
cursor: default; }
.scrtabs-tab-scroll-arrow.scrtabs-disable,
.scrtabs-tab-scroll-arrow.scrtabs-disable .scrtabs-click-target {
color: #ddd;
cursor: default; }
.scrtabs-tab-scroll-arrow.scrtabs-disable:hover {
background-color: initial; }
.scrtabs-tabs-fixed-container ul.nav-tabs > li {
white-space: nowrap; }

1963
muk_web_theme/static/libs/jquery-bootstrap-scrolling-tabs/jquery-bootstrap-scrolling-tabs.js
File diff suppressed because it is too large
View File

4
muk_web_theme/static/src/js/views/form_renderer.js

@ -40,10 +40,6 @@ FormRenderer.include({
}
return $buttons;
},
_updateView: function () {
this._super.apply(this, arguments);
this.$('.nav-tabs').scrollingTabs();
},
});
});

16
muk_web_theme/static/src/scss/form_view.scss

@ -31,8 +31,19 @@
.btn.oe_stat_button > .o_button_icon {
color: $o-brand-odoo;
}
.btn.oe_stat_button > .o_stat_info {
padding-right: 3px;
}
}
.o_notebook {
.nav-tabs {
overflow-x : auto;
overflow-y: hidden;
flex-flow: nowrap;
.nav-item {
white-space: nowrap;
}
}
.table-responsive {
overflow-x: inherit;
}
@ -74,6 +85,11 @@
margin: 0;
}
}
.o_notebook .nav-tabs {
&::-webkit-scrollbar {
display: none;
}
}
}
@include media-breakpoint-down(xs) {
.oe_button_box {

2
muk_web_theme/template/assets.xml

@ -49,11 +49,9 @@
<template id="assets_backend" name="Backend Assets" inherit_id="web.assets_backend">
<xpath expr="//link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/muk_web_theme/static/libs/simplebar/simplebar.css" />
<link rel="stylesheet" type="text/scss" href="/muk_web_theme/static/libs/jquery-bootstrap-scrolling-tabs/jquery-bootstrap-scrolling-tabs.css" />
</xpath>
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/muk_web_theme/static/libs/simplebar/simplebar.js" />
<script type="text/javascript" src="/muk_web_theme/static/libs/jquery-bootstrap-scrolling-tabs/jquery-bootstrap-scrolling-tabs.js" />
</xpath>
<xpath expr="//link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/muk_web_theme/static/src/scss/mixins.scss"/>

Loading…
Cancel
Save