Skip to content
Permalink
Browse files

[FIX] website, *: force website UI dropdown style

* web_editor

The purpose is to force our dropdown style in our UI so that themes do
not break it anymore (same way all the other elements are forced (cards,
headings, etc)).

task-2059538

X-original-commit: 4ef0eac
Co-authored-by: qsm-odoo <qsm@odoo.com>
  • Loading branch information...
2 people authored and fw-bot committed Sep 23, 2019
1 parent 3b4a0e8 commit a8d8047747009160e5b4513e7f9fda5f27835cd5
@@ -260,6 +260,24 @@ $o-we-toolbar-height: 32px;
}
}

@mixin o-w-preserve-dropdown-menus {
.dropdown-menu {
background-color: white;
}
.dropdown-item {
color: #212529;

@include hover-focus {
color: darken(#212529, 5%);
}
&.active,
&:active {
color: white;
@include gradient-bg($o-brand-primary);
}
}
}

// Edition colors

// Colors
@@ -15,6 +15,7 @@ body.o_connected_user {

// MAIN MENU STYLE (added above navbar.scss)
#oe_main_menu_navbar {
@include o-w-preserve-dropdown-menus;
@include o-position-absolute(0, 0, auto, 0);
position: fixed;
z-index: $zindex-modal - 10;
@@ -97,6 +98,7 @@ body.o_connected_user {
body .modal {
&.o_technical_modal {
@include o-w-preserve-base;
@include o-w-preserve-dropdown-menus;
@include o-w-preserve-headings;
@include o-w-preserve-forms;
@include o-w-preserve-links;

0 comments on commit a8d8047

Please sign in to comment.
You can’t perform that action at this time.