1 /* Style widoku HTML. Nie należy tu ustawiać position ani marginesów */
3 counter-reset: main aktywnosc;
5 font-family: "Georgia", "Times New Roman", serif;
13 .htmlview[data-tag-names-visible] {
18 .htmlview[data-tag-names-visible] *[x-editable]:not(*[x-common])::before {
22 content: attr(x-node);
31 vertical-align: super;
32 background-color:#add8e6;
37 -webkit-border-radius: 4px;
40 .htmlview *[x-node = 'RDF'][x-ns = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'] {
58 text-decoration: none;
62 text-decoration: none;
97 .htmlview #footnotes div {
101 .htmlview #footnotes p {
106 .htmlview blockquote {
111 overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
112 white-space: pre-wrap; /* css-3 */
113 white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
114 white-space: -pre-wrap; /* Opera 4-6 */
115 white-space: -o-pre-wrap; /* Opera 7 */ /*
117 word-wrap: break-word; /* Internet Explorer 5.5+ */
131 padding: 0.25em 0.7em;
135 .htmlview .anchor:hover, .htmlview .anchor:active {
137 background-color: #CCC;
140 /* =================== */
141 /* = Custom elements = */
142 /* =================== */
143 .htmlview .autor_utwor {
147 margin-bottom: 0.25em;
150 .htmlview .dzielo_nadrzedne {
154 .htmlview .podtytul {
158 .htmlview .didaskalia {
160 margin: 0.5em 0 0 1.5em;
168 margin: 1.5em 0 0.5em auto;
172 .htmlview *[x-verse]:after {
176 .htmlview .strofa .wers_wciety, .htmlview .strofa .wers_wciety[data-wlf-typ='1'] {
180 .htmlview .strofa .wers_wciety[data-wlf-typ='2'], .htmlview .strofa .wers_cd {
184 .htmlview .strofa .wers_wciety[data-wlf-typ='3'] {
188 .htmlview .strofa .wers_wciety[data-wlf-typ='4'] {
192 .htmlview .strofa .wers_wciety[data-wlf-typ='5'] {
196 .htmlview .strofa .wers_wciety[data-wlf-typ='6'] {
202 not(.strofa) > *[x-verse]::after {
203 content: "Ten wers znajduje się poza strofą.";
207 border: 1px solid black;
208 -moz-border-radius: 10px;
209 -webkit-border-radius: 10px;
212 vertical-align: super;
215 .htmlview .kwestia .strofa {
219 .htmlview .akap, .htmlview .akap_cd, .htmlview .akap_dialog {
224 .htmlview .motto_container {
225 display: inline-block;
235 .htmlview p.motto_podpis {
241 .htmlview div.fragment {
242 border-bottom: 0.1em solid #999;
243 padding-bottom: 1.5em;
246 .htmlview div.nota p, .htmlview div.dedykacja p {
251 .htmlview .nota_red {
252 background-color: #eee;
253 border: 1px solid #888;
254 -moz-border-radius: 10px;
255 -webkit-border-radius: 10px;
257 padding: 0 1em 1em 1em;
260 .htmlview hr.sekcja_swiatlo {
265 .htmlview hr.separator_linia {
268 border-bottom: 0.1em solid #000;
271 .htmlview p.sekcja_asterysk {
277 .htmlview p.sekcja_asterysk:after {
281 .htmlview div.lista_osob ol {
283 padding: 0 0 0 1.5em;
286 .htmlview p.miejsce_czas {
290 .htmlview .mat, .htmlview .slowo_obce, .htmlview .tytul_dziela, .htmlview .didaskalia {
294 .htmlview .wyroznienie {
295 letter-spacing: 0.1em;
300 font-variant: small-caps;
303 .htmlview .parse-warning {
310 .parse-warning .message {
317 background-color: #96e0e4;
318 border: 1px solid black;
319 -moz-border-radius: 10px;
320 -webkit-border-radius: 10px;
333 div[x-node] > .uwaga {
341 .htmlview .uwaga:hover {
345 .htmlview .annotation-inline-box .uwaga {
350 /* ======================== */
351 /* = Footnotes and themes = */
352 /* ======================== */
353 .htmlview .begin, .htmlview .end {
358 /* position: absolute; */
366 font-variant: normal;
368 text-transform: none;
369 text-decoration: none;
373 background-color: #fff;
374 /* border: 1px solid gray;
379 -moz-user-select: -moz-none;
380 -webkit-user-select: none;
391 .htmlview .noncanon {
395 .htmlview .motyw[x-editable] {
396 border-left: 4px solid #DDD;
397 padding: 0.2em 0.2em 0.2em 0.5em;
404 /* Znaczniki w tekście */
409 .htmlview .annotation:before {
410 content: "[" counter(main) "]";
411 counter-increment: main;
412 vertical-align: super;
413 text-decoration: none;
417 .htmlview .annotation:hover {
418 background-color: #ffcccc;
420 .htmlview .pe .annotation:hover {
421 background-color: #96e0e4;*/
423 *.htmlview *.annotation-inline-box {
431 .htmlview .annotation-inline-box:hover > span[x-annotation-box]{
435 .htmlview .annotation-inline-box > span[x-annotation-box] {
447 -moz-border-radius: 10px;
448 -webkit-border-radius: 10px;
450 text-decoration: none;
455 * Przypisy na końcu utworu (aktualnie nieuzywane)
457 .htmlview .annotations-block {
458 counter-reset: secondary;
461 .htmlview .annotations-block .annotation-body {
467 .htmlview .annotations-block .annotation-backref {
475 .htmlview .annotations-block .annotation-backref:before {
476 content: "[" counter(secondary) "]";
477 counter-increment: secondary;
483 .htmlview *[x-editable] {
487 border: 1px solid transparent;
490 /* focused editable element */
491 .htmlview *[x-editable]:hover {
495 .htmlview *[x-editable][x-open] {
499 /*.edit-button, .delete-button, .accept-button, .tytul-button, .wyroznienie-button, .slowo-button, .znak-button, .luka-button */
500 .edit-button, .delete-button, .accept-button, .akap-edit-button {
507 /* margin: 4px 0 2px 0;*/
508 padding: 5px 5px 2px 5px;
510 background-color: #FAFAFA;
515 border: 1px solid #DDD;
528 .wyroznienie-button {
553 /*.edit-button:hover, .edit-button:active,
554 .delete-button:hover, .delete-button:active,
555 .accept-button:hover, .accept-button:active,
556 .tytul-button:hover, .tytul-button:active,
557 .wyroznienie-button:hover, .wyroznienie-button:active,
558 .slowo-button:hover, .slowo-button:active,
559 .znak-button:hover, .znak-button:active,
560 .luka-button:hover, .luka-button:active */
562 .edit-button:hover, .edit-button:active,
563 .delete-button:hover, .delete-button:active,
564 .accept-button:hover, .accept-button:active,
565 .akap-edit-button:hover, .akap-edit-button:active {
567 background-color: #999;
579 .default-menu:hover {
584 .htmlview *[x-annotation-box] > .default-menu {
588 .htmlview *[x-editable][x-open] > .default-menu {
592 .htmlview *[x-editable][x-open] *[x-annotation-box] > .default-menu {
596 .htmlview *[x-editable] > .edit-menu {
600 .htmlview *[x-editable] *[x-annotation-box] > .edit-menu {
604 .htmlview *[x-editable][x-open] > .edit-menu {
608 .htmlview *[x-editable][x-open] *[x-annotation-box] > .edit-menu {
614 background-color: gray;
620 .html-editarea textarea {
621 /* position: absolute; -- might be unnecessary, and we need attributes to be pushed down*/
626 min-width: 600px; /* for editing narrow elements */
630 /* background-color: ivory;*/
633 .html-editarea .html-editarea-attributes span {
634 border: 1px dotted black;
639 .html-editarea .html-editarea-attributes span label {
640 background-color: white;
643 display: inline-block;
647 .htmlview .out-of-flow-text {
649 font-face: monospace;
650 border: 2px solid red !important;
651 white-space: pre-line;
654 .htmlview .out-of-flow-text::before {
655 content: "Tekst w tej ramce nie jest otagowany!";
656 background-color: #ff6c6c;
660 border: 1px solid black;
661 -moz-border-radius: 10px;
662 -webkit-border-radius: 10px;
673 background-color: yellow;
676 border: 1px solid orange;
684 #specialCharsContainer {
689 background-color: gray;
696 #specialCharsContainer a {
701 #tableSpecialChars td input {
702 background-color: transparent;
707 #tableSpecialChars td input.recentSymbol {
708 background-color: white;
714 .htmlview .lista[data-wlf-typ="alfa"]
716 list-style-type: lower-alpha;
719 .htmlview .lista[data-wlf-typ="slowniczek"]
721 list-style-type: none;
724 .htmlview span.punkt {
726 list-style-position: inside;
729 .htmlview span.aktywnosc span.opis {
732 .htmlview span.aktywnosc span.opis p:before {
733 content: counter(aktywnosc) ". ";
734 counter-increment: aktywnosc;
738 .htmlview span.aktywnosc span.wskazowki {
743 .htmlview .pomoce, .htmlview .czas, .htmlview .forma {
746 .htmlview .pomoce:before { content: "Pomoce: "; }
747 .htmlview .czas:before { content: "Czas: "; }
748 .htmlview .czas:after { content: " min"; }
749 .htmlview .forma:before { content: "Forma: "; }
751 .htmlview .aktywnosc {
755 .htmlview .definiendum {
760 .htmlview .definiens {
782 .htmlview .kol span {
786 .htmlview img.obraz {
790 .htmlview span.luka {
792 display: inline-block;
794 border-bottom: 1px solid grey;
797 .htmlview span.zastap {
801 .htmlview span.zastap:after {
802 content: "→" attr(data-wlf-rozw);
803 color: darkgoldenrod;
806 .htmlview .punkt[data-wlf-nazwa]:before {
807 content: "[" attr(data-wlf-nazwa) "] ";
808 color: darkgoldenrod;
811 .htmlview .punkt[data-wlf-name]:before {
812 content: "!name![" attr(data-wlf-name) "] ";
817 .htmlview .punkt[data-wlf-rozw]:before {
818 content: "[" attr(data-wlf-rozw) "] ";