--- /dev/null
+#annoy-on {
+ font-size: 13px;
+ line-height: 1.15em;
+
+ padding: .1em 1em;
+ background: orange;
+ z-index: 200;
+ font-family: Arial, sans-serif;
+ display: block;
+ padding: 0 1em;
+ width: 1em;
+ text-align:center;
+ border-radius: 0 0 0 1em;
+ position: absolute;
+ top: 0;
+ right: 0;
+ color: black;
+}
+
+#annoy {
+ font-size: 13px;
+ line-height: 1.15em;
+ padding: 1em 5em 1em 0;
+ display: none;
+ background: orange;
+ font-family: Arial, sans-serif;
+ position: relative;
+ z-index: 200;
+}
+#annoy p {
+ margin: 0 0 0 10em;;
+}
+#annoy a {
+ color: #4E56C8;
+}
+
+#annoy a#annoy-off {
+ padding: .5em 1em .5em;
+ width: 1em;
+ text-align:center;
+ font-family: Arial, sans-serif;
+ display: block;
+
+ border-radius: 0 0 0 1em;
+ position: absolute;
+ top: 0;
+ right: 0;
+ color: black;
+}
+#annoy a#annoy-off:hover {
+ cursor: pointer;
+}
-/* Modernizr 2.5.3 (Custom Build) | MIT & BSD\r
- * Build: http://www.modernizr.com/download/#-input\r
+/* Modernizr 2.6.2 (Custom Build) | MIT & BSD\r
+ * Build: http://modernizr.com/download/#-input-localstorage\r
*/\r
-;window.Modernizr=function(a,b,c){function t(a){i.cssText=a}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function v(a,b){return typeof a===b}function w(a,b){return!!~(""+a).indexOf(b)}function x(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:v(f,"function")?f.bind(d||b):f}return!1}function y(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)n[c[d]]=c[d]in j;return n.list&&(n.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),n}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "))}var d="2.5.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j=b.createElement("input"),k={}.toString,l={},m={},n={},o=[],p=o.slice,q,r={}.hasOwnProperty,s;!v(r,"undefined")&&!v(r.call,"undefined")?s=function(a,b){return r.call(a,b)}:s=function(a,b){return b in a&&v(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=p.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(p.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(p.call(arguments)))};return e});for(var z in l)s(l,z)&&(q=z.toLowerCase(),e[q]=l[z](),o.push((e[q]?"":"no-")+q));return e.input||y(),t(""),h=j=null,e._version=d,e}(this,this.document);
\ No newline at end of file
+;window.Modernizr=function(a,b,c){function t(a){i.cssText=a}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function v(a,b){return typeof a===b}function w(a,b){return!!~(""+a).indexOf(b)}function x(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:v(f,"function")?f.bind(d||b):f}return!1}function y(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)n[c[d]]=c[d]in j;return n.list&&(n.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),n}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "))}var d="2.6.2",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j=b.createElement("input"),k={}.toString,l={},m={},n={},o=[],p=o.slice,q,r={}.hasOwnProperty,s;!v(r,"undefined")&&!v(r.call,"undefined")?s=function(a,b){return r.call(a,b)}:s=function(a,b){return b in a&&v(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=p.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(p.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(p.call(arguments)))};return e}),l.localstorage=function(){try{return localStorage.setItem(g,g),localStorage.removeItem(g),!0}catch(a){return!1}};for(var z in l)s(l,z)&&(q=z.toLowerCase(),e[q]=l[z](),o.push((e[q]?"":"no-")+q));return e.input||y(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)s(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof enableClasses!="undefined"&&enableClasses&&(f.className+=" "+(b?"":"no-")+a),e[a]=b}return e},t(""),h=j=null,e._version=d,e}(this,this.document);\r
--- /dev/null
+{% load static %}
+<a id='annoy-on' href="http://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">1%</a>
+<div id='annoy'>
+ <a href="http://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
+ <img src='{% static "img/procent.png" %}' alt="Logo akcji 1%" style="float:left;margin: 0 2em" /></a>
+ <p>Droga użytkowniczko, drogi użytkowniku!</p>
+ <p>Czy wiesz, że biblioteka internetowa Wolne Lektury to jeden z projektów
+ <strong>fundacji Nowoczesna Polska</strong> –
+ organizacji pożytku publicznego działającej na rzecz wolności korzystania
+ z dóbr kultury? Wesprzyj nasze działania, przeznaczając na nie 1% swojego podatku.
+ Możesz to zrobić, wpisując w zeznaniu podatkowym numer
+ <strong>KRS 0000070056</strong>.</p>
+
+ <p><a href="http://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">Dowiedz się więcej</a></p>
+
+ <a id='annoy-off'>x</a>
+ <div style="clear:both;"></div>
+</div>
'css/social/shelf_tags.css',
'css/ui-lightness/jquery-ui-1.8.16.custom.css',
+
+ 'css/annoy.css',
],
'output_filename': 'css/compressed/all.css',
},
'book': {
'source_filenames': [
'css/master.book.css',
+
+ 'css/annoy.css',
],
'output_filename': 'css/compressed/book.css',
},
'pdcounter/pdcounter.js',
'sponsors/js/sponsors.js',
'player/openplayer.js',
-
'js/search.js',
+
+ 'js/annoy.js',
),
'output_filename': 'js/base.min.js',
},
'js/jquery.highlightfade.js',
'js/book.js',
'player/openplayer.js',
+
+ 'js/annoy.js',
],
'output_filename': 'js/book.min.js',
},