From 7bf7fc49b73622797d7ea4f56d454e621320186c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 24 Jan 2017 17:36:46 +0100 Subject: UI: short menu don't hide the main content --- ishtar_common/static/media/style.css | 12 +++++++++--- ishtar_common/templates/base.html | 2 +- version.py | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css index b1939eaf0..e64dd1441 100644 --- a/ishtar_common/static/media/style.css +++ b/ishtar_common/static/media/style.css @@ -358,7 +358,7 @@ div#header{ position: fixed; top: 0; z-index: 10; - width:100%; + width: 400px; text-align:left; font-size: 0.9em; background-color: #EAEAEA; @@ -488,10 +488,16 @@ div#context_menu fieldset{ -webkit-border-radius: 0; border-radius: 0; position: fixed; - top: 40px; + top: 8px; right: 10px; } +@media screen and (max-width: 680px) { + div#context_menu fieldset{ + display: none; + } +} + div#action_current_items{ display: inline-block; vertical-align: top; @@ -605,7 +611,7 @@ div#welcome{ div#content{ clear:both; - margin-top:205px ; + margin-top:225px ; margin-bottom: 70px; margin-left: 200px; margin-right: 150px; diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html index 3136e7249..870409e41 100644 --- a/ishtar_common/templates/base.html +++ b/ishtar_common/templates/base.html @@ -56,7 +56,7 @@
{% csrf_token %} - + {% comment %}{% endcomment %}