ActionBar: Und nochmal Korrektur zu html Menü scrolling
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 20 Mar 2017 16:46:35 +0000 (17:46 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 20 Mar 2017 16:46:35 +0000 (17:46 +0100)
SL/Layout/MenuLeft.pm
css/kivitendo/menu.css
css/lx-office-erp/menu.css

index 054757f..25119fe 100644 (file)
@@ -26,7 +26,7 @@ sub javascripts {
 }
 
 sub pre_content {
-  "<div id='html-menu-container'><div id='html-menu'></div></div>\n";
+  "<div id='html-menu'></div>\n";
 }
 
 sub section_menu {
index 1573e4e..6674164 100644 (file)
@@ -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; }
index 20e0dd4..5eec39f 100644 (file)
@@ -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; }