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