/* Style widoku HTML. Nie należy tu ustawiać position ani marginesów */
+
.htmlview {
+ counter-reset: main;
font-size: 16px;
- font: Georgia, "Times New Roman", serif;
+ font-family: "Georgia", "Times New Roman", serif;
line-height: 1.5em;
padding: 3em;
}
+.htmlview * {
+ position: relative;
+}
+
.htmlview div {
max-width: 36em;
}
text-align: left;
}
-.htmlview .annotation {
- font-style: normal;
- font-weight: normal;
- font-size: 12px;
-}
-
-.htmlview #footnotes .annotation {
- display: block;
- float: left;
- width: 2.5em;
- clear: both;
-}
-
.htmlview #footnotes div {
margin: 1.5em 0 0 0;
}
}
.htmlview .dzielo_nadrzedne {
- font-size: 0.375em;
+ font-size: 1.5em;
display: block;
line-height: 1.5em;
margin-bottom: -0.25em;
}
.htmlview .strofa {
- margin: 1.5em 0 0;
+ margin: 1.5em 0 0 auto;
}
.htmlview .kwestia .strofa {
font-style: normal;
font-variant: small-caps;
}
+
+.htmlview .parse-warning {
+ display: block;
+ font-size: 10pt;
+ background: #C0C0C0;
+ margin: 1em;
+}
+
+/* Przypisy */
+.htmlview .annotation {
+ vertical-align: super;
+ text-decoration: none;
+ font-size: 0.66em;
+}
+
+.htmlview a:hover {
+ text-decoration: none;
+}
+
+/* .htmlview .annotation:before {
+ content: "[\2217]";
+} */
+
+.htmlview span.annotation:before {
+ content: "[" counter(main) "]";
+ counter-increment: main;
+}
+
+.htmlview *[x-editable] {
+ border: 2px solid white;
+ padding: 5px;
+}
+
+/* focused editable element */
+.htmlview *[x-editable]:hover,
+.htmlview *[x-editable][x-open]
+{
+ background-color: #dfdfdf;
+ border: 2px solid black;
+}
+
+.htmlview *[x-editable] *.context-menu {
+ position: absolute;
+ top: -24px;
+ left: -2px;
+ height: 24px;
+
+ text-align: center;
+
+ font-size: 14px;
+ line-height: 24px;
+ font-weight: normal;
+ font-style: normal;
+
+ background-color: #dfdfdf;
+ margin: 0px;
+ padding: 0px;
+
+ border-top: 2px solid black;
+ border-left: 2px solid black;
+ border-right: 2px solid black;
+
+ display: none;
+ overflow: hidden;
+
+ -moz-border-radius-topright: 5px;
+ -moz-border-radius-topleft: 5px;
+
+ -webkit-border-top-right-radius: 5px;
+ -webkit-border-top-left-radius: 5px;
+}
+
+.htmlview *[x-editable] *.context-menu * {
+ padding: 5px;
+}
+
+.htmlview *[x-editable] *.context-menu *:hover {
+ background-color: yellow;
+}
+
+.htmlview *[x-editable]:hover *.context-menu {
+ display: block;
+}
+
+.htmlview *[x-editable][x-open] *.context-menu {
+ display: none;
+}
+
+.htmlview .annotation:hover {
+ background-color: #dfdfdf;
+}
+
+.parse-warning .message {
+ color: purple;
+ font-weight: bold;
+}