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. 38
      muk_web_theme/static/src/scss/control_panel.scss
  3. 39
      muk_web_theme/static/src/scss/form_view.scss
  4. 31
      muk_web_theme/static/src/scss/search_view.scss

2
muk_web_theme/__manifest__.py

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

38
muk_web_theme/static/src/scss/control_panel.scss

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

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

@ -40,15 +40,6 @@
.btn.oe_stat_button > .o_button_icon { .btn.oe_stat_button > .o_button_icon {
color: $o-brand-odoo; 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 { .oe_title {
max-width: 100%; max-width: 100%;
@ -129,36 +120,6 @@
} }
} }
@include media-breakpoint-down(xs) { @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 { .oe_title {
width: 100% !important; width: 100% !important;
max-width: 100% !important; max-width: 100% !important;

31
muk_web_theme/static/src/scss/search_view.scss

@ -20,22 +20,29 @@
* *
**********************************************************************************/ **********************************************************************************/
.o_searchview {
padding: 0;
border: none;
width: 100%;
margin-bottom: 5px;
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_modal_header {
.o_searchview, .o_pager { .o_searchview, .o_pager {
display: inline-block; 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;
}
}
} }
@include media-breakpoint-between(sm, lg, $o-extra-grid-breakpoints) { @include media-breakpoint-between(sm, lg, $o-extra-grid-breakpoints) {

Loading…
Cancel
Save