Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / css / lx-office-erp / menu.css
index 5ebbd85..156c57f 100644 (file)
@@ -1,23 +1,19 @@
 
 body.menu {
-  background-image: url("../../image/fade.png");background-repeat:repeat-x;
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  font-size:8pt;
+  font-size: 80%;
   color: black;
 }
 
 table.menunew {
   border: 0;
   width: 100%;
-  background-image: url("../../image/bg_titel.gif");
+  background-color: #f0efde;
   border-spacing: 0;
 }
 
 table.menunew td {
   padding: 0;
-  color:white;
-  font-family: Verdana, Arial, sans-serif;
-  font-size: 12px;
+  color:black;
 }
 
 body.menunew {
@@ -25,16 +21,46 @@ body.menunew {
   margin:0px;
 }
 
+div.layout-actionbar ~ #content {
+  padding-top: 32px;
+}
+
+#main_menu_div {
+  background-color: #d0cfc9
+}
+
+#main_menu_div ~ div.layout-actionbar {
+  top: 45px;
+}
+
+#main_menu_div ~ #content {
+  padding-top: 25px;
+}
+#main_menu_div ~ div.layout-actionbar ~ #content {
+  padding-top: 54px;
+}
+
 #menuv3 {
-width:99.8%;
-float:left;
-background:url(../../image/bg_css_menu.png) repeat bottom;
-border:1px solid;
-border-color:#ccc #888 #555 #bbb;
+  width: 100%;
+  position: fixed;
+  background-color: #d0cfc9;
+  border-color:#ccc #888 #555 #bbb;
+  z-index: 30;
+}
+
+#menuv3 ~ div.layout-actionbar {
+  top: 40px;
+}
+#menuv3  ~ #content {
+  padding-top: 35px;
+}
+#menuv3 ~ div.layout-actionbar ~ #content {
+  padding-top: 64px;
 }
 
 #menuv3 a, #menuv3 h2, #menuv3 div.x {
-font:11px/16px arial,helvetica,sans-serif;
+font-size:13px;
+font-weight: normal;
 display:block;
 border:0;
 border-right:1px;
@@ -46,7 +72,7 @@ padding:1px 0 1px 3px;
 }
 
 #menuv3 h2 {
-color:#fff;
+color: black;
 padding:2px 10px;
 }
 
@@ -64,13 +90,14 @@ background:#eee url(../../image/right.gif) no-repeat right;
 }
 
 #menuv3 a:hover, #menuv3 div.x:hover {
-color:#a00;
-background-color:#ddd;
+/*color:#a00;
+background-color:#ddd;*/
+  background-color: #c6c39b;
 }
 
 #menuv3 a:active, #menuv3 div.x:active {
-color:#060;
-background-color:#ccc;
+color:#000;
+background-color:#c6c39b;
 }
 
 #menuv3 ul {
@@ -84,6 +111,7 @@ float:left;
 position:relative;
 float:none;
 border:0;
+border-width:0 0 1px 0;
 }
 
 /* IE6 spacing bug fix, <li>s without a bottom border get spaced to far
@@ -106,8 +134,7 @@ border-width:0 0 1px 0;
  * causing the menu to close. Opera 9 has the same bug btw. */
 #menuv3 ul ul {
 position:absolute;
-z-index:500;
-top:auto;
+z-index: 500;
 display:none;
 }
 
@@ -125,13 +152,12 @@ improves IE's performance speed to use the older
 file and this method */
 
 div#menuv3 h2:hover {
-background:#A3C5FF;
-color:#a00;
+background:#c6c39b;
+color:#000;
 }
 
 div#menuv3 li:hover {
 cursor:pointer;
-z-index:100;
 }
 
 div#menuv3 li:hover ul ul,
@@ -153,16 +179,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 */
-#content.html-menu, #html-menu {
+#html-menu {
+  position: fixed;
+  overflow-y: scroll;
+  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;
 }
-#content.html-menu { margin-left: 190px; }
-#content.html-menu.folded { margin-left: 40px }
-#html-menu.folded:hover + #content.html-menu.folded { margin-left: 190px }
-#html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; overflow:hidden; }
+
+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; }
 #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; }