From 21b1bf81b9d673bf5361657b2c49d7f3b05b2125 Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Thu, 29 Dec 2022 10:42:36 +0100 Subject: [PATCH] [IMP][CSS] Use BS font-weight variables and fix 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. --- .../odoo_theme/layout_templates/header.html | 2 +- .../odoo_theme/layout_templates/homepage.html | 8 ++-- .../odoo_theme/static/scss/_mixins.scss | 6 +-- .../odoo_theme/static/scss/_typography.scss | 44 ++----------------- .../static/scss/_utilities_extended.scss | 16 +++++++ .../odoo_theme/static/scss/_variables.scss | 10 +---- .../static/scss/bootstrap_overridden.scss | 4 +- extensions/odoo_theme/static/style.scss | 40 ++++++++--------- 8 files changed, 50 insertions(+), 80 deletions(-) create mode 100644 extensions/odoo_theme/static/scss/_utilities_extended.scss diff --git a/extensions/odoo_theme/layout_templates/header.html b/extensions/odoo_theme/layout_templates/header.html index 1fd61669a..f04d9664a 100644 --- a/extensions/odoo_theme/layout_templates/header.html +++ b/extensions/odoo_theme/layout_templates/header.html @@ -7,7 +7,7 @@
{%- include "layout_templates/searchbox.html" %} - {{ _('Try Odoo for FREE') }} + {{ _('Try Odoo for FREE') }}
diff --git a/extensions/odoo_theme/layout_templates/homepage.html b/extensions/odoo_theme/layout_templates/homepage.html index b6631c478..747786607 100644 --- a/extensions/odoo_theme/layout_templates/homepage.html +++ b/extensions/odoo_theme/layout_templates/homepage.html @@ -7,7 +7,7 @@

{{ _("User Docs") }}

{{ _("Discover our guide to help you use and configure the platform, by applications.") }}

-
{{ _("Top Apps") }}
+
{{ _("Top Apps") }}