From d662159f1539b2dc89dc74911ca3dbfa82ca2de2 Mon Sep 17 00:00:00 2001 From: Dennis Sluijk Date: Tue, 7 Mar 2017 22:24:48 +0100 Subject: [PATCH] [10.0][IMP][web_responsive] (#569) * [IMP] drawer-toggle * [IMP] Hitbox of close drawer-toggle * [IMP] Removed outline on menu item * [IMP] Logo positionings * [FIX] Try me on runbot button * [REM] Reversed outline change --- web_responsive/README.rst | 3 ++- web_responsive/static/src/less/app_drawer.less | 13 +++++++++---- web_responsive/static/src/less/navbar.less | 5 +++-- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/web_responsive/README.rst b/web_responsive/README.rst index f9cc7d3f..d675d038 100755 --- a/web_responsive/README.rst +++ b/web_responsive/README.rst @@ -35,7 +35,7 @@ The following keyboard shortcuts are implemented: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/154/10.0 + :target: https://runbot.odoo-community.org/runbot/162/10.0 Known issues / Roadmap ====================== @@ -75,6 +75,7 @@ Contributors * Dave Lasley * Jairo Llopis +* Dennis Sluijk Maintainer ---------- diff --git a/web_responsive/static/src/less/app_drawer.less b/web_responsive/static/src/less/app_drawer.less index f9b36179..cb2b79c1 100755 --- a/web_responsive/static/src/less/app_drawer.less +++ b/web_responsive/static/src/less/app_drawer.less @@ -18,16 +18,16 @@ } .oe_logo { + margin-top: -11px; + position: relative; img { - margin-top: -@app-drawer-navbar-padding-vertical * 2; height: @app-drawer-title-height; } .oe_logo_edit { position: absolute; - top: 1px; + bottom: 0px; width: 100%; padding: 4px; - margin: 14px 0; display: none; color: @odoo-list-footer-bg-color; background: rgba(37,37,37,0.9); @@ -51,7 +51,12 @@ } .app-drawer-panel-title { - margin-top: 5px; + line-height: 16px; + > .drawer-toggle { + padding-top: 17px; + padding-bottom: 17px; + cursor: pointer; + } } .app-drawer-icon-app { diff --git a/web_responsive/static/src/less/navbar.less b/web_responsive/static/src/less/navbar.less index 732e0213..de8a4839 100755 --- a/web_responsive/static/src/less/navbar.less +++ b/web_responsive/static/src/less/navbar.less @@ -94,9 +94,10 @@ header { > .drawer-toggle, .navbar-toggle { margin: 0; padding: 0; - border: 1px solid @nav-tabs-active-link-hover-border-color; + border: 0px; + border-radius: 0px; > i.fa, div.fa { - padding: 16px 14px 15px; + padding: 17px 14px 16px; } } }