Ticket 547, gallery sidebar title and styling
[redakcja.git] / redakcja / static / css / html.css
index 8884f08..820aed7 100644 (file)
     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 {
@@ -370,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;
@@ -391,9 +410,13 @@ 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;
     width: 300px;
     font-size: 10pt;
     line-height: 12pt;
@@ -461,7 +484,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;
@@ -578,4 +601,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;
+}