X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=css%2Flx-office-erp%2Fmenu.css;h=156c57f80bc8831953c4ea0524501ac3cf8f9529;hb=f70c8fa479417e7c20108a23c18c0c6e5e683c6a;hp=812999ae1643889e6c16b42e279026d7c9f55772;hpb=c81261101682106fb5aa240acdaa61c48a7f3363;p=kivitendo-erp.git
diff --git a/css/lx-office-erp/menu.css b/css/lx-office-erp/menu.css
index 812999ae1..156c57f80 100644
--- a/css/lx-office-erp/menu.css
+++ b/css/lx-office-erp/menu.css
@@ -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,20 +21,46 @@ body.menunew {
margin:0px;
}
-body {
-behavior:url("csshover.htc");
+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;
@@ -50,8 +72,8 @@ padding:1px 0 1px 3px;
}
#menuv3 h2 {
-color:#fff;
-padding:0 5px;
+color: black;
+padding:2px 10px;
}
#menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited {
@@ -63,19 +85,19 @@ padding-right:10px;
#menuv3 a {
background:#eee;
}
-
#menuv3 div.x, #menuv3 div.x:visited {
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 {
@@ -83,13 +105,13 @@ list-style:none;
margin:0;
padding:0;
float:left;
-min-width:7em;
}
#menuv3 li {
position:relative;
float:none;
border:0;
+border-width:0 0 1px 0;
}
/* IE6 spacing bug fix,
s without a bottom border get spaced to far
@@ -112,16 +134,13 @@ 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;
-background:#000;
}
#menuv3 ul ul ul {
top:0;
-left:100%;
-background:#000;
+left:90%;
}
/* Begin non-anchor hover selectors */
@@ -133,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,
@@ -156,151 +174,33 @@ div#menuv3 li li li li:hover ul
/* End of non-anchor hover selectors */
-#menuv4 {
-width:99.8%;
-float:left;
-background:url(../../image/bg_css_menu.png) repeat bottom;
-border:1px solid;
-border-color:#ccc #888 #555 #bbb;
-}
-
-#menuv4 a, #menuv4 h2, #menuv4 div.x {
-font:11px/16px arial,helvetica,sans-serif;
-display:block;
-border:0;
-border-right:1px;
-border-style:solid;
-border-color:#ccc #888 #555 #bbb;
-white-space:nowrap;
-margin:0;
-padding:1px 0 1px 3px;
-}
-
-#menuv4 h2:before {
- content:" ";
-}
-#menuv4 h2:after {
- content:" ";
-}
-#menuv4 h2 {
-color:#fff;
-padding:2px 10px;
-}
-
-#menuv4 a, #menuv4 a:visited, #menuv4 div.x, #menuv4 div.x:visited {
-color:#000;
-text-decoration:none;
-padding-right:10px;
-}
-
-#menuv4 a {
-background:#eee;
-}
-#menuv4 div.x, #menuv4 div.x:visited {
-background:#eee url(../../image/right.gif) no-repeat right;
-}
-
-#menuv4 a:hover, #menuv4 div.x:hover {
-color:#a00;
-background-color:#ddd;
-}
-
-#menuv4 a:active, #menuv4 div.x:active {
-color:#060;
-background-color:#ccc;
-}
-
-#menuv4 ul {
-list-style:none;
-margin:0;
-padding:0;
-float:left;
-}
-
-#menuv4 li {
-position:relative;
-float:none;
-border:0;
-}
-
-#menuv4 li.sub {
-left:-25px;
-top:-3px;
-}
-
-/* IE6 spacing bug fix, s without a bottom border get spaced to far
- * correction: the bug will change the height of the parent element! this will also cause the whole menu to grow
- * so the only method to get this pile of crap going is to add a bottom border to the s, where the enclosing already has
- * a bottom border, which just looks ugly
- * the trick: color the bottom border with the same color as the bottom pixel of the background image - noone notices */
-#menuv4 ul li {
-border:solid;
-border-color:#ccd5e5;
-border-width:0 0 1px 0;
-}
-
-#menuv4 ul ul li {
-border:solid;
-border-width:0 0 1px 0;
-}
-
-/* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below
- * causing the menu to close. Opera 9 has the same bug btw. */
-#menuv4 ul ul {
-position:absolute;
-z-index:500;
-top:auto;
-display:none;
-}
-
-#menuv4 ul ul ul {
-top:0;
-left:100%;
-}
-
-/* Begin non-anchor hover selectors */
-
-/* Enter the more specific element (div) selector
-on non-anchor hovers for IE5.x to comply with the
-older version of csshover.htc - V1.21.041022. It
-improves IE's performance speed to use the older
-file and this method */
-
-div#menuv4 h2:hover {
-background:#A3C5FF;
-color:#a00;
-}
-
-div#menuv4 li:hover {
-cursor:pointer;
-z-index:100;
-}
-
-div#menuv4 li:hover ul ul,
-div#menuv4 li li:hover ul ul,
-div#menuv4 li li li:hover ul ul,
-div#menuv4 li li li li:hover ul ul
-{display:none;}
-
-div#menuv4 li:hover ul,
-div#menuv4 li li:hover ul,
-div#menuv4 li li li:hover ul,
-div#menuv4 li li li li:hover ul
-{display:block; left:10px;}
-
-/* End of non-anchor hover selectors */
-
/* html menu */
/* types of lines: m sm i (menu submenu item)
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 { float:left; width: 183px; font-size: 8pt }
+#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;
+}
+
+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; }
#html-menu div.sm { font-weight: bold }
#html-menu img { vertical-align: top; border: 0; }
#html-menu a { vertical-align: top }
-#html-menu .i span.ms { float: left; width: 24px }
+#html-menu .i span.ms { float: left; width: 24px; margin-bottom: 4px; }
#html-menu .m span.ms { float: left; width: 32px }
#html-menu .sm span.ms { float: left; width: 24px; background: url(../../image/unterpunkt.png); }
#html-menu div.m { height: 24px }
@@ -313,6 +213,12 @@ div#menuv4 li li li li:hover ul
#html-menu div.s1 { padding-left: 8px }
#html-menu div.s2 { padding-left: 16px }
-#content { margin-left: 190px }
-
body { margin: 0 }
+
+
+@media print {
+ #menuv3, #html-menu, #frame-header, #main_menu_div, #js-header { /* items with this class won't print */
+ display: none;
+ }
+ #content.html-menu { margin-left: 0; }
+}