X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f938afb8ab4cb091d12e0ef0311eaea14b774798..472cf099a0373809eddb663ca4878c241bc86085:/redakcja/static/css/html.css diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index bd710a8c..6f2552bd 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -26,14 +26,14 @@ font-size: 8px; line-height: 8px; margin-bottom: 4px; - + padding: 3px 4px; vertical-align: super; background-color:#add8e6; margin-left: -80px; width: 70px; text-align: center; - + -webkit-border-radius: 4px; } */ @@ -107,6 +107,16 @@ font-size: 0.875em; } +.htmlview pre { + overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */ + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ /* + width: 99%; */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ +} + /* ============= */ /* = Numbering = */ /* ============= */ @@ -210,18 +220,18 @@ not(.strofa) > *[x-verse]::after { .htmlview .motto_container { display: inline-block; margin: 1.5em 0 0; - clear: right; + clear: right; } .htmlview .motto { text-align: justify; - font-style: italic; + font-style: italic; } .htmlview p.motto_podpis { position: relative; right: -3em; - text-align: right; + text-align: right; } .htmlview div.fragment { @@ -333,14 +343,19 @@ div[x-node] > .uwaga { left: auto; clear: right; width: 10em; + + font-style: normal; font-weight: normal; - font-size: 13px; - line-height: 18px; font-variant: normal; + letter-spacing: 0; + text-transform: none; text-decoration: none; + + font-size: 13px; + line-height: 18px; background-color: #fff; /* border: 1px solid gray; - + border-right: none; */ z-index: 1; @@ -349,6 +364,15 @@ div[x-node] > .uwaga { user-select: none; margin-right: -12em; text-align: left; + color: #999; +} + +.htmlview .canon { + color: black; +} + +.htmlview .noncanon { + color: #d00; } .htmlview .motyw[x-editable] { @@ -361,6 +385,10 @@ div[x-node] > .uwaga { * Przypisy */ /* Znaczniki w tekście */ +.annotation { + font-style: normal; +} + .htmlview .annotation:before { content: "[" counter(main) "]"; counter-increment: main; @@ -370,7 +398,10 @@ div[x-node] > .uwaga { } .htmlview .annotation:hover { - background-color: #96e0e4; + background-color: #ffcccc; +} +.htmlview .pe .annotation:hover { + background-color: #96e0e4;*/ } *.htmlview *.annotation-inline-box { position: static; @@ -379,6 +410,11 @@ div[x-node] > .uwaga { /* * Przypisy w tekście */ + +.htmlview .annotation-inline-box:hover > span[x-annotation-box]{ + display: block; +} + .htmlview .annotation-inline-box > span[x-annotation-box] { display: none; position: absolute; @@ -449,7 +485,7 @@ div[x-node] > .uwaga { top: -21px; left: -1px; width: 72px; - height: 21px; + height: 28px; display: block; /* margin: 4px 0 2px 0;*/ padding: 5px 5px 2px 5px; @@ -467,8 +503,8 @@ div[x-node] > .uwaga { left: 70px; } -.edit-button:hover, .edit-button:active, -.delete-button:hover, .delete-button:active, +.edit-button:hover, .edit-button:active, +.delete-button:hover, .delete-button:active, .accept-button:hover, .accept-button:active { /* color: #FFF;*/ background-color: #999; @@ -566,4 +602,25 @@ div[x-node] > .uwaga { margin: -0.25em; padding: 0.25em; border: 1px solid orange; -} \ No newline at end of file +} + +/* specialChars */ +#specialCharsContainer { + text-align: center; + width: 600px; + padding:20px; + background-color: gray; + position: absolute; + top: 20px; + left: 20px; + z-index:1000; +} +#specialCharsContainer a { + color: white; + font-weight: bold; +} +#tableSpecialChars td input { + background-color: transparent; + border:0; + color: white; +}