X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/af71d33bb9efc38b271206c40b11e5ed8d6b62f9..472cf099a0373809eddb663ca4878c241bc86085:/redakcja/static/css/html.css diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 501d5230..6f2552bd 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -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 = */ /* ============= */ @@ -354,6 +364,11 @@ div[x-node] > .uwaga { user-select: none; margin-right: -12em; text-align: left; + color: #999; +} + +.htmlview .canon { + color: black; } .htmlview .noncanon { @@ -395,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; @@ -415,12 +435,6 @@ div[x-node] > .uwaga { z-index: 600; } -/* annotation editing shouldn't interfere with gallery */ -#html-view span.annotation-inline-box { - position:absolute; - left:0px; -} - /* * Przypisy na końcu utworu (aktualnie nieuzywane) */ @@ -471,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;