Revision a891045c
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
css/less/menu.less | ||
---|---|---|
1 |
/* ------------------------------------------------------------- */ |
|
2 |
/* MENU (V3) and HTML MENU (menu.less) */ |
|
3 |
/* ------------------------------------------------------------- */ |
|
4 |
|
|
1 | 5 |
// ---------------------------------------------------------------------------- |
2 | 6 |
// |
3 | 7 |
// MENU (V3) and HTML MENU |
... | ... | |
9 | 13 |
// |
10 | 14 |
// CONTENTS: |
11 | 15 |
// - MENUV3 |
12 |
// - - List-Element general |
|
13 |
// - - - Links & Inbound Pseudo Link (DIV) |
|
14 |
// - - Items with Sub Items |
|
15 |
// - - List 1st Level (horizontal) |
|
16 |
// - - - List 2nd and 3rd Level (Vertical) |
|
17 |
// - - - List 2nd Level (Vertical) |
|
18 |
// - - - - List 3rd Level (Vertical) |
|
16 |
// - List-Element general |
|
17 |
// - Links & Inbound Pseudo Link (DIV) |
|
18 |
// - Items with Sub Items |
|
19 |
// - List 1st Level (horizontal) |
|
20 |
// - List 2nd and 3rd Level (Vertical) |
|
21 |
// - List 2nd Level (Vertical) |
|
22 |
// - List 3rd Level (Vertical) |
|
23 |
// |
|
24 |
// - HTML-MENU (LEFT) |
|
25 |
// - Layout Web Page (LEFT & RIGHT AREA) |
|
26 |
// - HTML-JS-MENU |
|
27 |
// - Menue Items |
|
28 |
// - Top Menu Item (1st Level) |
|
29 |
// - Sub Menu Item (2nd Level) |
|
30 |
// - Sub Sub Menu Item (3rd & last Level) |
|
19 | 31 |
// |
20 |
// - HTML-MENU |
|
21 |
// - HTML-MENU (Overrides) |
|
32 |
// - DHTML-MENU (TOP WITH ICONS, JUST OVERRIDES) |
|
33 |
// - Menu Bar on Top |
|
34 |
// - Menu-Container Sub (Sub Menu 2nd Level) |
|
35 |
// - Menu-Item Sub (2nd Level) |
|
36 |
// - Non-Generic Overrides (With Group Ids |
|
37 |
|
|
22 | 38 |
// ---------------------------------------------------------------------------- |
23 | 39 |
|
24 | 40 |
|
25 | 41 |
|
26 | 42 |
|
43 |
|
|
27 | 44 |
// -------------------------------------- |
28 | 45 |
// MENUV3 |
29 | 46 |
// -------------------------------------- |
30 | 47 |
|
31 |
|
|
32 | 48 |
#menuv3 { |
33 | 49 |
// Main-Properties of this element in File SCAFFOLDING.LESS |
34 |
background-color: @menu_link_bg_level1 ;
|
|
50 |
background-color: @menu_bg ;
|
|
35 | 51 |
|
36 | 52 |
|
37 | 53 |
|
38 | 54 |
// -------------- |
39 | 55 |
// List-Element general |
40 |
// |
|
41 |
|
|
56 |
// -------------- |
|
42 | 57 |
li { |
43 |
display: block; |
|
44 |
position: relative; |
|
45 |
float: none; |
|
46 |
font-weight: normal !important ; |
|
47 |
font-size: @font-size-smaller; |
|
48 |
line-height: 96%; |
|
49 |
white-space: nowrap; |
|
50 |
border: 0; |
|
51 |
padding: 0; |
|
52 |
margin: 0; |
|
58 |
display: block;
|
|
59 |
position: relative;
|
|
60 |
float: none;
|
|
61 |
font-weight: normal !important ;
|
|
62 |
font-size: @font-size-smaller;
|
|
63 |
line-height: 96%;
|
|
64 |
white-space: nowrap;
|
|
65 |
border: 0;
|
|
66 |
padding: 0;
|
|
67 |
margin: 0;
|
|
53 | 68 |
|
54 | 69 |
&:hover { |
55 |
cursor: pointer; |
|
70 |
cursor: pointer;
|
|
56 | 71 |
} |
57 | 72 |
|
58 |
|
|
59 | 73 |
// -------------- |
60 | 74 |
// Links & Inbound Pseudo Link (DIV) |
61 |
// |
|
75 |
// --------------
|
|
62 | 76 |
a, |
63 | 77 |
a:visited, |
64 | 78 |
div.x, |
65 | 79 |
div.x:visited { |
66 |
display: block; |
|
67 |
color: @menu_link; |
|
80 |
display: block;
|
|
81 |
color: @menu_link;
|
|
68 | 82 |
text-decoration: none; |
69 | 83 |
//padding-right: 0.6em; |
70 | 84 |
} |
... | ... | |
72 | 86 |
} // /li (List-Element general) |
73 | 87 |
|
74 | 88 |
|
75 |
|
|
76 |
|
|
77 | 89 |
// -------------- |
78 | 90 |
// List 1st Level (horizontal) |
79 |
// |
|
80 |
|
|
91 |
// -------------- |
|
81 | 92 |
& > ul { |
82 | 93 |
list-style: none; |
83 |
margin: 0; |
|
84 |
padding: 0; |
|
85 |
float: left; |
|
86 |
|
|
94 |
margin: 0; |
|
95 |
padding: 0; |
|
96 |
float: left; |
|
87 | 97 |
|
88 | 98 |
& > li{ |
89 |
display: block; |
|
90 |
height: 17px; |
|
91 |
padding: 9px 0.9em 6px 0.9em; |
|
92 |
background-color: @menu_link_bg_level1 ; |
|
93 |
vertical-align: middle; |
|
99 |
display: block; |
|
100 |
height: 17px; |
|
101 |
padding: 9px 0.9em 6px 0.9em; |
|
102 |
background-color: @menu_bg ; |
|
103 |
color: @menu_link ; |
|
104 |
vertical-align: middle; |
|
94 | 105 |
|
95 | 106 |
&:hover { |
96 | 107 |
background-color: @menu_link_bg_level1_hover; |
97 | 108 |
|
98 | 109 |
// Display Menu 2nd level |
99 | 110 |
> ul { |
100 |
display: block; |
|
111 |
display: block;
|
|
101 | 112 |
position: absolute; |
102 | 113 |
} |
103 | 114 |
} |
104 | 115 |
|
105 | 116 |
|
106 |
|
|
107 | 117 |
// -------------- |
108 |
// List 2nd and 3rd Level (Vertical) |
|
109 |
// |
|
110 |
|
|
118 |
// List 2nd and 3rd Level (vertical) |
|
119 |
// -------------- |
|
111 | 120 |
ul { |
112 | 121 |
position: relative; |
113 |
display: none; |
|
114 |
padding: 0 2em 2em 2em; |
|
115 |
margin: 0 -2em -2em -2.8em; |
|
116 |
|
|
122 |
display: none; |
|
123 |
padding: 0 2em 2em 2em; |
|
124 |
margin: 0 -2em -2em -2.8em; |
|
117 | 125 |
|
118 | 126 |
li{ |
119 |
border-bottom: 1px #777777 solid ;
|
|
120 |
padding: 0.45em 0.6em 0.58em 0.8em ; |
|
127 |
border-bottom: 1px @menu_border_color solid ;
|
|
128 |
padding: 0.45em 0.6em 0.58em 0.8em ;
|
|
121 | 129 |
} |
122 |
} |
|
130 |
} // /ul (2nd and 3rd Level)
|
|
123 | 131 |
|
124 | 132 |
|
125 | 133 |
// -------------- |
126 | 134 |
/* List 2nd Level (Vertical) */ |
127 |
// |
|
135 |
// --------------
|
|
128 | 136 |
& > ul { |
129 | 137 |
top: 32px; |
130 | 138 |
|
131 | 139 |
& > li { |
132 | 140 |
background-color: @menu_link_bg_level2 ; |
141 |
padding-left: 12px ; |
|
142 |
margin-left: 1px; |
|
133 | 143 |
|
134 |
// |
|
135 | 144 |
// Items with Sub Items |
136 |
// |
|
137 | 145 |
div.x { |
138 |
background: no-repeat right url("../image/menu-arrow-to-right-5.png"); |
|
146 |
background: no-repeat right url("../image/menu-arrow-to-right-5.png");
|
|
139 | 147 |
padding-right: 2.0em ; |
148 |
|
|
149 |
// does not work because text has to be a block |
|
150 |
// &::after { |
|
151 |
// content: "▷" ; |
|
152 |
// color: @gray-dark ; |
|
153 |
// font-size: 120% ; |
|
154 |
// padding: 0 0 0 1.0em ; |
|
155 |
// text-align: right ; |
|
156 |
// display: inline-box ; |
|
157 |
// } |
|
140 | 158 |
} |
141 | 159 |
|
142 |
// |
|
143 | 160 |
// List-Item Hover |
144 |
// |
|
145 | 161 |
&:hover { |
146 |
color: @menu_link_hover; |
|
162 |
color: @menu_link_hover;
|
|
147 | 163 |
background-color: @menu_link_bg_level2_hover; |
148 | 164 |
|
149 | 165 |
// Display Menu 3rd level |
150 | 166 |
> ul { |
151 |
display: block; |
|
167 |
display: block;
|
|
152 | 168 |
position: absolute; |
153 | 169 |
} |
154 | 170 |
} |
155 | 171 |
|
156 |
|
|
157 | 172 |
// -------------- |
158 | 173 |
// List 3rd Level (Vertical) |
159 |
// |
|
160 |
|
|
174 |
// -------------- |
|
161 | 175 |
> ul { |
162 |
top: 0; |
|
163 |
left: 99%; |
|
164 |
padding: 2em; |
|
165 |
margin: -2em; |
|
166 |
list-style: none; |
|
176 |
top: 0; |
|
177 |
left: 99%; |
|
178 |
padding: 2em; |
|
179 |
//margin: -2em; |
|
180 |
margin-top: -2.06em; |
|
181 |
margin-right: -2em; |
|
182 |
margin-bottom: -2em; |
|
183 |
margin-left: -2em; |
|
184 |
list-style: none; |
|
167 | 185 |
|
168 | 186 |
> li { |
169 |
background-color: @menu_link_bg_level3 ; |
|
170 |
border-left: 0.2em solid @menu_link_bg;
|
|
187 |
background-color: @menu_link_bg_level3 ;
|
|
188 |
//border-left: 0.2em solid @menu_border_color;
|
|
171 | 189 |
|
172 |
&:hover { background-color: @menu_link_bg_level3_hover } |
|
173 |
} |
|
174 |
} |
|
190 |
&:hover { |
|
191 |
background-color: @menu_link_bg_level3_hover } |
|
175 | 192 |
|
176 |
} |
|
193 |
&:first-child { border-top: 1px #800040 solid ; } |
|
194 |
} |
|
177 | 195 |
|
196 |
} // /ul (3rd level) |
|
178 | 197 |
|
198 |
} // />li (2nd level) |
|
179 | 199 |
|
180 |
} // /List 2nd Level (Vertical) |
|
200 |
} // /ul List 2nd Level (Vertical)
|
|
181 | 201 |
|
182 |
} // /> li |
|
183 |
} // /ul |
|
184 |
} |
|
185 |
// /#menuv3 |
|
202 |
} // />li (1st level) |
|
186 | 203 |
|
204 |
} // /ul (1st level) |
|
187 | 205 |
|
206 |
} // /#menuv3 |
|
188 | 207 |
|
189 | 208 |
|
190 | 209 |
// PENDENT: ??? (ggf. entfernen) |
191 | 210 |
li.sub { |
192 |
position: relative; |
|
193 |
left: 0.2em; |
|
194 |
top: 0px; |
|
211 |
position: relative;
|
|
212 |
left: 0.2em;
|
|
213 |
top: 0px;
|
|
195 | 214 |
background-color: #FFFFFF; |
196 | 215 |
} |
197 | 216 |
|
198 | 217 |
|
199 | 218 |
|
200 | 219 |
|
201 |
// -------------------- |
|
220 |
|
|
221 |
// -------------------------------------- |
|
202 | 222 |
// HTML-MENU (LEFT) |
203 |
// -------------------- |
|
223 |
// --------------------------------------
|
|
204 | 224 |
|
205 |
// Layout Page |
|
225 |
// -------------------- |
|
226 |
// Layout Web Page (LEFT & RIGHT AREA) |
|
227 |
// -------------------- |
|
206 | 228 |
|
207 |
// Left (Menu) area/column
|
|
229 |
// LEFT (Menu) area/column
|
|
208 | 230 |
body > #layout-split-left { |
209 | 231 |
display: block; |
210 |
//position: relative; |
|
211 |
position: fixed !important; |
|
212 |
top: 0 ; |
|
213 |
left: 0 ; |
|
214 |
width: 200px; |
|
215 |
//height: 101%; |
|
216 |
height: 100%; |
|
217 |
z-index: 1; |
|
218 |
//overflow: hidden; |
|
219 |
overflow: hidden ; |
|
220 |
border-right: 1px @gray solid; |
|
221 |
background-color: @gray-mediumdark; |
|
232 |
position: fixed !important; |
|
233 |
top: 0 ; |
|
234 |
left: 0 ; |
|
235 |
width: 200px; |
|
236 |
height: 100%; |
|
237 |
z-index: 1; |
|
238 |
overflow: hidden ; |
|
239 |
border-right: 1px @gray-standard solid; |
|
240 |
background-color: @gray-dark; |
|
222 | 241 |
|
223 | 242 |
|
224 | 243 |
} |
225 | 244 |
|
226 |
// Right (Content) area/column |
|
227 |
div#layout-split-right { |
|
228 |
margin-left: 200px; |
|
229 |
margin-top: 70px; |
|
230 |
display: block; |
|
231 |
z-index: 1; |
|
232 |
overflow: hidden; |
|
245 |
// RIGHT (Content) area/column |
|
246 |
body > div#layout-split-right { |
|
247 |
margin-left: 200px; |
|
248 |
//margin-top: 70px; |
|
249 |
padding-top: 28px; |
|
250 |
display: block; |
|
251 |
z-index: 1; |
|
252 |
overflow: hidden; |
|
233 | 253 |
// PENDENT: das muss dringend geloest werden, |
234 | 254 |
// siehe z.B. /am.pl?action=edit_account&callback=am.pl%3faction%3dlist_account&id=6130 |
235 | 255 |
// Bearbeitung von Konto (wird unten abgeschnitten, falls nicht mit prov. Behelf wie unten) |
236 |
min-height: 800px; |
|
237 |
height: auto; |
|
256 |
min-height: 800px;
|
|
257 |
height: auto;
|
|
238 | 258 |
|
239 | 259 |
.layout-actionbar { top: 36px; } |
240 | 260 |
|
241 | 261 |
& > #content { |
242 |
top: 70px ; |
|
262 |
top: 68px; |
|
263 |
padding-top: 40px; |
|
243 | 264 |
|
244 | 265 |
h1 { top: 28px !important; } |
245 |
& > form > .tabwidget { |
|
246 |
& > ul.ui-tabs-nav{ top: 69px; } |
|
247 |
& > ui-tabs-panel { |
|
248 |
.tabwidget ul.ui-tabs-nav{ position: relative; } |
|
266 |
|
|
267 |
& > .wrapper{ |
|
268 |
padding-top: 2em ; |
|
269 |
} |
|
270 |
& + div.wrapper { |
|
271 |
padding-top: 4em ; // funzt nicht |
|
272 |
} |
|
273 |
|
|
274 |
& > form { |
|
275 |
margin-top: 0.6em ; |
|
276 |
|
|
277 |
& + div.wrapper { |
|
278 |
padding-top: 4em ; |
|
249 | 279 |
} |
250 |
} // / > form > .tabwidget |
|
280 |
|
|
281 |
|
|
282 |
& > .tabwidget { |
|
283 |
& > ui-tabs-panel { |
|
284 |
//padding-top: 6.0em ; |
|
285 |
.wrapper{ margin-top: 2em; } |
|
286 |
.tabwidget ul.ui-tabs-nav{ position: relative; } |
|
287 |
} |
|
288 |
& > ul.ui-tabs-nav{ top: 69px; } |
|
289 |
|
|
290 |
} // / > .tabwidget |
|
291 |
} // / > form |
|
251 | 292 |
& > #requirement_spec_tabs.tabwidget { |
252 | 293 |
& > ul.ui-tabs-nav{ top: 69px !important ; } |
253 | 294 |
} |
254 | 295 |
} |
296 |
|
|
297 |
// PENDENT: war für Klasse .layout-split-right eingesetzt, wo gebraucht im alten Kivi ?? ggf. entfernen |
|
298 |
&.folded { |
|
299 |
margin-left: 40px |
|
300 |
} |
|
301 |
|
|
302 |
|
|
303 |
|
|
255 | 304 |
} |
256 | 305 |
|
257 |
// PENDENT: wo gebraucht im alten Kivi ?? ggf. entfernen |
|
306 |
// PENDENT: wo als Klasse gebraucht im alten Kivi ?? ggf. entfernen
|
|
258 | 307 |
div.layout-split-right.folded { |
259 | 308 |
margin-left: 40px |
260 | 309 |
} |
261 | 310 |
|
262 |
// Menu itself |
|
311 |
// -------------------- |
|
312 |
// HTML-JS-MENU |
|
313 |
// -------------------- |
|
263 | 314 |
|
264 | 315 |
#layout-split-left #html-menu { |
265 |
display: block; |
|
266 |
overflow-y: scroll; |
|
267 |
overflow-x: hidden; |
|
268 |
width: 100%; |
|
269 |
height: 100%; |
|
270 |
margin: 27px 0 0 0; |
|
271 |
padding: 0 0 50px 0; |
|
272 |
background-color: @menu_link_bg_level1 ; |
|
273 |
font-size: @font-size-small; |
|
274 |
|
|
275 |
// scrollbars could be invisible only on Webkit-Browsers |
|
316 |
display: block; |
|
317 |
overflow-y: scroll; |
|
318 |
overflow-x: hidden; |
|
319 |
width: 100%; |
|
320 |
height: 100%; |
|
321 |
margin: 27px 0 0 0; |
|
322 |
padding: 0 0 150px 0; |
|
323 |
background-color: @menu_left_bg ; |
|
324 |
font-size: @font-size-small; |
|
325 |
border-bottom: 20px @menu_border_color solid ; // PENDENT: Rand unten sollte vorhanden sein |
|
326 |
|
|
327 |
// scrollbars can be invisible only on Webkit-Browsers |
|
276 | 328 |
&::-webkit-scrollbar { |
277 | 329 |
display: none; |
278 | 330 |
} |
279 | 331 |
|
280 |
// ----------------- |
|
332 |
& > div:last-of-type { |
|
333 |
border-bottom: @menu_border ; // PENDENT: Rand unten sollte vorhanden sein |
|
334 |
} |
|
335 |
|
|
336 |
// ----------------------- |
|
281 | 337 |
// Menue-Items |
338 |
// ----------------------- |
|
282 | 339 |
.mi { |
283 |
display: block ; |
|
340 |
display: block ;
|
|
284 | 341 |
a { |
285 |
display: block; |
|
286 |
word-wrap: break-word; |
|
342 |
display: block;
|
|
343 |
word-wrap: break-word;
|
|
287 | 344 |
} |
288 | 345 |
&:first-child { |
289 |
border-top: 2px @gray solid ; |
|
346 |
border-top: 2px @menu_border_color solid ; // PENDENT: 2px ??? sonst @menu_border verwenden |
|
347 |
} |
|
348 |
&:last-child { |
|
349 |
border-bottom: @menu_border ; // PENDENT: 2px ??? sonst @menu_border verwenden |
|
290 | 350 |
} |
291 | 351 |
} |
292 | 352 |
|
293 |
// Top/1st Level |
|
353 |
|
|
354 |
// ----------------------- |
|
355 |
// Top Menu Item (1st Level) |
|
356 |
// ----------------------- |
|
294 | 357 |
.s0 { |
295 | 358 |
padding: 0 ; |
296 |
background-color: #cccccc ;
|
|
297 |
color: @gray-darker;
|
|
298 |
border-bottom: 1px @gray solid ;
|
|
299 |
font-size: 90% ; |
|
300 |
text-transform: uppercase; |
|
359 |
background-color: @menu_left_level_1_bg ;
|
|
360 |
color: @menu_left_level_1_color;
|
|
361 |
border-top: @menu_border ;
|
|
362 |
font-size: 90% ;
|
|
363 |
text-transform: uppercase;
|
|
301 | 364 |
|
302 | 365 |
a { |
303 |
padding: 5px 0 6px 8px ; |
|
366 |
padding: 5px 0 6px 8px ; |
|
367 |
cursor: pointer ; |
|
304 | 368 |
|
305 | 369 |
&:hover, |
306 | 370 |
&:active{ |
307 |
background-color: @gray ; |
|
308 |
color: #000 ; |
|
371 |
background-color: @menu_left_level_1_hover_bg ; |
|
372 |
color: @menu_left_level_1_hover_color ; |
|
373 |
//color: white ; |
|
374 |
text-decoration: none; |
|
309 | 375 |
} |
310 | 376 |
&:link, |
311 |
&:visited { color: @gray-mediumdark ; }
|
|
377 |
&:visited { color: @menu_left_level_1_color ; }
|
|
312 | 378 |
} |
313 | 379 |
|
314 | 380 |
&.menu-open{ |
315 |
font-weight: bold; |
|
316 |
background-color: @gray-dark ; |
|
317 |
color: #fff ; |
|
381 |
font-weight: normal; |
|
382 |
background-color: @menu_open_bg ; |
|
383 |
color: @menu_open_color ; |
|
384 |
border-bottom: 0 ; |
|
318 | 385 |
|
319 | 386 |
a { |
320 |
padding: 5px 0 6px 8px ; |
|
387 |
padding: 5px 0 6px 8px ; |
|
388 |
cursor: auto ; |
|
321 | 389 |
|
322 | 390 |
&:hover, |
323 | 391 |
&:active{ |
324 |
background-color: #000 ; |
|
325 |
color: #fff ; |
|
392 |
background-color: @menu_open_bg ; |
|
393 |
color: @menu_open_color ; |
|
394 |
text-decoration: none; |
|
326 | 395 |
} |
327 | 396 |
&:link, |
328 |
&:visited { color: #fff ; }
|
|
397 |
&:visited { color: @menu_open_color ; }
|
|
329 | 398 |
} |
330 | 399 |
} |
331 |
|
|
332 | 400 |
} // /.s0 |
333 | 401 |
|
334 |
// 2nd level |
|
402 |
// ----------------------- |
|
403 |
// Sub Menu Item (2nd Level) |
|
404 |
// ----------------------- |
|
335 | 405 |
.s1{ |
336 | 406 |
font-size: 80% ; |
337 |
padding: 2px 0 3px 8px ; |
|
338 |
background-color: @gray-verylight ; |
|
339 | 407 |
padding: 0 ; |
340 |
border-top: 1px #bfbfbf solid ; |
|
408 |
background-color: @menu_left_level_2_bg ; |
|
409 |
border-top: @menu_border ; |
|
341 | 410 |
|
342 | 411 |
a { |
343 |
padding: 4px 0 3px 8px ; |
|
412 |
padding: 4px 0 3px 8px ;
|
|
344 | 413 |
|
345 | 414 |
&:hover, |
346 | 415 |
&:active{ |
347 |
background-color: #D5D5D5 ; |
|
348 |
color: #000 ; |
|
416 |
background-color: @menu_left_level_2_hover_bg ; |
|
417 |
color: @menu_left_level_2_hover_color ; |
|
418 |
text-decoration: none; |
|
349 | 419 |
} |
350 | 420 |
&:link, |
351 |
&:visited { color: @gray-mediumdark ; }
|
|
421 |
&:visited { color: @menu_left_level_2_color ; }
|
|
352 | 422 |
} |
353 | 423 |
|
354 | 424 |
// has submenu (has 3rd-Level menu) |
355 | 425 |
&.sm{ |
356 | 426 |
&:after{ |
357 |
content: "▼" ; |
|
358 |
color: @gray ;
|
|
359 |
font-size: 80% ; |
|
427 |
content: "▼" ;
|
|
428 |
color: @gray-standard ;
|
|
429 |
font-size: 80% ;
|
|
360 | 430 |
} |
361 | 431 |
a { |
362 |
display: inline-block ; |
|
363 |
width: 162px; // with scrollbar{ display:none; } 174px is possible, works only with ::-webkit-scrollbar |
|
364 |
color: @gray ;
|
|
432 |
display: inline-block ;
|
|
433 |
width: 162px; // with scrollbar{ display:none; } 174px is possible, works only with ::-webkit-scrollbar
|
|
434 |
color: @menu_left_level_2_color ;
|
|
365 | 435 |
|
366 | 436 |
&:hover, |
367 | 437 |
&:active{ |
368 |
background-color: @gray-verylight ;
|
|
369 |
color: #999 ;
|
|
370 |
text-decoration: none ; |
|
438 |
background-color: @menu_left_level_2_bg ;
|
|
439 |
color: @menu_left_level_2_color ;
|
|
440 |
text-decoration: none ;
|
|
371 | 441 |
} |
372 | 442 |
&:link, |
373 |
&:visited { color: @gray-mediumdark ; }
|
|
443 |
&:visited { color: @menu_left_level_2_color ; }
|
|
374 | 444 |
|
375 | 445 |
&.ml:link, |
376 |
&.ml:visited{ color: @gray ; }
|
|
446 |
&.ml:visited{ color: @menu_left_level_2_color ; }
|
|
377 | 447 |
} |
378 | 448 |
} |
379 |
& > .s2:last-child { border-bottom: 1px #bfbfbf solid } |
|
449 |
& > .s2:last-child { border-bottom: @menu_border ; } |
|
450 |
|
|
380 | 451 |
} // /.s1 |
381 | 452 |
|
382 |
// 3rd & last level |
|
453 |
// ----------------------- |
|
454 |
// Sub Sub Menu Item (3rd & last Level) |
|
455 |
// ----------------------- |
|
383 | 456 |
.s2{ |
384 |
padding: 0 ; |
|
385 |
font-size: 80% ; |
|
386 |
background-color: @gray-morelighter ;
|
|
457 |
padding: 0 ;
|
|
458 |
font-size: 80% ;
|
|
459 |
background-color: @menu_left_level_3_bg ;
|
|
387 | 460 |
|
388 | 461 |
a { |
389 |
padding: 2px 0 3px 20px ; |
|
462 |
padding: 2px 0 3px 20px ;
|
|
390 | 463 |
|
391 | 464 |
&:hover, |
392 | 465 |
&:active{ |
393 |
background-color: #BCBCBC ; |
|
394 |
color: #000 ; |
|
466 |
background-color: @menu_left_level_3_hover_bg ; |
|
467 |
color: @menu_left_level_3_hover_color ; |
|
468 |
text-decoration: none; |
|
395 | 469 |
} |
396 | 470 |
&:link, |
397 |
&:visited { color: @gray-mediumdark ; }
|
|
471 |
&:visited { color: @menu_left_level_3_color ; }
|
|
398 | 472 |
} |
399 | 473 |
|
400 |
|
|
401 | 474 |
} // /.s2 |
402 |
|
|
403 | 475 |
} // /#html-menu |
404 | 476 |
|
405 | 477 |
|
406 | 478 |
|
407 |
// -------------------- |
|
408 |
// DHTML-MENU (TOP WITH ICONS) |
|
409 |
// -------------------- |
|
479 |
|
|
480 |
|
|
481 |
// -------------------------------------- |
|
482 |
// DHTML-MENU (TOP WITH ICONS, JUST OVERRIDES) |
|
483 |
// -------------------------------------- |
|
410 | 484 |
|
411 | 485 |
#main_menu_div { |
412 | 486 |
|
487 |
// ----------------------- |
|
488 |
// Menu Bar on Top |
|
489 |
// ----------------------- |
|
490 |
|
|
413 | 491 |
.DHTMLSuite_menuBar_top { |
414 |
top: 30px; |
|
415 |
} |
|
492 |
top: 28px; |
|
493 |
height: 31px !important; |
|
494 |
padding: 0; |
|
495 |
margin: 0 ; |
|
496 |
|
|
497 |
// ----------------------- |
|
498 |
// Menu Item on Top |
|
499 |
// ----------------------- |
|
500 |
// Menu Item on Top, generic |
|
501 |
// same as .DHTMLSuite_menuItem_top_* below |
|
502 |
& > div { |
|
503 |
padding: 5px 5px 0 3px ; |
|
504 |
|
|
505 |
// Container with useless icon |
|
506 |
div:first-child { } |
|
507 |
// Text Menu Item top |
|
508 |
.DHTMLSuite_menuItem_textContent { |
|
509 |
font-size: 90% ; |
|
510 |
padding: 0.1em 0.2em 0.2em 0.2em ; |
|
511 |
} |
|
512 |
// Arrow down Top |
|
513 |
.DHTMLSuite_menuItem_top_arrowShowSub { |
|
514 |
margin: 0 0.2em 0.2em 0.2em ; |
|
515 |
} |
|
516 |
} // / > div (Menu Item on Top, generic) |
|
416 | 517 |
|
417 |
} |
|
418 |
.DHTMLSuite_menuBar_sub { |
|
419 |
width: auto !important; |
|
420 |
padding: 0.1em 0 0.4em 0.4em !important; |
|
518 |
// Menu Item on Top with funny classes |
|
421 | 519 |
|
422 |
.DHTMLSuite_menuItem_sub_regular{ |
|
423 |
//display: table-row ; |
|
424 |
//vertical-align: middle ; |
|
425 |
a.DHTMLSuite_menuItem_textContent{ |
|
426 |
//display: table-cell; |
|
427 |
//font-size: @font-size-small ; |
|
520 |
.DHTMLSuite_menuItem_top_regular, |
|
521 |
.DHTMLSuite_menuItem_top_over, |
|
522 |
.DHTMLSuite_menuItem_top_click, |
|
523 |
.DHTMLSuite_menuItem_top_disabled, |
|
524 |
.DHTMLSuite_menuItem_top_active { |
|
525 |
height: 19px; |
|
526 |
} |
|
527 |
.DHTMLSuite_menuItem_top_regular { } |
|
528 |
// Hover |
|
529 |
.DHTMLSuite_menuItem_top_over, |
|
530 |
.DHTMLSuite_menuItem_top_click { |
|
531 |
color: @color-red-strong ; |
|
532 |
background-color: @brand-superlight ; |
|
533 |
.DHTMLSuite_menuItem_top_arrowShowSub{ |
|
534 |
border: none !important ; |
|
535 |
} |
|
536 |
} |
|
537 |
// Clicked with Submenu |
|
538 |
.DHTMLSuite_menuItem_top_click { } |
|
539 |
|
|
540 |
} // /.DHTMLSuite_menuBar_top |
|
428 | 541 |
|
542 |
} // /#main_menu_div |
|
543 |
|
|
544 |
|
|
545 |
// ----------------------- |
|
546 |
// Menu-Container Sub (Sub Menu 2nd Level) |
|
547 |
// ----------------------- |
|
548 |
.DHTMLSuite_menuBar_sub { |
|
549 |
width: auto !important; |
|
550 |
padding: 0.1em 0 0.4em 0.4em !important; |
|
551 |
margin: 11px 0 0 0; |
|
552 |
border-top: none; |
|
553 |
border-right: 1px solid @brand-lighter; |
|
554 |
border-bottom: 1px solid @brand-lighter; |
|
555 |
border-left: 1px solid @brand-lighter; |
|
556 |
|
|
557 |
// ----------------------- |
|
558 |
// Menu-Item Sub (2nd Level) |
|
559 |
// ----------------------- |
|
560 |
.DHTMLSuite_menuItem_sub_regular, |
|
561 |
.DHTMLSuite_menuItem_sub_over, |
|
562 |
.DHTMLSuite_menuItem_sub_click, |
|
563 |
.DHTMLSuite_menuItem_sub_disabled, |
|
564 |
.DHTMLSuite_menuItem_sub_active { |
|
565 |
clear: both; |
|
566 |
padding-left: 25px; |
|
567 |
padding-right: 0.7em; |
|
568 |
padding-top: 0.2em; |
|
569 |
padding-bottom: 0.2em; |
|
570 |
cursor: pointer; |
|
571 |
background-repeat: no-repeat; |
|
572 |
font-size: 90%; |
|
573 |
|
|
574 |
.DHTMLSuite_menuItem_sub_arrowShowSub { |
|
575 |
right: 3px !important; |
|
429 | 576 |
} |
430 | 577 |
} |
431 |
} |
|
578 |
// Regular |
|
579 |
.DHTMLSuite_menuItem_sub_regular{ |
|
580 |
a.DHTMLSuite_menuItem_textContent{ } |
|
581 |
} |
|
582 |
// Hover & Active |
|
583 |
.DHTMLSuite_menuItem_sub_over, |
|
584 |
.DHTMLSuite_menuItem_sub_active { |
|
585 |
color: @color-orange-strong ; |
|
586 |
background-color: @brand-superlight; |
|
587 |
} |
|
588 |
|
|
589 |
} // /.DHTMLSuite_menuBar_sub |
|
432 | 590 |
|
433 | 591 |
|
434 | 592 |
|
Auch abrufbar als: Unified diff
css/less -> Geaenderte & Neue Less-Dateien