
Instead of redefining font-weights, we override the BS variables and add one extra font-weight in the newly-introduced extended utilities file. After this change all the variables needed replacing and some tweaking was needed to get the same or closely similar result as before this change. By doing so the font-weight classes in the typography file were obsolete and hence removed. Some other font-weight issues which were already there have been fixed in this commit too.
24 lines
1.1 KiB
HTML
24 lines
1.1 KiB
HTML
<div class="o_main_header border-bottom d-flex align-items-center">
|
|
<div class="o_logo_wrapper">
|
|
<a href="{{ pathto(master_doc) }}" class="o_logo">
|
|
<img src="{{ pathto('_static/img/logos/odoo_logo.svg', 1) }}" height="20" alt="Odoo"/>
|
|
<span>docs</span>
|
|
</a>
|
|
</div>
|
|
<div class="d-flex flex-grow-1">
|
|
{%- include "layout_templates/searchbox.html" %}
|
|
<a class="btn btn-primary fw_bold ms-auto d-none d-lg-inline-block" href="https://odoo.com/trial">{{ _('Try Odoo for FREE') }}</a>
|
|
</div>
|
|
</div>
|
|
<div class="o_subheader border-bottom d-flex">
|
|
<div class="o_side_nav_toggler_wrapper border-end d-flex d-lg-none">
|
|
<button class="h-100 border-0" type="button" data-bs-toggle="collapse" data-bs-target="#o_menu" aria-label="Toggle navigation">
|
|
<i class="i-sidepanel"></i>
|
|
</button>
|
|
</div>
|
|
<div class="d-flex justify-content-end ms-auto">
|
|
{%- include "layout_templates/language_switcher.html" %}
|
|
{%- include "layout_templates/version_switcher.html" %}
|
|
</div>
|
|
</div>
|