X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f9cf0981398fefa999bb7486b47499304b7a1814..7e954ab5ac6399b7f348b972613748bb9c484670:/redakcja/static/css/html.css?ds=sidebyside diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 820aed7a..e8fab4d3 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -37,7 +37,7 @@ -webkit-border-radius: 4px; } */ -.htmlview *[x-node = 'RDF'] { +.htmlview *[x-node = 'RDF'][x-ns = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'] { display: none; } @@ -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; } @@ -244,9 +248,18 @@ not(.strofa) > *[x-verse]::after { font-style: italic; } -.htmlview br.sekcja_swiatlo { - height: 3em; - /* visibility: hidden; */ +.htmlview .nota_red { + background-color: #eee; + border: 1px solid #888; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + display: block; + padding: 0 1em 1em 1em; +} + +.htmlview hr.sekcja_swiatlo { + margin: 2em 0; + visibility: hidden; } .htmlview hr.separator_linia { @@ -261,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; @@ -467,7 +484,7 @@ div[x-node] > .uwaga { position: relative; padding: 2px; margin-left: 0; - border: 1px solid #FFF; + border: 1px solid transparent; } /* focused editable element */ @@ -479,7 +496,7 @@ div[x-node] > .uwaga { visibility: hidden; } -.edit-button, .delete-button, .accept-button { +.edit-button, .delete-button, .accept-button, .tytul-button, .wyroznienie-button, .slowo-button, .znak-button { position: absolute; top: -21px; left: -1px; @@ -502,9 +519,31 @@ div[x-node] > .uwaga { left: 70px; } +.tytul-button { + left:150px; + width:100px; +} + +.wyroznienie-button { + left:250px; + width:100px; +} +.slowo-button { + left:350px; + width:100px; +} +.znak-button { + left:450px; + width:100px; +} + .edit-button:hover, .edit-button:active, .delete-button:hover, .delete-button:active, -.accept-button:hover, .accept-button:active { +.accept-button:hover, .accept-button:active, +.tytul-button:hover, .tytul-button:active, +.wyroznienie-button:hover, .wyroznienie-button:active, +.slowo-button:hover, .slowo-button:active, +.znak-button:hover, .znak-button:active { /* color: #FFF;*/ background-color: #999; color: #FFF; @@ -603,23 +642,97 @@ div[x-node] > .uwaga { border: 1px solid orange; } +.alien { + color: red; +} + /* specialChars */ #specialCharsContainer { text-align: center; width: 600px; + height: 400px; padding:20px; background-color: gray; position: absolute; top: 20px; left: 20px; z-index:1000; + overflow:auto; } #specialCharsContainer a { color: white; font-weight: bold; } + #tableSpecialChars td input { background-color: transparent; border:0; color: white; } + +#tableSpecialChars td input.recentSymbol { + background-color: white; + border:0; + color: black; +} + +/* XXX */ +body { + counter-reset: listanum; +} + +.htmlview span.lista[data-wlf-typ="num"] +{ + list-style-type: none; + list-style-position: inside; +} +.htmlview span.lista[data-wlf-typ="num"] .punkt:before { + counter-increment:listanum; + content: counter(listanum) ". "; +} + +.htmlview span.lista[data-wlf-typ="punk"] +{ + list-style-type: disc; +} + +.htmlview span.lista[data-wlf-typ="slowniczek"] +{ + list-style-type: none; +} + +.htmlview span.punkt { + display: list-item; + list-style-position: inside; +} + +.htmlview span.aktywnosc span.opis { + font-style: italic; +} +.htmlview span.aktywnosc span.wskazowki { + font-style: italic; + color: #202020; +} + +.htmlview .pomoce, .htmlview .czas, .htmlview .forma { + display: block; +} +.htmlview .pomoce:before { content: "Pomoce: "; } +.htmlview .czas:before { content: "Czas: "; } +.htmlview .czas:after { content: " min"; } +.htmlview .forma:before { content: "Forma:"; } + +.htmlview .aktywnosc { + display: block; + border: 1px dotted #996600; +} + +.htmlview .definiendum { + font-weight: bold; + display: block; +} + +.htmlview .definiens { + padding-left: 50px; +} +