Wenn das Parsen eines Templates fehlschlägt, dann die dazugehörige Fehlermeldung...
[kivitendo-erp.git] / css / menuv3.css
index e1618c6..5e5a93f 100644 (file)
@@ -3,18 +3,18 @@ behavior:url("css/csshover.htc");
 }\r
 \r
 #menu {\r
-width:100%;\r
+width:99.8%;\r
 float:left;\r
 background:url(../image/bg_css_menu.png) repeat bottom;\r
-border-width:1px 0 1px 1px;\r
-border-style:solid;\r
+border:1px solid;\r
 border-color:#ccc #888 #555 #bbb;\r
 }\r
 \r
 #menu a, #menu h2, #menu div.x {\r
 font:11px/16px arial,helvetica,sans-serif;\r
 display:block;\r
-border-width:0 1px 0 0;\r
+border:0;\r
+border-right:1px;\r
 border-style:solid;\r
 border-color:#ccc #888 #555 #bbb;\r
 white-space:nowrap;\r
@@ -24,28 +24,31 @@ padding:1px 0 1px 3px;
 \r
 #menu h2 {\r
 color:#fff;\r
-background:#000 url(../image/bg_css_menu.png) repeat bottom;\r
+padding:0 5px;\r
 }\r
 \r
-#menu a {\r
-background:#eee;\r
+#menu a, #menu a:visited, #menu div.x, #menu div.x:visited {\r
+color:#000;\r
 text-decoration:none;\r
-border-width:1px;\r
 padding-right:10px;\r
 }\r
 \r
-#menu a, #menu a:visited {\r
-color:#000;\r
+#menu a {\r
+background:#eee;\r
+}\r
+\r
+#menu div.x, #menu div.x:visited {\r
+background:#eee url(../image/right.gif) no-repeat right;\r
 }\r
 \r
-#menu a:hover {\r
+#menu a:hover, #menu div.x:hover {\r
 color:#a00;\r
-background:#ddd;\r
+background-color:#ddd;\r
 }\r
 \r
-#menu a:active {\r
+#menu a:active, #menu div.x:active {\r
 color:#060;\r
-background:#ccc;\r
+background-color:#ccc;\r
 }\r
 \r
 #menu ul {\r
@@ -58,18 +61,40 @@ min-width:7em;
 \r
 #menu li {\r
 position:relative;\r
+float:none;\r
+border:0;\r
+}\r
+\r
+/* IE6 spacing bug fix, <li>s without a bottom border get spaced to far \r
+ * correction: the bug will change the height of the parent element! this will also cause the whole menu to grow \r
+ * so the only method to get this pile of crap going is to add a bottom border to the <li>s, where the enclosing <ul> already has\r
+ * a bottom border, which just looks ugly\r
+ * the trick: color the bottom border with the same color as the bottom pixel of the background image - noone notices */\r
+#menu ul li {\r
+border:solid;\r
+border-color:#ccd5e5;\r
+border-width:0 0 1px 0;\r
+}\r
+\r
+#menu ul ul li {\r
+border:solid;\r
+border-width:0 0 1px 0;\r
 }\r
 \r
+/* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below \r
+ * causing the menu to close. Opera 9 has the same bug btw. */\r
 #menu ul ul {\r
 position:absolute;\r
 z-index:500;\r
 top:auto;\r
 display:none;\r
+background:#000;\r
 }\r
 \r
 #menu ul ul ul {\r
 top:0;\r
 left:100%;\r
+background:#000;\r
 }\r
 \r
 /* Begin non-anchor hover selectors */\r
@@ -81,7 +106,7 @@ improves IE's performance speed to use the older
 file and this method */\r
 \r
 div#menu h2:hover {\r
-background:#A3C5FF url(../image/expand3.gif) no-repeat -999px -9999px;\r
+background:#A3C5FF;\r
 color:#a00;\r
 }\r
 \r
@@ -104,39 +129,3 @@ div#menu li li li li:hover ul
 \r
 /* End of non-anchor hover selectors */\r
 \r
-/* Styling for Expand */\r
-\r
-#menu a.x, #menu a.x:visited {\r
-/*font-weight:bold;*/\r
-color:#000;\r
-background:#eee url(../image/right.gif) no-repeat right;\r
-border-width:1px;\r
-}\r
-\r
-#menu a.x:hover {\r
-color:#fff;\r
-background-color:#000;\r
-}\r
-\r
-#menu a.x:active {\r
-color:#060;\r
-background-color:#ccc;\r
-}\r
-\r
-#menu div.x, #menu div.x:visited {\r
-/*font-weight:bold;*/\r
-border-width:1px;\r
-color:#000;\r
-background:#eee url(../image/right.gif) no-repeat right;\r
-padding-right:10px;\r
-}\r
-\r
-#menu div.x:hover {\r
-color:#a00;\r
-background-color:#ddd;\r
-}\r
-\r
-#menu div.x:active {\r
-color:#060;\r
-background-color:#ccc;\r
-}\r