From: Gábor Kövesdán Date: Thu, 23 Aug 2012 17:35:18 +0000 (+0000) Subject: - Apply some local improvements to S5 and Slidy X-Git-Tag: release/1.79.1~6^2~356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9f853befd7d8864a839c0fb6a56fd8b367ebb7a;p=docbook-dsssl - Apply some local improvements to S5 and Slidy --- diff --git a/slides/files/s5/ui/default/framing.css b/slides/files/s5/ui/default/framing.css index 2a27dafbc..47e2d433f 100755 --- a/slides/files/s5/ui/default/framing.css +++ b/slides/files/s5/ui/default/framing.css @@ -8,7 +8,7 @@ div#header, div#footer, .slide {width: 100%; top: 0; left: 0;} div#header {top: 0; height: 3em; z-index: 1;} div#footer {top: auto; bottom: 0; height: 2.5em; z-index: 5;} -.slide {top: 0; width: 92%; padding: 3.5em 4% 4%; z-index: 2; list-style: none;} +.slide {top: 0; width: 92%; padding: 3.0em 4% 4%; z-index: 2; list-style: none;} div#controls {left: 50%; bottom: 0; width: 50%; z-index: 100;} div#controls form {text-align: right; width: 100%; margin: 0;} #currentSlide {position: absolute; width: 10%; left: 45%; bottom: 1em; z-index: 10;} diff --git a/slides/files/s5/ui/default/pretty.css b/slides/files/s5/ui/default/pretty.css index 838a7cf8d..47d62a035 100755 --- a/slides/files/s5/ui/default/pretty.css +++ b/slides/files/s5/ui/default/pretty.css @@ -1,6 +1,6 @@ /* Following are the presentation styles -- edit away! */ -body {background: #FFF url(bodybg.gif) -16px 0 no-repeat; color: #000; font-size: 2.25em;} +body {background: #FFF url(bodybg.gif) -16px 0 no-repeat; color: #000; font-size: 2.0em;} :link, :visited {text-decoration: none; color: #00C;} #controls :active {color: #88A !important;} #controls :focus {outline: 1px dotted #227;} @@ -40,7 +40,7 @@ div#footer {font-size: 0.5em; font-weight: bold; padding: 1em 0;} div.long {font-size: 0.75em;} .slide h1 {position: absolute; top: 0.7em; left: 87px; z-index: 1; margin: 0; padding: 0.3em 0 0 50px; white-space: nowrap; - font: bold 150%/1em Helvetica, sans-serif; text-transform: capitalize; + font: bold 150%/1em Helvetica, sans-serif; color: #DDE; background: #005;} .slide h3 {font-size: 130%;} h1 abbr {font-variant: small-caps;} @@ -71,12 +71,13 @@ ul.urls {list-style: none; display: inline; margin: 0;} html>body .external {border-bottom: none;} .external:after {content: " \274F"; font-size: smaller; color: #77B;} -.incremental, .incremental *, .incremental *:after {color: #DDE; visibility: visible;} +.incremental, .incremental *, .incremental *:after {visibility: hidden;} img.incremental {visibility: hidden;} .slide .current {color: #B02;} +.footnote {font-size: 0.75em;} /* diagnostics li:after {content: " [" attr(class) "]"; color: #F88;} - */ \ No newline at end of file + */ diff --git a/slides/files/slidy/scripts/slidy.js b/slides/files/slidy/scripts/slidy.js index 25b6e7650..6e0834dc3 100755 --- a/slides/files/slidy/scripts/slidy.js +++ b/slides/files/slidy/scripts/slidy.js @@ -1036,7 +1036,7 @@ var w3c_slidy = { if (this.has_class(node, "slide")) break; - if (this.has_class(node, "handout")) + if (this.has_class(node, "handout") || this.has_class(node, "notes")) break; } } @@ -1091,7 +1091,7 @@ var w3c_slidy = { { div = divs.item(i); - if (this.has_class(div, "handout")) + if (this.has_class(div, "handout") || this.has_class(div, "notes")) { // add note to collection notes[notes.length] = div; diff --git a/slides/files/slidy/scripts/slidy.js.gz b/slides/files/slidy/scripts/slidy.js.gz index b1c58e4c9..5d34eaabc 100755 Binary files a/slides/files/slidy/scripts/slidy.js.gz and b/slides/files/slidy/scripts/slidy.js.gz differ