Changeset 179 for presentations/Tools
- Timestamp:
- Sep 22, 2006, 5:36:16 PM (19 years ago)
- Location:
- presentations/Tools/v2
- Files:
-
- 2 edited
-
Slidy/slidy.js (modified) (3 diffs)
-
css/styles.css (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
presentations/Tools/v2/Slidy/slidy.js
r163 r179 1054 1054 if (viewAll) 1055 1055 { 1056 initOutliner(); 1056 1057 singleSlideView(); 1057 1058 showToolbar(); … … 1060 1061 else 1061 1062 { 1063 expandAll(); 1062 1064 showAllSlides(); 1063 1065 hideToolbar(); … … 2367 2369 } 2368 2370 } 2371 function expandAll() 2372 { 2373 var items = document.getElementsByTagName("LI"); 2374 2375 for (var i = 0; i < items.length; ++i) 2376 { 2377 var target = items[i]; 2378 2379 if (!hasClass(target.parentNode, "outline")) 2380 continue; 2381 2382 target.onclick = outlineClick; 2383 2384 if (!ns_pos) 2385 { 2386 target.onmouseover = hoverOutline; 2387 target.onmouseout = unhoverOutline; 2388 } 2389 2390 if (foldable(target)) 2391 { 2392 target.foldable = true; 2393 target.onfocus = function () {outline = this;}; 2394 target.onblur = function () {outline = null;}; 2395 2396 if (!target.getAttribute("tabindex")) 2397 target.setAttribute("tabindex", "0"); 2398 2399 unfold(target); 2400 } 2401 else 2402 { 2403 addClass(target, "nofold"); 2404 target.visible = true; 2405 target.foldable = false; 2406 } 2407 } 2408 } 2369 2409 2370 2410 function foldable(item) -
presentations/Tools/v2/css/styles.css
r175 r179 16 16 } 17 17 18 body { 19 margin: 0; 20 padding: 0; 21 width: 100%; 22 height: 100%; 23 color: black; 24 background: white url(../images/header.gif) repeat-x left top; 25 font-size: 20pt; 26 } 27 28 h1 { 29 margin: 0em 0 0.1em; 30 margin-bottom: 1em; 31 padding-left: 100px; 32 padding-bottom: 0.3em; 33 font-size: 1.5em; 34 border-bottom: medium dotted #291873; 35 background: url(../images/h3_marker.gif) no-repeat 0px 0.3em; 36 } 18 /* Definition for screen, projection media 19 */ 20 @media screen, projection { 21 body { 22 margin: 0; 23 padding: 0; 24 width: 100%; 25 height: 100%; 26 color: black; 27 // background-color: #291873; 28 background: white url(../images/header.gif) repeat-x left top; 29 font-size: 20pt; 30 } 31 32 img#fullscreen { 33 position: absolute; 34 top: 2.5em; 35 bottom: 40px; 36 left: 0em; 37 right: auto; 38 max-width: 100%; 39 max-height: 100%; 40 z-index: 300; 41 overflow: auto; 42 display: block; 43 visibility: visible; 44 } 45 h1 { 46 margin: 0em 0 0.1em; 47 margin-bottom: 1em; 48 padding-left: 100px; 49 padding-bottom: 0.3em; 50 font-size: 1.5em; 51 border-bottom: medium dotted #291873; 52 background: url(../images/h3_marker.gif) no-repeat 0px 0.3em; 53 } 54 55 div.slide { 56 width: 100%; 57 height: 100%; 58 z-index: 20; 59 top: 0; 60 bottom: 0; 61 left: 0; 62 right: 0; 63 margin: 0; 64 padding: 2em 40px 0; 65 border: 0; 66 // background: transparent; 67 } 68 } 69 /* Definition for print media 70 */ 71 @media print { 72 * html div.slide { 73 height: 100%; 74 overflow: auto; 75 padding: 0px; 76 } /* end ie6-hack */ 77 div.slide { page-break-after: auto; } 78 div.handout { display: block; } 79 80 @page { 81 size: landscape; 82 } 83 84 @page :left { 85 margin-left: 1cm; 86 margin-right: 0.5cm; 87 } 88 @page :right { 89 margin-left: 3cm; 90 margin-right: 4cm; 91 } 92 body { 93 margin: 0; 94 padding: 0; 95 width: 100%; 96 height: 100%; 97 color: black; 98 background: white; 99 font-size: 16pt; 100 } 101 102 img#fullscreen { 103 max-width: 100%; 104 max-height: 100%; 105 } 106 img { 107 max-width: 80%; 108 max-height: 80%; 109 } 110 h1 { 111 margin: 0em 0 0.1em; 112 margin-bottom: 1em; 113 padding-left: 100px; 114 padding-bottom: 0.3em; 115 font-size: 1.5em; 116 border-bottom: medium dotted #291873; 117 background: #CCCCFF url(../images/h3_marker.gif) no-repeat 0px 0.3em; 118 } 119 div.slide { 120 width: 100%; 121 height: 100%; 122 z-index: 20; 123 top: 0; 124 bottom: 0; 125 left: 0; 126 right: 0; 127 margin: 0; 128 padding: 0em 40px 0; 129 border: 0; 130 // background: transparent; 131 } 132 } 133 134 /* Global definitions 135 */ 136 137 37 138 38 139 h2 { … … 287 388 /* All Slides */ 288 389 /* 289 * A sidebar has the same color and the same rounded corners as the H1290 * title, but on all sides. It is floated to the right.291 */292 div.sidebar293 {294 float: right;295 clear: right;296 margin: 0 -28px 0.5em 1em; /* 28px = width of the shadow */297 width: 30%;298 color: white;299 background: url(../images/blueround-right.png) right center repeat-y;300 padding: 40px 40px 0 20px; /* Top 40px reserved for ::before */301 }302 div.sidebar::before303 {304 display: block;305 line-height: 0;306 margin: -40px -40px 0 -20px; /* height 40px - margin-top 40px = 0 */307 background: url(../images/blueround-topright.png) right top no-repeat;308 text-align: left;309 content: url(../images/blueround-topleft.png); /* height is 40px */310 }311 div.sidebar::after312 {313 display: block;314 line-height: 0;315 margin: 0 -40px 0 -20px;316 background: url(../images/blueround-bottomright.png) right bottom no-repeat;317 text-align: left;318 content: url(../images/blueround-bottomleft.png);319 }320 div.sidebar > *:first-child321 {322 margin-top: -20px;323 }390 * A sidebar has the same color and the same rounded corners as the H1 391 * title, but on all sides. It is floated to the right. 392 */ 393 div.sidebar 394 { 395 float: right; 396 clear: right; 397 margin: 0 -28px 0.5em 1em; /* 28px = width of the shadow */ 398 width: 30%; 399 color: white; 400 background: url(../images/blueround-right.png) right center repeat-y; 401 padding: 40px 40px 0 20px; /* Top 40px reserved for ::before */ 402 } 403 div.sidebar::before 404 { 405 display: block; 406 line-height: 0; 407 margin: -40px -40px 0 -20px; /* height 40px - margin-top 40px = 0 */ 408 background: url(../images/blueround-topright.png) right top no-repeat; 409 text-align: left; 410 content: url(../images/blueround-topleft.png); /* height is 40px */ 411 } 412 div.sidebar::after 413 { 414 display: block; 415 line-height: 0; 416 margin: 0 -40px 0 -20px; 417 background: url(../images/blueround-bottomright.png) right bottom no-repeat; 418 text-align: left; 419 content: url(../images/blueround-bottomleft.png); 420 } 421 div.sidebar > *:first-child 422 { 423 margin-top: -20px; 424 } 324 425 325 426 … … 341 442 } 342 443 343 div.hvfill344 {345 position:relative;346 // top: 50%;347 left: 50%;348 margin-left: -350px; /* moitié de la largeur */349 // margin-top: -200px;350 }444 div.hvfill 445 { 446 position:relative; 447 // top: 50%; 448 left: 50%; 449 margin-left: -350px; /* moitié de la largeur */ 450 // margin-top: -200px; 451 } 351 452 352 453 div.hfill … … 359 460 360 461 /* 361 * A div.callout has a lighter background and also rounded corners. 362 */ 363 364 div.callout 365 { 366 clear: both; 367 margin: 1em -20px 0 0; /* 20px = width of the shadow */ 368 max-width: 1600px; 369 color: #291873; //#005A9C; 370 background: url(../images/lightblueround-right.png) right center repeat-y; 371 padding: 40px 40px 0 20px; /* Top 40px reserved for ::before */ 372 font-style: normal; 373 } 374 div.callout::before 375 { 376 display: block; 377 line-height: 0; 378 margin: -40px -40px 0 -20px; /* Height + margin-top = 0 */ 379 background: url(../images/lightblueround-topright.png) right top no-repeat; 380 text-align: left; 381 content: url(../images/lightblueround-topleft.png); /* Height is 40px */ 382 } 383 div.callout::after 384 { 385 display: block; 386 line-height: 0; 387 margin: 0 -40px 0 -20px; 388 background: url(../images/lightblueround-bottomright.png) right bottom no-repeat; 389 text-align: left; 390 content: url(../images/lightblueround-bottomleft.png); 391 clear: both; 392 } 393 div.callout > *:first-child, address > *:first-child 394 { 395 margin-top: -20px; 396 } 462 * A div.callout has a lighter background and also rounded corners. 463 */ 397 464 398 465 div.callout … … 430 497 } 431 498 432 div.slide { 433 width: 100%; 434 height: 100%; 435 z-index: 20; 436 top: 0; 437 bottom: 0; 438 left: 0; 439 right: 0; 440 margin: 0; 441 padding: 2em 40px 0; 442 border: 0; 443 // background: transparent; 444 } 445 img#fullscreen { 446 position: absolute; 447 top: 2.5em; 448 bottom: 40px; 449 left: 0em; 450 right: auto; 451 max-width: 100%; 452 max-height: 100%; 453 z-index: 300; 454 overflow: auto; 499 div.callout 500 { 501 clear: both; 502 margin: 1em -20px 0 0; /* 20px = width of the shadow */ 503 max-width: 1600px; 504 color: #291873; //#005A9C; 505 background: url(../images/lightblueround-right.png) right center repeat-y; 506 padding: 40px 40px 0 20px; /* Top 40px reserved for ::before */ 507 font-style: normal; 508 } 509 div.callout::before 510 { 455 511 display: block; 456 visibility: visible; 457 458 459 } 512 line-height: 0; 513 margin: -40px -40px 0 -20px; /* Height + margin-top = 0 */ 514 background: url(../images/lightblueround-topright.png) right top no-repeat; 515 text-align: left; 516 content: url(../images/lightblueround-topleft.png); /* Height is 40px */ 517 } 518 div.callout::after 519 { 520 display: block; 521 line-height: 0; 522 margin: 0 -40px 0 -20px; 523 background: url(../images/lightblueround-bottomright.png) right bottom no-repeat; 524 text-align: left; 525 content: url(../images/lightblueround-bottomleft.png); 526 clear: both; 527 } 528 div.callout > *:first-child, address > *:first-child 529 { 530 margin-top: -20px; 531 } 532 460 533 html>body div.slide { width: auto; height: auto; } 461 534 … … 521 594 522 595 div#cover p { 523 font-size: 1.0em;524 font-weight: bold;525 line-height: 1.0;526 color: #291873;527 text-align: center;528 }596 font-size: 1.0em; 597 font-weight: bold; 598 line-height: 1.0; 599 color: #291873; 600 text-align: center; 601 } 529 602 530 603 div#cover p#title 531 604 { 532 // margin: 0em 0 0.1em;533 // margin-bottom: 1em;534 // padding-left: 100px;535 // padding-bottom: 0.3em;536 // margin: 1em 0 1.2em;537 font-size: 1.5em;538 font-weight: bold;539 line-height: 1.0;540 color: #291873;541 //height: 30%;542 // background-color: #8B8EBE;543 // color: white;544 text-align: center;605 // margin: 0em 0 0.1em; 606 // margin-bottom: 1em; 607 // padding-left: 100px; 608 // padding-bottom: 0.3em; 609 // margin: 1em 0 1.2em; 610 font-size: 1.5em; 611 font-weight: bold; 612 line-height: 1.0; 613 color: #291873; 614 //height: 30%; 615 // background-color: #8B8EBE; 616 // color: white; 617 text-align: center; 545 618 } 546 619 … … 707 780 708 781 709 @media print {710 * html div.slide {711 height: 100%;712 overflow: auto;713 padding: 0px;714 } /* end ie6-hack */715 div.slide { page-break-after: always; }716 div.handout { display: block; }717 718 @page :left {719 margin-left: 1cm;720 margin-right: 0.5cm;721 }722 @page :right {723 margin-left: 3cm;724 margin-right: 4cm;725 }726 }
Note:
See TracChangeset
for help on using the changeset viewer.
