From f5f1d77b0dd1c4f6359098e3f25f8109cc4356fa Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Wed, 31 Mar 2021 15:11:41 +0200 Subject: [PATCH] mobile fixes --- extensions/odoo_theme/layout.html | 14 +-- .../odoo_theme/layout_templates/footer.html | 12 +-- .../odoo_theme/layout_templates/header.html | 2 +- .../layout_templates/searchbox.html | 4 +- .../scss/bootstrap_scss/_variables.scss | 2 +- extensions/odoo_theme/static/style.scss | 89 ++++++++++++------- 6 files changed, 73 insertions(+), 50 deletions(-) diff --git a/extensions/odoo_theme/layout.html b/extensions/odoo_theme/layout.html index 20ea54d08..925f86eaa 100644 --- a/extensions/odoo_theme/layout.html +++ b/extensions/odoo_theme/layout.html @@ -63,18 +63,16 @@ -
+ {% endblock %} {% block content %}
- {% set main_classes = [] %} {% if pagename == master_doc %} {# The current page is the homepage #} {% set main_classes = main_classes + ['index'] %} {# TODO EDI should be 'o_index' #} @@ -91,7 +89,9 @@ {% if 'hide_page_toc' in meta %} {% set main_classes = main_classes + ['o_fullwidth_page'] %} {% endif %} - +
+ {% include "layout_templates/searchbox.html" %} +
{% if pagename == master_doc %} {# Custom landing page on the root of the documentation #} diff --git a/extensions/odoo_theme/layout_templates/footer.html b/extensions/odoo_theme/layout_templates/footer.html index 612c2348c..9cb6e704d 100644 --- a/extensions/odoo_theme/layout_templates/footer.html +++ b/extensions/odoo_theme/layout_templates/footer.html @@ -1,14 +1,14 @@ -
+
- diff --git a/extensions/odoo_theme/layout_templates/header.html b/extensions/odoo_theme/layout_templates/header.html index daa99c41e..25414eef2 100644 --- a/extensions/odoo_theme/layout_templates/header.html +++ b/extensions/odoo_theme/layout_templates/header.html @@ -1,7 +1,7 @@ diff --git a/extensions/odoo_theme/layout_templates/searchbox.html b/extensions/odoo_theme/layout_templates/searchbox.html index 03151214b..143a47e37 100644 --- a/extensions/odoo_theme/layout_templates/searchbox.html +++ b/extensions/odoo_theme/layout_templates/searchbox.html @@ -1,4 +1,4 @@ -