[FIX] website: restore "odoo" mega menu title underline's colors
Those were broken by the theme update for 17.0, in particular at [1]. Indeed the underline colors were defined using `text-XXX` classes to use the theme colors, relying on the fact that the default color of HR elements used the `currentColor`. Now they use the `currentColor` but very faded... making those underline colors uglier and for one of them, basically invisible. As a stable fix, this updates the XML to make the border use the `currentColor` as before in new mega menus... although they do not work as well in 17.0 as they did in 16.0. This will be reviewed in master to use better colors and a more reliable and beautiful way. [1]: https://github.com/odoo/odoo/commit/fad514ebdc25b9de03fd387a0c07dbbc274c364e closes odoo/odoo#163011 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg pt16 pb24">
|
||||
<h4 class="o_default_snippet_text text-uppercase h5 fw-bold mt-0">Computers & Devices</h4>
|
||||
<div class="s_hr text-start pt4 pb16 text-o-color-3">
|
||||
<div class="s_hr text-start pt4 pb16 text-o-color-3" style="--o-border-color: currentColor;">
|
||||
<hr class="w-100 mx-auto" style="border-top-width: 2px; border-top-style: solid;"/>
|
||||
</div>
|
||||
<nav class="nav flex-column">
|
||||
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
<div class="col-md-6 col-lg pt16 pb24">
|
||||
<h4 class="o_default_snippet_text text-uppercase h5 fw-bold mt-0">Monitors</h4>
|
||||
<div class="s_hr text-start pt4 pb16 text-o-color-1">
|
||||
<div class="s_hr text-start pt4 pb16 text-o-color-1" style="--o-border-color: currentColor;">
|
||||
<hr class="w-100 mx-auto" style="border-top-width: 2px; border-top-style: solid;"/>
|
||||
</div>
|
||||
<nav class="nav flex-column">
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
<div class="col-md-6 col-lg pt16 pb24">
|
||||
<h4 class="o_default_snippet_text text-uppercase h5 fw-bold mt-0">Electronics</h4>
|
||||
<div class="s_hr text-start pt4 pb16 text-o-color-2">
|
||||
<div class="s_hr text-start pt4 pb16 text-o-color-2" style="--o-border-color: currentColor;">
|
||||
<hr class="w-100 mx-auto" style="border-top-width: 2px; border-top-style: solid;"/>
|
||||
</div>
|
||||
<nav class="nav flex-column">
|
||||
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
<div class="col-md-6 col-lg pt16 pb24">
|
||||
<h4 class="o_default_snippet_text text-uppercase h5 fw-bold mt-0">Promotions</h4>
|
||||
<div class="s_hr text-start pt4 pb16 text-o-color-5">
|
||||
<div class="s_hr text-start pt4 pb16 text-o-color-5" style="--o-border-color: currentColor;">
|
||||
<hr class="w-100 mx-auto" style="border-top-width: 2px; border-top-style: solid;"/>
|
||||
</div>
|
||||
<nav class="nav flex-column">
|
||||
|
||||
Reference in New Issue
Block a user