5ebbd85c1af9a80b97becec7443a944d4d557e81
[kivitendo-erp.git] / css / lx-office-erp / menu.css
1
2 body.menu {
3   background-image: url("../../image/fade.png");background-repeat:repeat-x;
4   font-family: Verdana, Arial, Helvetica, sans-serif;
5   font-size:8pt;
6   color: black;
7 }
8
9 table.menunew {
10   border: 0;
11   width: 100%;
12   background-image: url("../../image/bg_titel.gif");
13   border-spacing: 0;
14 }
15
16 table.menunew td {
17   padding: 0;
18   color:white;
19   font-family: Verdana, Arial, sans-serif;
20   font-size: 12px;
21 }
22
23 body.menunew {
24   padding:0px;
25   margin:0px;
26 }
27
28 #menuv3 {
29 width:99.8%;
30 float:left;
31 background:url(../../image/bg_css_menu.png) repeat bottom;
32 border:1px solid;
33 border-color:#ccc #888 #555 #bbb;
34 }
35
36 #menuv3 a, #menuv3 h2, #menuv3 div.x {
37 font:11px/16px arial,helvetica,sans-serif;
38 display:block;
39 border:0;
40 border-right:1px;
41 border-style:solid;
42 border-color:#ccc #888 #555 #bbb;
43 white-space:nowrap;
44 margin:0;
45 padding:1px 0 1px 3px;
46 }
47
48 #menuv3 h2 {
49 color:#fff;
50 padding:2px 10px;
51 }
52
53 #menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited {
54 color:#000;
55 text-decoration:none;
56 padding-right:10px;
57 }
58
59 #menuv3 a {
60 background:#eee;
61 }
62 #menuv3 div.x, #menuv3 div.x:visited {
63 background:#eee url(../../image/right.gif) no-repeat right;
64 }
65
66 #menuv3 a:hover, #menuv3 div.x:hover {
67 color:#a00;
68 background-color:#ddd;
69 }
70
71 #menuv3 a:active, #menuv3 div.x:active {
72 color:#060;
73 background-color:#ccc;
74 }
75
76 #menuv3 ul {
77 list-style:none;
78 margin:0;
79 padding:0;
80 float:left;
81 }
82
83 #menuv3 li {
84 position:relative;
85 float:none;
86 border:0;
87 }
88
89 /* IE6 spacing bug fix, <li>s without a bottom border get spaced to far
90  * correction: the bug will change the height of the parent element! this will also cause the whole menu to grow
91  * 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
92  * a bottom border, which just looks ugly
93  * the trick: color the bottom border with the same color as the bottom pixel of the background image - noone notices */
94 #menuv3 ul li {
95 border:solid;
96 border-color:#ccd5e5;
97 border-width:0 0 1px 0;
98 }
99
100 #menuv3 ul ul li {
101 border:solid;
102 border-width:0 0 1px 0;
103 }
104
105 /* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below
106  * causing the menu to close. Opera 9 has the same bug btw. */
107 #menuv3 ul ul {
108 position:absolute;
109 z-index:500;
110 top:auto;
111 display:none;
112 }
113
114 #menuv3 ul ul ul {
115 top:0;
116 left:90%;
117 }
118
119 /* Begin non-anchor hover selectors */
120
121 /* Enter the more specific element (div) selector
122 on non-anchor hovers for IE5.x to comply with the
123 older version of csshover.htc - V1.21.041022. It
124 improves IE's performance speed to use the older
125 file and this method */
126
127 div#menuv3 h2:hover {
128 background:#A3C5FF;
129 color:#a00;
130 }
131
132 div#menuv3 li:hover {
133 cursor:pointer;
134 z-index:100;
135 }
136
137 div#menuv3 li:hover ul ul,
138 div#menuv3 li li:hover ul ul,
139 div#menuv3 li li li:hover ul ul,
140 div#menuv3 li li li li:hover ul ul
141 {display:none;}
142
143 div#menuv3 li:hover ul,
144 div#menuv3 li li:hover ul,
145 div#menuv3 li li li:hover ul,
146 div#menuv3 li li li li:hover ul
147 {display:block;}
148
149 /* End of non-anchor hover selectors */
150
151 /* html menu */
152 /* types of lines: m sm i (menu submenu item)
153    each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer)
154    and one mic (menu-item-chunk)
155    indenting is done with the levels s0, s1, s2 */
156 #content.html-menu, #html-menu {
157   transition:         margin-left 0.2s, width 0.2s;
158   -moz-transition:    margin-left 0.2s, width 0.2s;
159   -webkit-transition: margin-left 0.2s, width 0.2s;
160   -o-transition:      margin-left 0.2s, width 0.2s;
161 }
162 #content.html-menu { margin-left: 190px; }
163 #content.html-menu.folded { margin-left: 40px }
164 #html-menu.folded:hover + #content.html-menu.folded { margin-left: 190px }
165 #html-menu { float:left; width: 183px; font-size: 8pt; margin-top: 10px; overflow:hidden; }
166 #html-menu.folded { width: 32px; }
167 #html-menu.folded:hover { width: 183px; }
168 #html-menu div.mi { margin-top: 4px; margin-bottom: 3px; white-space: nowrap; clear:both; position:relative; }
169 #html-menu div.sm { font-weight: bold }
170 #html-menu img { vertical-align: top; border: 0; }
171 #html-menu a { vertical-align: top }
172 #html-menu .i span.ms { float: left; width: 24px; margin-bottom: 4px; }
173 #html-menu .m span.ms { float: left; width: 32px }
174 #html-menu .sm span.ms { float: left; width: 24px; background: url(../../image/unterpunkt.png); }
175 #html-menu div.m { height: 24px }
176 #html-menu div.m span.mic { color:blue; position: relative; top: 4px }
177 #html-menu div.m:hover,
178 #html-menu div.i:hover { color:blue; background-color: lemonchiffon; cursor: pointer; }
179 #html-menu span.mic { white-space: normal; display: inline-block; vertical-align: top; line-height: 1.2; }
180 #html-menu a.ml span.mic { width: 145px } /* fix deep indents */
181 #html-menu div.s0 { padding-left: 2px }
182 #html-menu div.s1 { padding-left: 8px }
183 #html-menu div.s2 { padding-left: 16px }
184
185 body { margin: 0 }
186
187
188 @media print {
189   #menuv3, #html-menu, #frame-header, #main_menu_div, #js-header {   /* items with this class won't print */
190     display: none;
191   }
192   #content.html-menu { margin-left: 0; }
193 }