[FIX] website: use automatic color for transparent navbars
When enabling a transparent navbar on a specific page, the user can then choose a bg color (class) to apply on the transparent navbar. That class comes with an automatic text color... which was not correctly working because BS4 overrides colors for nav-links. Part of https://github.com/odoo/odoo/pull/45351 task-2151408 closes odoo/odoo#47896 X-original-commit: 2937358b63c23bd7e34da713ab4236fa340be0a9 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -744,16 +744,15 @@ table.table_desc tr td {
|
||||
> .navbar {
|
||||
background-color: transparent !important;
|
||||
border-color: transparent;
|
||||
color: inherit;
|
||||
|
||||
.nav-item {
|
||||
> .nav-link {
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
}
|
||||
&.show, &.active {
|
||||
> .nav-link {
|
||||
background-color: white;
|
||||
color: black;
|
||||
|
||||
&.active {
|
||||
font-weight: bolder;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user