##// END OF EJS Templates
More accurate vertical positioning of #main-menu...
Jean-Philippe Lang -
r843:01105966d958
parent child
Show More
@@ -1,476 +1,476
1 1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2 2
3 3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 4 h1 {margin:0; padding:0; font-size: 24px;}
5 5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 6 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 7 h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8 8
9 9 /***** Layout *****/
10 10 #top-menu {background: #2C4056;color: #fff;height:1.5em; padding: 2px 6px 0px 6px;}
11 11 #top-menu a {color: #fff; padding-right: 4px;}
12 12 #account {float:right;}
13 13
14 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px;}
14 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
15 15 #header a {color:#f8f8f8;}
16 16 #quick-search {float:right;}
17 17
18 #main-menu {position: absolute; top: 5.5em; left:6px;}
18 #main-menu {position: absolute; bottom: 0px; left:6px;}
19 19 #main-menu ul {margin: 0; padding: 0;}
20 20 #main-menu li {
21 21 float:left;
22 22 list-style-type:none;
23 23 margin: 0px 10px 0px 0px;
24 24 padding: 0px 0px 0px 0px;
25 25 white-space:nowrap;
26 26 }
27 27 #main-menu li a {
28 28 display: block;
29 29 color: #fff;
30 30 text-decoration: none;
31 31 margin: 0;
32 32 padding: 4px 4px 4px 4px;
33 33 background: #2C4056;
34 34 }
35 35 #main-menu li a:hover {background:#759FCF;}
36 36
37 37 #main {background: url(../images/mainbg.png) repeat-x; background-color:#EEEEEE;}
38 38
39 39 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
40 40 * html #sidebar{ width: 17%; }
41 41 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
42 42 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
43 43 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
44 44
45 45 #content { width: 80%; background: url(../images/contentbg.png) repeat-x; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; position: relative; z-index: 10; height:600px; min-height: 600px;}
46 46 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
47 47 html>body #content {
48 48 height: auto;
49 49 min-height: 600px;
50 50 }
51 51
52 52 #main.nosidebar #sidebar{ display: none; }
53 53 #main.nosidebar #content{ width: auto; border-right: 0; }
54 54
55 55 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
56 56
57 57 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
58 58 #login-form table td {padding: 6px;}
59 59 #login-form label {font-weight: bold;}
60 60
61 61 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
62 62
63 63 /***** Links *****/
64 64 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
65 65 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
66 66 a img{ border: 0; }
67 67
68 68 /***** Tables *****/
69 69 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
70 70 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
71 71 table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;}
72 72 table.list td.id { width: 2%; text-align: center;}
73 73 table.list td.checkbox { width: 15px; padding: 0px;}
74 74
75 75 tr.issue { text-align: center; white-space: nowrap; }
76 76 tr.issue td.subject, tr.issue td.category { white-space: normal; }
77 77 tr.issue td.subject { text-align: left; }
78 78
79 79 table.list tbody tr:hover { background-color:#ffffdd; }
80 80 table td {padding:2px;}
81 81 table p {margin:0;}
82 82 .odd {background-color:#f6f7f8;}
83 83 .even {background-color: #fff;}
84 84
85 85 .highlight { background-color: #FCFD8D;}
86 86 .highlight.token-1 { background-color: #faa;}
87 87 .highlight.token-2 { background-color: #afa;}
88 88 .highlight.token-3 { background-color: #aaf;}
89 89
90 90 .box{
91 91 padding:6px;
92 92 margin-bottom: 10px;
93 93 background-color:#f6f6f6;
94 94 color:#505050;
95 95 line-height:1.5em;
96 96 border: 1px solid #e4e4e4;
97 97 }
98 98
99 99 div.square {
100 100 border: 1px solid #999;
101 101 float: left;
102 102 margin: .3em .4em 0 .4em;
103 103 overflow: hidden;
104 104 width: .6em; height: .6em;
105 105 }
106 106
107 107 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px;font-size:0.9em;}
108 108 .splitcontentleft{float:left; width:49%;}
109 109 .splitcontentright{float:right; width:49%;}
110 110 form {display: inline;}
111 111 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
112 112 fieldset {border: 1px solid #e4e4e4; margin:0;}
113 113 legend {color: #484848;}
114 114 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
115 115 textarea.wiki-edit { width: 99%; }
116 116 li p {margin-top: 0;}
117 117 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
118 118 .autoscroll {overflow-x: auto; padding:1px; width:100%;}
119 119 #user_firstname, #user_lastname, #user_mail, #notification_option { width: 90%; }
120 120
121 121 /***** Tabular forms ******/
122 122 .tabular p{
123 123 margin: 0;
124 124 padding: 5px 0 8px 0;
125 125 padding-left: 180px; /*width of left column containing the label elements*/
126 126 height: 1%;
127 127 clear:left;
128 128 }
129 129
130 130 .tabular label{
131 131 font-weight: bold;
132 132 float: left;
133 133 text-align: right;
134 134 margin-left: -180px; /*width of left column*/
135 135 width: 175px; /*width of labels. Should be smaller than left column to create some right
136 136 margin*/
137 137 }
138 138
139 139 .tabular label.floating{
140 140 font-weight: normal;
141 141 margin-left: 0px;
142 142 text-align: left;
143 143 width: 200px;
144 144 }
145 145
146 146 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
147 147
148 148 #settings .tabular p{ padding-left: 300px; }
149 149 #settings .tabular label{ margin-left: -300px; width: 295px; }
150 150
151 151 .required {color: #bb0000;}
152 152 .summary {font-style: italic;}
153 153
154 154 div.attachments p { margin:4px 0 2px 0; }
155 155
156 156 /***** Flash & error messages ****/
157 157 #flash div, #errorExplanation, .nodata {
158 158 padding: 4px 4px 4px 30px;
159 159 margin-bottom: 12px;
160 160 font-size: 1.1em;
161 161 border: 2px solid;
162 162 }
163 163
164 164 #flash div {margin-top: 6px;}
165 165
166 166 #flash div.error, #errorExplanation {
167 167 background: url(../images/false.png) 8px 5px no-repeat;
168 168 background-color: #ffe3e3;
169 169 border-color: #dd0000;
170 170 color: #550000;
171 171 }
172 172
173 173 #flash div.notice {
174 174 background: url(../images/true.png) 8px 5px no-repeat;
175 175 background-color: #dfffdf;
176 176 border-color: #9fcf9f;
177 177 color: #005f00;
178 178 }
179 179
180 180 .nodata {
181 181 text-align: center;
182 182 background-color: #FFEBC1;
183 183 border-color: #FDBF3B;
184 184 color: #A6750C;
185 185 }
186 186
187 187 #errorExplanation ul { font-size: 0.9em;}
188 188
189 189 /***** Ajax indicator ******/
190 190 #ajax-indicator {
191 191 position: absolute; /* fixed not supported by IE */
192 192 background-color:#eee;
193 193 border: 1px solid #bbb;
194 194 top:35%;
195 195 left:40%;
196 196 width:20%;
197 197 font-weight:bold;
198 198 text-align:center;
199 199 padding:0.6em;
200 200 z-index:100;
201 201 filter:alpha(opacity=50);
202 202 -moz-opacity:0.5;
203 203 opacity: 0.5;
204 204 -khtml-opacity: 0.5;
205 205 }
206 206
207 207 html>body #ajax-indicator { position: fixed; }
208 208
209 209 #ajax-indicator span {
210 210 background-position: 0% 40%;
211 211 background-repeat: no-repeat;
212 212 background-image: url(../images/loading.gif);
213 213 padding-left: 26px;
214 214 vertical-align: bottom;
215 215 }
216 216
217 217 /***** Calendar *****/
218 218 table.cal {border-collapse: collapse; width: 100%; margin: 8px 0 6px 0;border: 1px solid #d7d7d7;}
219 219 table.cal thead th {width: 14%;}
220 220 table.cal tbody tr {height: 100px;}
221 221 table.cal th { background-color:#EEEEEE; padding: 4px; }
222 222 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
223 223 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
224 224 table.cal td.odd p.day-num {color: #bbb;}
225 225 table.cal td.today {background:#ffffdd;}
226 226 table.cal td.today p.day-num {font-weight: bold;}
227 227
228 228 /***** Tooltips ******/
229 229 .tooltip{position:relative;z-index:24;}
230 230 .tooltip:hover{z-index:25;color:#000;}
231 231 .tooltip span.tip{display: none; text-align:left;}
232 232
233 233 div.tooltip:hover span.tip{
234 234 display:block;
235 235 position:absolute;
236 236 top:12px; left:24px; width:270px;
237 237 border:1px solid #555;
238 238 background-color:#fff;
239 239 padding: 4px;
240 240 font-size: 0.8em;
241 241 color:#505050;
242 242 }
243 243
244 244 /***** Progress bar *****/
245 245 .progress {
246 246 border: 1px solid #D7D7D7;
247 247 border-collapse: collapse;
248 248 border-spacing: 0pt;
249 249 empty-cells: show;
250 250 padding: 3px;
251 251 width: 40em;
252 252 text-align: center;
253 253 }
254 254
255 255 .progress td { height: 1em; }
256 256 .progress .closed { background: #BAE0BA none repeat scroll 0%; }
257 257 .progress .open { background: #FFF none repeat scroll 0%; }
258 258
259 259 /***** Tabs *****/
260 260 #content .tabs{height: 2.6em;}
261 261 #content .tabs ul{margin:0;}
262 262 #content .tabs ul li{
263 263 float:left;
264 264 list-style-type:none;
265 265 white-space:nowrap;
266 266 margin-right:8px;
267 267 background:#fff;
268 268 }
269 269 #content .tabs ul li a{
270 270 display:block;
271 271 font-size: 0.9em;
272 272 text-decoration:none;
273 273 line-height:1em;
274 274 padding:4px;
275 275 border: 1px solid #c0c0c0;
276 276 }
277 277
278 278 #content .tabs ul li a.selected, #content .tabs ul li a:hover{
279 279 background-color: #507AAA;
280 280 border: 1px solid #507AAA;
281 281 color: #fff;
282 282 text-decoration:none;
283 283 }
284 284
285 285 /***** Diff *****/
286 286 .diff_out { background: #fcc; }
287 287 .diff_in { background: #cfc; }
288 288
289 289 /***** Wiki *****/
290 290 div.wiki table {
291 291 border: 1px solid #505050;
292 292 border-collapse: collapse;
293 293 }
294 294
295 295 div.wiki table, div.wiki td, div.wiki th {
296 296 border: 1px solid #bbb;
297 297 padding: 4px;
298 298 }
299 299
300 300 div.wiki .external {
301 301 background-position: 0% 60%;
302 302 background-repeat: no-repeat;
303 303 padding-left: 12px;
304 304 background-image: url(../images/external.png);
305 305 }
306 306
307 307 div.wiki a.new {
308 308 color: #b73535;
309 309 }
310 310
311 311 div.wiki pre {
312 312 margin: 1em 1em 1em 1.6em;
313 313 padding: 2px;
314 314 background-color: #fafafa;
315 315 border: 1px solid #dadada;
316 316 width:95%;
317 317 overflow-x: auto;
318 318 }
319 319
320 320 div.wiki div.toc {
321 321 background-color: #ffffdd;
322 322 border: 1px solid #e4e4e4;
323 323 padding: 4px;
324 324 line-height: 1.2em;
325 325 margin-bottom: 12px;
326 326 margin-right: 12px;
327 327 display: table
328 328 }
329 329 * html div.wiki div.toc { width: 50%; } /* IE6 doesn't autosize div */
330 330
331 331 div.wiki div.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
332 332 div.wiki div.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
333 333
334 334 div.wiki div.toc a {
335 335 display: block;
336 336 font-size: 0.9em;
337 337 font-weight: normal;
338 338 text-decoration: none;
339 339 color: #606060;
340 340 }
341 341 div.wiki div.toc a:hover { color: #c61a1a; text-decoration: underline;}
342 342
343 343 div.wiki div.toc a.heading2 { margin-left: 6px; }
344 344 div.wiki div.toc a.heading3 { margin-left: 12px; font-size: 0.8em; }
345 345
346 346 /***** My page layout *****/
347 347 .block-receiver {
348 348 border:1px dashed #c0c0c0;
349 349 margin-bottom: 20px;
350 350 padding: 15px 0 15px 0;
351 351 }
352 352
353 353 .mypage-box {
354 354 margin:0 0 20px 0;
355 355 color:#505050;
356 356 line-height:1.5em;
357 357 }
358 358
359 359 .handle {
360 360 cursor: move;
361 361 }
362 362
363 363 a.close-icon {
364 364 display:block;
365 365 margin-top:3px;
366 366 overflow:hidden;
367 367 width:12px;
368 368 height:12px;
369 369 background-repeat: no-repeat;
370 370 cursor:pointer;
371 371 background-image:url('../images/close.png');
372 372 }
373 373
374 374 a.close-icon:hover {
375 375 background-image:url('../images/close_hl.png');
376 376 }
377 377
378 378 /***** Gantt chart *****/
379 379 .gantt_hdr {
380 380 position:absolute;
381 381 top:0;
382 382 height:16px;
383 383 border-top: 1px solid #c0c0c0;
384 384 border-bottom: 1px solid #c0c0c0;
385 385 border-right: 1px solid #c0c0c0;
386 386 text-align: center;
387 387 overflow: hidden;
388 388 }
389 389
390 390 .task {
391 391 position: absolute;
392 392 height:8px;
393 393 font-size:0.8em;
394 394 color:#888;
395 395 padding:0;
396 396 margin:0;
397 397 line-height:0.8em;
398 398 }
399 399
400 400 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
401 401 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
402 402 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
403 403 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
404 404
405 405 /***** Icons *****/
406 406 .icon {
407 407 background-position: 0% 40%;
408 408 background-repeat: no-repeat;
409 409 padding-left: 20px;
410 410 padding-top: 2px;
411 411 padding-bottom: 3px;
412 412 }
413 413
414 414 .icon22 {
415 415 background-position: 0% 40%;
416 416 background-repeat: no-repeat;
417 417 padding-left: 26px;
418 418 line-height: 22px;
419 419 vertical-align: middle;
420 420 }
421 421
422 422 .icon-add { background-image: url(../images/add.png); }
423 423 .icon-edit { background-image: url(../images/edit.png); }
424 424 .icon-del { background-image: url(../images/delete.png); }
425 425 .icon-move { background-image: url(../images/move.png); }
426 426 .icon-save { background-image: url(../images/save.png); }
427 427 .icon-cancel { background-image: url(../images/cancel.png); }
428 428 .icon-pdf { background-image: url(../images/pdf.png); }
429 429 .icon-csv { background-image: url(../images/csv.png); }
430 430 .icon-html { background-image: url(../images/html.png); }
431 431 .icon-image { background-image: url(../images/image.png); }
432 432 .icon-txt { background-image: url(../images/txt.png); }
433 433 .icon-file { background-image: url(../images/file.png); }
434 434 .icon-folder { background-image: url(../images/folder.png); }
435 435 .icon-package { background-image: url(../images/package.png); }
436 436 .icon-home { background-image: url(../images/home.png); }
437 437 .icon-user { background-image: url(../images/user.png); }
438 438 .icon-mypage { background-image: url(../images/user_page.png); }
439 439 .icon-admin { background-image: url(../images/admin.png); }
440 440 .icon-projects { background-image: url(../images/projects.png); }
441 441 .icon-logout { background-image: url(../images/logout.png); }
442 442 .icon-help { background-image: url(../images/help.png); }
443 443 .icon-attachment { background-image: url(../images/attachment.png); }
444 444 .icon-index { background-image: url(../images/index.png); }
445 445 .icon-history { background-image: url(../images/history.png); }
446 446 .icon-feed { background-image: url(../images/feed.png); }
447 447 .icon-time { background-image: url(../images/time.png); }
448 448 .icon-stats { background-image: url(../images/stats.png); }
449 449 .icon-warning { background-image: url(../images/warning.png); }
450 450 .icon-fav { background-image: url(../images/fav.png); }
451 451 .icon-fav-off { background-image: url(../images/fav_off.png); }
452 452 .icon-reload { background-image: url(../images/reload.png); }
453 453 .icon-lock { background-image: url(../images/locked.png); }
454 454 .icon-unlock { background-image: url(../images/unlock.png); }
455 455 .icon-note { background-image: url(../images/note.png); }
456 456
457 457 .icon22-projects { background-image: url(../images/22x22/projects.png); }
458 458 .icon22-users { background-image: url(../images/22x22/users.png); }
459 459 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
460 460 .icon22-role { background-image: url(../images/22x22/role.png); }
461 461 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
462 462 .icon22-options { background-image: url(../images/22x22/options.png); }
463 463 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
464 464 .icon22-authent { background-image: url(../images/22x22/authent.png); }
465 465 .icon22-info { background-image: url(../images/22x22/info.png); }
466 466 .icon22-comment { background-image: url(../images/22x22/comment.png); }
467 467 .icon22-package { background-image: url(../images/22x22/package.png); }
468 468 .icon22-settings { background-image: url(../images/22x22/settings.png); }
469 469 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
470 470
471 471 /***** Media print specific styles *****/
472 472 @media print {
473 473 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual { display:none; }
474 474 #main { background: #fff; }
475 475 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; }
476 476 }
General Comments 0
You need to be logged in to leave comments. Login now