From 89c9d6e76dc7f71c89220e7a75babeea0a40c6c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=2E=20D=C3=ADaz?= Date: Wed, 24 Nov 2021 13:54:39 +0300 Subject: [PATCH] [IMP] web_responsive: Adapt label width --- web_responsive/README.rst | 6 ++++ web_responsive/__manifest__.py | 6 ++-- web_responsive/readme/DESCRIPTION.rst | 6 ++++ web_responsive/static/description/index.html | 4 +++ .../static/img/label_size_large.png | Bin 0 -> 18332 bytes .../static/img/label_size_small.png | Bin 0 -> 17924 bytes .../{css => scss}/kanban_view_mobile.scss | 0 .../legacy/{css => scss}/web_responsive.scss | 33 ++++++++++++++++++ .../{css => scss}/website_apps_menu.scss | 0 9 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 web_responsive/static/img/label_size_large.png create mode 100644 web_responsive/static/img/label_size_small.png rename web_responsive/static/src/legacy/{css => scss}/kanban_view_mobile.scss (100%) rename web_responsive/static/src/legacy/{css => scss}/web_responsive.scss (92%) rename web_responsive/static/src/legacy/{css => scss}/website_apps_menu.scss (100%) diff --git a/web_responsive/README.rst b/web_responsive/README.rst index b0a52c29b..6f768be37 100644 --- a/web_responsive/README.rst +++ b/web_responsive/README.rst @@ -37,6 +37,12 @@ Features for all devices: .. image:: https://user-images.githubusercontent.com/973709/48417213-17576600-e74a-11e8-846a-57691e82636b.gif +* Increase the size of the labels in extra large screens + + .. image:: https://raw.githubusercontent.com/OCA/web/14.0/web_responsive/static/img/label_size_small.png + + .. image:: https://raw.githubusercontent.com/OCA/web/14.0/web_responsive/static/img/label_size_large.png + Features for mobile: * App-specific submenus are shown on full screen when toggling them from the diff --git a/web_responsive/__manifest__.py b/web_responsive/__manifest__.py index 5c4a8d7c7..a35a70f7c 100644 --- a/web_responsive/__manifest__.py +++ b/web_responsive/__manifest__.py @@ -20,12 +20,12 @@ "assets": { "web.assets_frontend": [ "/web_responsive/static/src/legacy/js/website_apps_menu.js", - "/web_responsive/static/src/legacy/css/website_apps_menu.scss", + "/web_responsive/static/src/legacy/scss/website_apps_menu.scss", ], "web.assets_backend": [ - "/web_responsive/static/src/legacy/css/web_responsive.scss", + "/web_responsive/static/src/legacy/scss/web_responsive.scss", "/web_responsive/static/src/legacy/js/web_responsive.js", - "/web_responsive/static/src/legacy/css/kanban_view_mobile.scss", + "/web_responsive/static/src/legacy/scss/kanban_view_mobile.scss", "/web_responsive/static/src/legacy/js/kanban_renderer_mobile.js", "/web_responsive/static/src/components/ui_context.esm.js", "/web_responsive/static/src/components/apps_menu/apps_menu.scss", diff --git a/web_responsive/readme/DESCRIPTION.rst b/web_responsive/readme/DESCRIPTION.rst index 8914bdef3..e4b6960d7 100644 --- a/web_responsive/readme/DESCRIPTION.rst +++ b/web_responsive/readme/DESCRIPTION.rst @@ -22,6 +22,12 @@ This module adds responsiveness to web backend. .. image:: ../static/img/listview.gif +* Increase the size of the labels in extra large screens + + .. image:: ../static/img/label_size_small.png + + .. image:: ../static/img/label_size_large.png + **Features for mobile**: * App-specific submenus are shown on full screen when toggling them from the diff --git a/web_responsive/static/description/index.html b/web_responsive/static/description/index.html index 51c31b9af..36870a90c 100644 --- a/web_responsive/static/description/index.html +++ b/web_responsive/static/description/index.html @@ -377,6 +377,10 @@ ul.auto-toc {
  • Quick menu search from the app drawer

    https://user-images.githubusercontent.com/973709/48417213-17576600-e74a-11e8-846a-57691e82636b.gif
  • +
  • Increase the size of the labels in extra large screens

    +https://raw.githubusercontent.com/OCA/web/14.0/web_responsive/static/img/label_size_small.png +https://raw.githubusercontent.com/OCA/web/14.0/web_responsive/static/img/label_size_large.png +
  • Features for mobile: