From 167e5a87e189c3345680e40d570e7f39a8a42fb6 Mon Sep 17 00:00:00 2001 From: hoellen Date: Sun, 14 Apr 2019 11:33:17 +0200 Subject: [PATCH] add sidebar toggle button --- core/admin/mailu/ui/static/app.css | 12 ++++++++++++ core/admin/mailu/ui/templates/base.html | 13 +++++++++---- core/admin/mailu/ui/templates/sidebar.html | 2 +- towncrier/newsfragments/988.feature | 1 + 4 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 towncrier/newsfragments/988.feature diff --git a/core/admin/mailu/ui/static/app.css b/core/admin/mailu/ui/static/app.css index 532e715b..e1656429 100644 --- a/core/admin/mailu/ui/static/app.css +++ b/core/admin/mailu/ui/static/app.css @@ -8,3 +8,15 @@ overflow: hidden; text-overflow: ellipsis; } + +.sidebar-collapse .sidebar h4 { + display: none !important; +} + +.logo a { + color: #fff; +} + +.sidebar-toggle { + padding: unset !important; +} diff --git a/core/admin/mailu/ui/templates/base.html b/core/admin/mailu/ui/templates/base.html index c27776e2..9060c43a 100644 --- a/core/admin/mailu/ui/templates/base.html +++ b/core/admin/mailu/ui/templates/base.html @@ -23,7 +23,7 @@ {% block scripts %} {{super()}} - + {% endblock %} {% endblock %} @@ -35,9 +35,14 @@ class="hold-transition skin-blue sidebar-mini"
{% block navbar %}
- +