[FIX] lunch: use bg-view to correctly handle dark-mode

In order to correctly handle dark-mode (https://github.com/odoo/odoo/pull/99755) elements
that match views bg-color should use `bg-view` class.

task-3012970

X-original-commit: 4292ac903209fc7af9a3e4e6a6abd512831e792a
Part-of: odoo/odoo#103118
This commit is contained in:
stefanorigano (SRI)
2022-10-12 11:29:54 +02:00
parent 2088edaccb
commit 8acfa3c3c5
@@ -70,7 +70,7 @@
<t t-name="lunch.LunchDashboardOrder" owl="1">
<LunchAlerts alerts="state.infos.alerts"/>
<div class="o_lunch_banner container-fluid p-4 border-bottom bg-white">
<div class="o_lunch_banner container-fluid p-4 border-bottom bg-view">
<div class="row h-100">
<div class="col-12 col-md-4">
<div class="row h-100 align-content-center">
@@ -124,7 +124,7 @@
<t t-call="lunch.LunchDashboardOrder"/>
</t>
<t t-else="">
<details class="fixed-bottom bg-white p-2" t-att-open="state.mobileOpen">
<details class="fixed-bottom bg-view p-2" t-att-open="state.mobileOpen">
<summary class="btn btn-primary w-100" t-on-click="() => state.mobileOpen = !state.mobileOpen">
<i class="fa fa-fw fa-shopping-cart"/>
Your Cart (<LunchCurrency currency="currency" amount="state.infos.total || 0"/>)