From: Radek Czajka Date: Wed, 12 Jan 2011 12:33:17 +0000 (+0100) Subject: #536: separator tags, X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/dad2926396c3d80ad59421afab6b0d819c288cf8 #536: separator tags, fix for displaying empty verses --- diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 91868e3e..3255d751 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -169,6 +169,10 @@ } /* wersy */ +.htmlview *[x-verse]:after { + content: "\feff"; +} + .htmlview .strofa .wers_wciety, .htmlview .strofa .wers_wciety[data-wlf-typ='1'] { margin-left: 1em; } @@ -253,9 +257,9 @@ not(.strofa) > *[x-verse]::after { padding: 0 1em 1em 1em; } -.htmlview br.sekcja_swiatlo { - height: 3em; - /* visibility: hidden; */ +.htmlview hr.sekcja_swiatlo { + margin: 2em 0; + visibility: hidden; } .htmlview hr.separator_linia { @@ -270,6 +274,10 @@ not(.strofa) > *[x-verse]::after { text-align: center; } +.htmlview p.sekcja_asterysk:after { + content: "*"; +} + .htmlview div.lista_osob ol { list-style: none; padding: 0 0 0 1.5em; diff --git a/redakcja/static/js/wiki/xslt.js b/redakcja/static/js/wiki/xslt.js index daa18f65..9956d90b 100644 --- a/redakcja/static/js/wiki/xslt.js +++ b/redakcja/static/js/wiki/xslt.js @@ -17,7 +17,7 @@ function withStylesheets(code_block, onError) if (!xml2htmlStylesheet) { $.blockUI({message: 'Ładowanie arkuszy stylów...'}); $.ajax({ - url: STATIC_URL + 'xsl/wl2html_client.xsl?20101123', + url: STATIC_URL + 'xsl/wl2html_client.xsl?20110112', dataType: 'xml', timeout: 10000, success: function(data) { diff --git a/redakcja/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl index 55b3bf54..c2aea5fd 100644 --- a/redakcja/static/xsl/wl2html_client.xsl +++ b/redakcja/static/xsl/wl2html_client.xsl @@ -644,12 +644,12 @@ --> -

+
-
+

@@ -659,7 +659,12 @@ -
+ + + + + +