From: Lukasz Anwajler Date: Tue, 1 Feb 2011 14:29:23 +0000 (-0600) Subject: Materials for teachers - UI changes. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/743fc7a6d0086d6e0a2706db4d6a1b5cd1ef00d9?ds=sidebyside;hp=--cc Materials for teachers - UI changes. --- 743fc7a6d0086d6e0a2706db4d6a1b5cd1ef00d9 diff --git a/wolnelektury/static/css/master.css b/wolnelektury/static/css/master.css index 1ea2366d8..7bd410ac7 100644 --- a/wolnelektury/static/css/master.css +++ b/wolnelektury/static/css/master.css @@ -1055,7 +1055,7 @@ div.shown-tags p, div.all-tags p { #document-list .download-doc { display: none; - color: #EE2124; + color: #00F; } /* ====================== */ diff --git a/wolnelektury/static/css/s5/pretty.css b/wolnelektury/static/css/s5/pretty.css index 728c341ad..ab0dbeec4 100644 --- a/wolnelektury/static/css/s5/pretty.css +++ b/wolnelektury/static/css/s5/pretty.css @@ -48,15 +48,15 @@ h1 abbr {font-variant: small-caps;} div#controls {position: absolute; left: 50%; bottom: 0; width: 50%; text-align: right; font: bold 0.9em Verdana, Helvetica, sans-serif;} -html>body div#controls {position: fixed; padding: 0 0 1em 0; - top: auto;} +html>body div#controls {position: absolute; padding: 0 0 1em 0; + top: auto; left:0; width:500px;} div#controls form {position: absolute; bottom: 0; right: 0; width: 100%; margin: 0; padding: 0;} #controls #navLinks a {padding: 0; margin: 0 0.5em; background: #005; border: none; color: #779; cursor: pointer;} #controls #navList {height: 1em;} -#controls #navList #jumplist {position: absolute; bottom: 0; right: 0; background: #DDD; color: #227;} +#controls #navList #jumplist {position: absolute; bottom: 0; left: 10px; background: #DDD; color: #227; width: 300px;} #currentSlide {text-align: center; font-size: 0.5em; color: #449;} diff --git a/wolnelektury/static/js/catalogue.js b/wolnelektury/static/js/catalogue.js index d9de589f1..3eb007470 100644 --- a/wolnelektury/static/js/catalogue.js +++ b/wolnelektury/static/js/catalogue.js @@ -464,7 +464,7 @@ function serverTime() { return false; }); - $('.sponsor-logos').cycle({timeout: 3000}); + //$('.sponsor-logos').cycle({timeout: 3000}); $('.widget-code').focus( function(){ diff --git a/wolnelektury/static/js/slides.js b/wolnelektury/static/js/slides.js index 38fe8531c..cf17db64b 100644 --- a/wolnelektury/static/js/slides.js +++ b/wolnelektury/static/js/slides.js @@ -95,10 +95,11 @@ function slideLabel() { for (var o = 0; o < menunodes.length; o++) { otext += nodeValue(menunodes[o]); } + otext = otext.substr(0,15) + '...'; list.options[list.length] = new Option(n + ' : ' + otext, n); } } - +/* function currentSlide() { var cs; if (document.getElementById) { @@ -114,7 +115,7 @@ function currentSlide() { } else { cs.style.visibility = 'visible'; } -} +}*/ function go(step) { if (document.getElementById('slideProj').disabled || step == 0) return; @@ -154,7 +155,7 @@ function go(step) { ce.style.visibility = 'hidden'; ne.style.visibility = 'visible'; jl.selectedIndex = snum; - currentSlide(); + //currentSlide(); number = 0; } @@ -190,6 +191,7 @@ function toggle() { var slide = slideColl[n]; slide.style.visibility = 'visible'; } + document.getElementById("toggle").value = "Lista slajdów"; } else { slides.disabled = false; outline.disabled = true; @@ -200,6 +202,7 @@ function toggle() { slide.style.visibility = 'hidden'; } slideColl[snum].style.visibility = 'visible'; + document.getElementById("toggle").value = "Ciągły tekst"; } } @@ -374,26 +377,25 @@ function externalLinks() { function createControls() { var controlsDiv = document.getElementById("controls"); if (!controlsDiv) return; - var hider = ' onmouseover="showHide(\'s\');" onmouseout="showHide(\'h\');"'; + /*var hider = ' onmouseover="showHide(\'s\');" onmouseout="showHide(\'h\');"'; var hideDiv, hideList = ''; if (controlVis == 'hidden') { hideDiv = hider; } else { hideList = hider; - } - controlsDiv.innerHTML = '
' + - '