Revision a85900cb
Von Hans Peter Schlaepfer vor etwa 6 Jahren hinzugefügt
css/kivitendo/menu.css | ||
---|---|---|
8 | 8 |
/* background-color: #d0cfc9 */ |
9 | 9 |
/* } */ |
10 | 10 |
|
11 |
/* |
|
11 | 12 |
div.layout-actionbar ~ #content { |
12 | 13 |
padding-top: 32px; |
13 | 14 |
} |
15 |
*/ |
|
14 | 16 |
|
17 |
/* |
|
15 | 18 |
#main_menu_div ~ div.layout-actionbar { |
16 | 19 |
top: 45px; |
17 | 20 |
} |
21 |
*/ |
|
18 | 22 |
|
23 |
/* |
|
19 | 24 |
#main_menu_div ~ #content { |
20 | 25 |
padding-top: 25px; |
21 | 26 |
} |
22 | 27 |
#main_menu_div ~ div.layout-actionbar ~ #content { |
23 | 28 |
padding-top: 54px; |
24 | 29 |
} |
30 |
*/ |
|
25 | 31 |
|
26 | 32 |
body.menuv3 { |
27 |
behavior: url("css/csshover.htc");
|
|
28 |
/*font-size: 14pt;*/
|
|
29 |
line-height: 20pt;
|
|
30 |
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
|
31 |
background-color: #FFFFFF;
|
|
32 |
color: #000000;
|
|
33 |
behavior: url("css/csshover.htc");
|
|
34 |
/*font-size: 14pt;*/
|
|
35 |
line-height: 20pt;
|
|
36 |
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
|
37 |
background-color: #FFFFFF;
|
|
38 |
color: #000000;
|
|
33 | 39 |
} |
34 | 40 |
#menuv3 { |
35 |
background-color: #FFFFFF;
|
|
36 |
color: #000000;
|
|
41 |
background-color: #FFFFFF;
|
|
42 |
color: #000000;
|
|
37 | 43 |
width: 100%; |
38 | 44 |
position: fixed; |
39 | 45 |
z-index: 30; |
40 | 46 |
} |
41 | 47 |
|
42 |
#menuv3 ~ div.layout-actionbar { |
|
43 |
top: 40px; |
|
44 |
} |
|
45 |
|
|
48 |
/* |
|
46 | 49 |
#menuv3 ~ #content { |
47 | 50 |
padding-top: 35px; |
48 | 51 |
} |
52 |
*/ |
|
49 | 53 |
|
54 |
/* |
|
50 | 55 |
#menuv3 ~ div.layout-actionbar ~ #content { |
51 | 56 |
padding-top: 64px; |
52 | 57 |
} |
58 |
*/ |
|
53 | 59 |
|
54 |
#menuv3 a, #menuv3 h2, #menuv3 div.x { |
|
55 |
font-size: 80%; |
|
56 |
line-height: 120%; |
|
57 |
display: block; |
|
58 |
border: 0; |
|
59 |
white-space: nowrap; |
|
60 |
margin: 0; |
|
61 |
padding: 0.3em 1em; |
|
60 |
#menuv3 a, |
|
61 |
#menuv3 h2, |
|
62 |
#menuv3 div.x { |
|
63 |
font-size: 80%; |
|
64 |
line-height: 120%; |
|
65 |
display: block; |
|
66 |
border: 0; |
|
67 |
white-space: nowrap; |
|
68 |
margin: 0; |
|
69 |
padding: 0.3em 1em; |
|
62 | 70 |
} |
63 | 71 |
#menuv3 h2 { |
64 |
background-color: #ffffff;
|
|
65 |
color: #000000;
|
|
66 |
/*padding: 2px 15px;*/
|
|
72 |
background-color: #ffffff;
|
|
73 |
color: #000000;
|
|
74 |
/*padding: 2px 15px;*/
|
|
67 | 75 |
/* Firefox */ |
68 |
-moz-border-radius: 0.4em 0.4em 0;
|
|
76 |
-moz-border-radius: 0.4em 0.4em 0;
|
|
69 | 77 |
/* Safari, Chrome */ |
70 |
-webkit-border-radius: 0.4em 0.4em 0;
|
|
78 |
-webkit-border-radius: 0.4em 0.4em 0;
|
|
71 | 79 |
/* Konqueror */ |
72 |
-khtml-border-radius: 0.4em 0.4em 0;
|
|
80 |
-khtml-border-radius: 0.4em 0.4em 0;
|
|
73 | 81 |
/* CSS3 */ |
74 |
border-radius: 0.4em 0.4em 0 0;
|
|
75 |
/* behavior: url(border-radius.htc); */
|
|
82 |
border-radius: 0.4em 0.4em 0 0;
|
|
83 |
/* behavior: url(border-radius.htc); */
|
|
76 | 84 |
} |
77 | 85 |
#menuv3 ul:hover h2 { |
78 |
background-color:#DCDCDC;
|
|
86 |
background-color:#DCDCDC;
|
|
79 | 87 |
} |
80 | 88 |
#menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited { |
81 |
color: #000000;
|
|
82 |
text-decoration: none;
|
|
83 |
padding-right: 10px;
|
|
89 |
color: #000000;
|
|
90 |
text-decoration: none;
|
|
91 |
padding-right: 10px;
|
|
84 | 92 |
} |
85 | 93 |
#menuv3 a { |
86 |
background: #EBEBEB;
|
|
94 |
background: #EBEBEB;
|
|
87 | 95 |
} |
88 | 96 |
#menuv3 div.x, #menuv3 div.x:visited { |
89 |
background-color: #EBEBEB;
|
|
90 |
border-right: 1em solid #FE5F14;
|
|
97 |
background-color: #EBEBEB;
|
|
98 |
border-right: 1em solid #FE5F14;
|
|
91 | 99 |
} |
92 | 100 |
#menuv3 div.x:hover { |
93 |
border-right: none;
|
|
101 |
border-right: none;
|
|
94 | 102 |
} |
95 | 103 |
#menuv3 a:hover, #menuv3 div.x:hover { |
96 |
color: #FE5F14;
|
|
97 |
background-color: #EBEBEB;
|
|
104 |
color: #FE5F14;
|
|
105 |
background-color: #EBEBEB;
|
|
98 | 106 |
} |
99 | 107 |
#menuv3 a:active, #menuv3 div.x:active { |
100 |
color: #FE5F14;
|
|
101 |
background-color: #EBEBEB;
|
|
108 |
color: #FE5F14;
|
|
109 |
background-color: #EBEBEB;
|
|
102 | 110 |
} |
103 | 111 |
#menuv3 ul { |
104 |
list-style: none;
|
|
105 |
margin: 0;
|
|
106 |
padding: 0;
|
|
107 |
float: left;
|
|
112 |
list-style: none;
|
|
113 |
margin: 0;
|
|
114 |
padding: 0;
|
|
115 |
float: left;
|
|
108 | 116 |
} |
109 | 117 |
|
110 | 118 |
#menuv3 li { |
111 |
position: relative;
|
|
112 |
float: none;
|
|
113 |
border: 0;
|
|
119 |
position: relative;
|
|
120 |
float: none;
|
|
121 |
border: 0;
|
|
114 | 122 |
border-width:0 0 1px 0; |
115 | 123 |
} |
116 | 124 |
li.sub { |
117 |
position: relativ;
|
|
118 |
left: 0.2em;
|
|
119 |
top: 0px;
|
|
120 |
background-color: #FFFFFF;
|
|
125 |
position: relative;
|
|
126 |
left: 0.2em;
|
|
127 |
top: 0px;
|
|
128 |
background-color: #FFFFFF;
|
|
121 | 129 |
} |
122 | 130 |
/* IE6 spacing bug fix, <li>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 <li>s, where the enclosing <ul> 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 */ |
123 | 131 |
#menuv3 ul li { |
124 |
/* border: solid;
|
|
125 |
border-color: #991900;
|
|
126 |
border-width: 0 0 1px 0;
|
|
132 |
/* border: solid;
|
|
133 |
border-color: #991900;
|
|
134 |
border-width: 0 0 1px 0;
|
|
127 | 135 |
*/ |
128 | 136 |
} |
129 | 137 |
#menuv3 ul ul { |
130 |
padding: 0 2em 2em 2em;
|
|
131 |
margin: 0 -2em -2em -2em;
|
|
138 |
padding: 0 2em 2em 2em;
|
|
139 |
margin: 0 -2em -2em -2em;
|
|
132 | 140 |
} |
133 | 141 |
#menuv3 ul ul li { |
134 |
/*padding-top: 0.01em;*/
|
|
135 |
background-color: #FFFFFF;
|
|
142 |
/*padding-top: 0.01em;*/
|
|
143 |
background-color: #FFFFFF;
|
|
136 | 144 |
} |
137 | 145 |
/* 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. */ |
138 | 146 |
#menuv3 ul ul { |
139 |
position: absolute;
|
|
140 |
z-index: 500;
|
|
141 |
display: none;
|
|
147 |
position: absolute;
|
|
148 |
z-index: 500;
|
|
149 |
display: none;
|
|
142 | 150 |
} |
143 | 151 |
#menuv3 ul ul ul { |
144 |
top: 0;
|
|
145 |
left: 99%;
|
|
146 |
padding: 2em;
|
|
147 |
margin: -2em;
|
|
152 |
top: 0;
|
|
153 |
left: 99%;
|
|
154 |
padding: 2em;
|
|
155 |
margin: -2em;
|
|
148 | 156 |
} |
149 | 157 |
#menuv3 ul ul ul li { |
150 |
border-left: 0.2em solid #EBEBEB;
|
|
158 |
border-left: 0.2em solid #EBEBEB;
|
|
151 | 159 |
} |
152 | 160 |
/* Begin non-anchor hover selectors */ |
153 | 161 |
/* Enter the more specific element (div) selectoron non-anchor hovers for IE5.x to comply with theolder version of csshover.htc - V1.21.041022. Itimproves IE's performance speed to use the olderfile and this method */ |
154 | 162 |
div#menuv3 h2:hover { |
155 |
background: #EBEBEB;
|
|
156 |
color: #FE5F14;
|
|
163 |
background: #EBEBEB;
|
|
164 |
color: #FE5F14;
|
|
157 | 165 |
} |
158 | 166 |
div#menuv3 li:hover { |
159 |
cursor: pointer;
|
|
167 |
cursor: pointer;
|
|
160 | 168 |
} |
161 | 169 |
div#menuv3 li:hover ul ul, div#menuv3 li li:hover ul ul, div#menuv3 li li li:hover ul ul, div#menuv3 li li li li:hover ul ul { |
162 |
display: none;
|
|
170 |
display: none;
|
|
163 | 171 |
} |
164 | 172 |
div#menuv3 li:hover ul, div#menuv3 li li:hover ul, div#menuv3 li li li:hover ul, div#menuv3 li li li li:hover ul { |
165 |
display: block; |
|
166 |
position: relativ: left: 10px; |
|
173 |
display: block; |
|
174 |
position: relative; |
|
175 |
left: 10px; |
|
167 | 176 |
} |
168 | 177 |
/* End of non-anchor hover selectors */ |
169 | 178 |
|
170 | 179 |
li.sub { |
171 |
position: relativ;
|
|
172 |
left: 0.2em;
|
|
173 |
top: 0px;
|
|
174 |
background-color: #FFFFFF;
|
|
180 |
position: relative;
|
|
181 |
left: 0.2em;
|
|
182 |
top: 0px;
|
|
183 |
background-color: #FFFFFF;
|
|
175 | 184 |
} |
176 | 185 |
|
177 | 186 |
/* html menu */ |
Auch abrufbar als: Unified diff
Preview design 4.0