From 5a4ea2142cdaf6b20f90a37b97e162da84271eb5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 20 Mar 2017 17:46:35 +0100 Subject: [PATCH] =?utf8?q?ActionBar:=20Und=20nochmal=20Korrektur=20zu=20ht?= =?utf8?q?ml=20Men=C3=BC=20scrolling?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Layout/MenuLeft.pm | 2 +- css/kivitendo/menu.css | 12 ++++-------- css/lx-office-erp/menu.css | 14 +++++--------- 3 files changed, 10 insertions(+), 18 deletions(-) diff --git a/SL/Layout/MenuLeft.pm b/SL/Layout/MenuLeft.pm index 054757ffb..25119fed2 100644 --- a/SL/Layout/MenuLeft.pm +++ b/SL/Layout/MenuLeft.pm @@ -26,7 +26,7 @@ sub javascripts { } sub pre_content { - "
\n"; + "
\n"; } sub section_menu { diff --git a/css/kivitendo/menu.css b/css/kivitendo/menu.css index 1573e4eac..6674164f0 100644 --- a/css/kivitendo/menu.css +++ b/css/kivitendo/menu.css @@ -179,15 +179,11 @@ li.sub { each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer) and one mic (menu-item-chunk) indenting is done with the levels s0, s1, s2 */ -#html-menu-container { - position: fixed; - bottom: 0%; - top: 0%; -} - #html-menu { + position: fixed; overflow-y: scroll; - height: 100%; + overflow-x: hidden; + height: 95%; transition: margin-left 0.2s, width 0.2s; -moz-transition: margin-left 0.2s, width 0.2s; -webkit-transition: margin-left 0.2s, width 0.2s; @@ -196,7 +192,7 @@ li.sub { div.layout-split-right { margin-left: 190px; } div.layout-split-right.folded { margin-left: 40px } #html-menu.folded:hover + div.layout-split-right.folded { margin-left: 190px } -#html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; overflow:hidden; } +#html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; } #html-menu.folded { width: 32px; } #html-menu.folded:hover { width: 183px; } #html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; } diff --git a/css/lx-office-erp/menu.css b/css/lx-office-erp/menu.css index 20e0dd447..5eec39f84 100644 --- a/css/lx-office-erp/menu.css +++ b/css/lx-office-erp/menu.css @@ -181,25 +181,21 @@ div#menuv3 li li li li:hover ul each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer) and one mic (menu-item-chunk) indenting is done with the levels s0, s1, s2 */ -#html-menu-container { - position: fixed; - bottom: 0%; - top: 0%; -} - #html-menu { + position: fixed; overflow-y: scroll; - height: 100%; + overflow-x: hidden; + height: 95%; transition: margin-left 0.2s, width 0.2s; -moz-transition: margin-left 0.2s, width 0.2s; -webkit-transition: margin-left 0.2s, width 0.2s; -o-transition: margin-left 0.2s, width 0.2s; } -div.layout-split-right { margin-left: 190px; } +div.layout-split-right { margin-left: 190px; height: 100%; } div.layout-split-right.folded { margin-left: 40px } #html-menu.folded:hover + #content.layout-split-right.folded { margin-left: 190px } -#html-menu { float:left; width: 183px; font-size: 85%; margin-top: 10px; overflow:hidden; } +#html-menu { float:left; width: 183px; font-size: 85%; margin-top: 10px; } #html-menu.folded { width: 32px; } #html-menu.folded:hover { width: 183px; } #html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; } -- 2.20.1