Browse Source

publish muk_web_theme - 13.0

13.0
MuK IT GmbH 4 years ago
parent
commit
2eeea77db3
  1. 2
      muk_web_theme/__manifest__.py
  2. 20
      muk_web_theme/static/src/scss/control_panel.scss
  3. 39
      muk_web_theme/static/src/scss/form_view.scss
  4. 17
      muk_web_theme/static/src/scss/search_view.scss

2
muk_web_theme/__manifest__.py

@ -22,7 +22,7 @@
{
"name": "MuK Backend Theme",
"summary": "Odoo Community Backend Theme",
"version": "13.0.1.0.0",
"version": "13.0.1.0.1",
"category": "Themes/Backend",
"license": "LGPL-3",
"author": "MuK IT",

20
muk_web_theme/static/src/scss/control_panel.scss

@ -20,6 +20,7 @@
*
**********************************************************************************/
@include media-breakpoint-down(sm) {
.o_control_panel {
padding-left: $o-horizontal-padding /2;
@ -38,22 +39,29 @@
text-overflow: ellipsis;
}
.o_cp_searchview {
overflow: hidden;
max-width: 20%;
min-width: 20%;
text-align: right;
min-height: 35px;
&.o_searchview_quick {
width: 100%;
display: flex;
align-items: flex-start;
.o_searchview {
border: none;
padding: 3.5px 5px;
display: flex;
flex: 1 1 auto;
align-items: center;
.o_searchview_input_container {
flex: 1 1 auto;
}
.o_enable_searchview {
margin-left: 0;
box-shadow: none;
padding-left: 0;
&:before {
padding-right: 5px;
}
}
}
}
}
.o_cp_left {
flex-basis: 50%;
white-space: nowrap;

39
muk_web_theme/static/src/scss/form_view.scss

@ -40,15 +40,6 @@
.btn.oe_stat_button > .o_button_icon {
color: $o-brand-odoo;
}
.btn.oe_stat_button > .o_stat_info {
padding-right: 3px;
}
&, & + .oe_avatar {
+ .oe_title {
max-width: calc(100% - 420px);
width: initial !important;
}
}
}
.oe_title {
max-width: 100%;
@ -129,36 +120,6 @@
}
}
@include media-breakpoint-down(xs) {
.oe_button_box {
float: none;
display: block;
border-radius: 0;
text-align: right;
margin-top: -17px;
margin-bottom: $o-sheet-vpadding;
margin-left: -$o-horizontal-padding;
width: calc(100% + #{$o-horizontal-padding*2});
> .btn.oe_stat_button {
border: none;
background: none;
flex: 0 0 auto !important;
width: percentage(1/3) !important;
border-right: 1px solid $o-form-lightsecondary;
}
> .btn.o_button_more {
flex: 1 1 auto !important;
border-right: none;
}
> .o_dropdown_more {
flex: 0 0 auto !important;
width: percentage(1/3) !important;
}
&, & + .oe_avatar {
+ .oe_title {
width: 100%;
}
}
}
.oe_title {
width: 100% !important;
max-width: 100% !important;

17
muk_web_theme/static/src/scss/search_view.scss

@ -20,21 +20,28 @@
*
**********************************************************************************/
.o_modal_header {
.o_searchview, .o_pager {
display: inline-block;
}
.o_searchview {
padding: 0;
border: none;
width: 100%;
margin-bottom: 5px;
border-bottom: 1px solid $o-brand-secondary;
button {
background-color: $white;
border-color: $border-color;
color: $gray-600;
border: none;
}
.o_enable_searchview {
float: right;
}
.o_searchview_input_container {
border-bottom: 1px solid $o-brand-secondary;
}
}
.o_modal_header {
.o_searchview, .o_pager {
display: inline-block;
}
}

Loading…
Cancel
Save