diff --git a/addons/auth_totp/static/tests/totp_flow.js b/addons/auth_totp/static/tests/totp_flow.js index fd9badb6d82..416f85262b2 100644 --- a/addons/auth_totp/static/tests/totp_flow.js +++ b/addons/auth_totp/static/tests/totp_flow.js @@ -21,7 +21,7 @@ function openRoot() { function openUserProfileAtSecurityTab() { return [{ content: 'Open user account menu', - trigger: '.o_user_menu .oe_topbar_name', + trigger: '.o_user_menu .dropdown-toggle', run: 'click', }, { content: "Open preferences / profile screen", @@ -154,7 +154,7 @@ registry.category("web_tour.tours").add('totp_login_enabled', { } }, { content: "check we're logged in", - trigger: ".o_user_menu .oe_topbar_name", + trigger: ".o_user_menu .dropdown-toggle", run() {} }]}); @@ -191,7 +191,7 @@ registry.category("web_tour.tours").add('totp_login_device', { } }, { content: "check we're logged in", - trigger: ".o_user_menu .oe_topbar_name", + trigger: ".o_user_menu .dropdown-toggle", run: 'click', }, { content: "click the Log out button", @@ -212,7 +212,7 @@ registry.category("web_tour.tours").add('totp_login_device', { trigger: 'button:contains("Log in")', }, { content: "check we're logged in without 2FA", - trigger: ".o_user_menu .oe_topbar_name", + trigger: ".o_user_menu .dropdown-toggle", run() {} }, // now go and disable two-factor authentication would be annoying to do in a separate tour diff --git a/addons/hr/static/tests/tours/hr_employee_flow.js b/addons/hr/static/tests/tours/hr_employee_flow.js index bd1208b7179..cdfc8f39643 100644 --- a/addons/hr/static/tests/tours/hr_employee_flow.js +++ b/addons/hr/static/tests/tours/hr_employee_flow.js @@ -20,7 +20,7 @@ registry.category("web_tour.tours").add('hr_employee_tour', { }, { content: "Open user account menu", - trigger: ".o_user_menu .oe_topbar_name", + trigger: ".o_user_menu .dropdown-toggle", run: 'click', }, { content: "Open My Profile", diff --git a/addons/mail/static/src/web/activity/activity_menu.xml b/addons/mail/static/src/web/activity/activity_menu.xml index 491af0f9d97..ddda9dccaf2 100644 --- a/addons/mail/static/src/web/activity/activity_menu.xml +++ b/addons/mail/static/src/web/activity/activity_menu.xml @@ -5,7 +5,7 @@ - +
diff --git a/addons/mail/static/src/web/messaging_menu/messaging_menu.xml b/addons/mail/static/src/web/messaging_menu/messaging_menu.xml index c5ac62ab40a..84bcc98f3c0 100644 --- a/addons/mail/static/src/web/messaging_menu/messaging_menu.xml +++ b/addons/mail/static/src/web/messaging_menu/messaging_menu.xml @@ -5,7 +5,7 @@ - + diff --git a/addons/web/static/src/views/kanban/kanban_controller.scss b/addons/web/static/src/views/kanban/kanban_controller.scss index 880f14aa170..0a2b5cf11d3 100644 --- a/addons/web/static/src/views/kanban/kanban_controller.scss +++ b/addons/web/static/src/views/kanban/kanban_controller.scss @@ -1,3 +1,10 @@ +// ------- Kanban View ------- +.o_kanban_view { + @include media-breakpoint-down(md) { + --ControlPanel-border-bottom: none; + } +} + // ------- Kanban renderer ------- .o_kanban_renderer { // ---------------------------------------------------------------------------- @@ -587,7 +594,7 @@ margin: calc(var(--KanbanRecord-margin-v) * 0.5) var(--KanbanRecord-margin-h); @include media-breakpoint-down(md) { - margin: 0 0 -1px 0; + margin: 0 0 -1px 0 0 #{-$border-width}; flex-basis: 100%; } diff --git a/addons/web/static/src/webclient/burger_menu/burger_menu.scss b/addons/web/static/src/webclient/burger_menu/burger_menu.scss index 22eab2ffe23..f2cfe10e651 100644 --- a/addons/web/static/src/webclient/burger_menu/burger_menu.scss +++ b/addons/web/static/src/webclient/burger_menu/burger_menu.scss @@ -16,10 +16,11 @@ // ====== Top-Bar .o_burger_menu_topbar { - min-height: $o-navbar-height-xs; + min-height: $o-navbar-height; background-color: $o-burger-topbar-bg; color: $o-burger-topbar-color; - line-height: $o-navbar-height-xs; + line-height: $o-navbar-height; + box-shadow: inset 0 -1px 0 $border-color; .dropdown-toggle, .o_burger_menu_close { padding: 0 $o-horizontal-padding; @@ -28,15 +29,12 @@ // ====== Menu content container (both App's and User's entries) .o_burger_menu_content { - &.o_burger_menu_dark { - background-color: darken($o-burger-base-bg, 5%); + &.o_burger_menu_app { + background-color: $o-burger-base-bg; } // Menu entries size and layout ul { - background-color: rgba(invert($o-burger-base-color), .1); - box-shadow: inset 0 -1px 0 rgba($o-burger-base-color, .1); - li > div, li { padding-left: $o-horizontal-padding; } @@ -45,14 +43,18 @@ li { ul > li { &, > div { - text-indent: 2em; + text-indent: .5em; } ul > li { &, > div { - text-indent: 3em; + text-indent: 1em; } } } + + &:last-child { + margin-bottom: map-get($map: $spacers, $key: 2); + } } } diff --git a/addons/web/static/src/webclient/burger_menu/burger_menu.variables.scss b/addons/web/static/src/webclient/burger_menu/burger_menu.variables.scss index 9711b398434..be6bb703367 100644 --- a/addons/web/static/src/webclient/burger_menu/burger_menu.variables.scss +++ b/addons/web/static/src/webclient/burger_menu/burger_menu.variables.scss @@ -1,7 +1,7 @@ // = Burger Menu Variables // ============================================================================ -$o-burger-topbar-bg: $o-brand-odoo !default; -$o-burger-topbar-color: $o-white !default; +$o-burger-base-bg: $o-white !default; +$o-burger-base-color: $o-gray-800 !default; -$o-burger-base-bg: $o-burger-topbar-bg !default; -$o-burger-base-color: $o-burger-topbar-color !default; +$o-burger-topbar-bg: $o-gray-100 !default; +$o-burger-topbar-color: $o-gray-900 !default; \ No newline at end of file diff --git a/addons/web/static/src/webclient/burger_menu/burger_menu.xml b/addons/web/static/src/webclient/burger_menu/burger_menu.xml index 79a7c9edfe3..0aa68ce88b5 100644 --- a/addons/web/static/src/webclient/burger_menu/burger_menu.xml +++ b/addons/web/static/src/webclient/burger_menu/burger_menu.xml @@ -5,7 +5,7 @@