[IMP] odoo_theme: change collapsing menu orientation

task-2800937

X-original-commit: dee96ad2da
This commit is contained in:
Elisabeth Dickinson 2022-06-13 16:32:10 +02:00 committed by Antoine Vandevenne (anv)
parent e0a4defc84
commit 1b8d66916a

View File

@ -181,8 +181,7 @@ header {
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
position: fixed; position: fixed;
top: -100%; left: -100%;
left:0;
@include o-transition(all, .3s); @include o-transition(all, .3s);
padding-left: $padding-s; padding-left: $padding-s;
background-color: lighten($o-violet-dark, 70%) ; background-color: lighten($o-violet-dark, 70%) ;
@ -192,8 +191,8 @@ header {
font-weight: $fw_regular; font-weight: $fw_regular;
@include media-breakpoint-up(lg) { @include media-breakpoint-up(lg) {
width: calc(#{$o-side-nav-width} - 1rem); width: calc(#{$o-side-nav-width} - 1rem);
height: calc(100vh - #{$o-header-height}); height: calc(100vh - #{$o-headers-height});
top: $o-header-height; left: 0;
padding-top: $padding-m; padding-top: $padding-m;
padding-left: $padding-m; padding-left: $padding-m;
} }
@ -202,7 +201,7 @@ header {
} }
&.show { &.show {
top: $o-header-mobile-height; left: 0;
} }
.toctree-l1 { .toctree-l1 {