fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update localsettings + some cleanup
[redakcja.git]
/
redakcja
/
static
/
css
/
html.css
diff --git
a/redakcja/static/css/html.css
b/redakcja/static/css/html.css
index
b1bf4d9
..
50a3e02
100644
(file)
--- a/
redakcja/static/css/html.css
+++ b/
redakcja/static/css/html.css
@@
-37,7
+37,7
@@
-webkit-border-radius: 4px;
}
*/
-webkit-border-radius: 4px;
}
*/
-.htmlview *[x-node = 'RDF'] {
+.htmlview *[x-node = 'RDF']
[x-ns = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#']
{
display: none;
}
display: none;
}
@@
-107,6
+107,16
@@
font-size: 0.875em;
}
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 = */
/* ============= */
/* ============= */
/* = Numbering = */
/* ============= */
@@
-159,6
+169,10
@@
}
/* wersy */
}
/* wersy */
+.htmlview *[x-verse]:after {
+ content: "\feff";
+}
+
.htmlview .strofa .wers_wciety, .htmlview .strofa .wers_wciety[data-wlf-typ='1'] {
margin-left: 1em;
}
.htmlview .strofa .wers_wciety, .htmlview .strofa .wers_wciety[data-wlf-typ='1'] {
margin-left: 1em;
}
@@
-184,8
+198,7
@@
}
/* błędne wersy */
}
/* błędne wersy */
-.htmlview *:
-not(.strofa) > *[x-verse]::after {
+.htmlview *:not(.strofa) > *[x-verse]::after {
content: "Ten wers znajduje się poza strofą.";
display: inline;
background: red;
content: "Ten wers znajduje się poza strofą.";
display: inline;
background: red;
@@
-234,9
+247,18
@@
not(.strofa) > *[x-verse]::after {
font-style: italic;
}
font-style: italic;
}
-.htmlview br.sekcja_swiatlo {
- height: 3em;
- /* visibility: hidden; */
+.htmlview .nota_red {
+ background-color: #eee;
+ border: 1px solid #888;
+ -moz-border-radius: 10px;
+ -webkit-border-radius: 10px;
+ display: block;
+ padding: 0 1em 1em 1em;
+}
+
+.htmlview hr.sekcja_swiatlo {
+ margin: 2em 0;
+ visibility: hidden;
}
.htmlview hr.separator_linia {
}
.htmlview hr.separator_linia {
@@
-251,6
+273,10
@@
not(.strofa) > *[x-verse]::after {
text-align: center;
}
text-align: center;
}
+.htmlview p.sekcja_asterysk:after {
+ content: "*";
+}
+
.htmlview div.lista_osob ol {
list-style: none;
padding: 0 0 0 1.5em;
.htmlview div.lista_osob ol {
list-style: none;
padding: 0 0 0 1.5em;
@@
-333,11
+359,16
@@
div[x-node] > .uwaga {
left: auto;
clear: right;
width: 10em;
left: auto;
clear: right;
width: 10em;
+
+ font-style: normal;
font-weight: normal;
font-weight: normal;
- font-size: 13px;
- line-height: 18px;
font-variant: normal;
font-variant: normal;
+ letter-spacing: 0;
+ text-transform: none;
text-decoration: none;
text-decoration: none;
+
+ font-size: 13px;
+ line-height: 18px;
background-color: #fff;
/* border: 1px solid gray;
background-color: #fff;
/* border: 1px solid gray;
@@
-349,6
+380,11
@@
div[x-node] > .uwaga {
user-select: none;
margin-right: -12em;
text-align: left;
user-select: none;
margin-right: -12em;
text-align: left;
+ color: #999;
+}
+
+.htmlview .canon {
+ color: black;
}
.htmlview .noncanon {
}
.htmlview .noncanon {
@@
-381,7
+417,7
@@
div[x-node] > .uwaga {
background-color: #ffcccc;
}
.htmlview .pe .annotation:hover {
background-color: #ffcccc;
}
.htmlview .pe .annotation:hover {
- background-color: #96e0e4;
*/
+ background-color: #96e0e4;
}
*.htmlview *.annotation-inline-box {
position: static;
}
*.htmlview *.annotation-inline-box {
position: static;
@@
-390,9
+426,13
@@
div[x-node] > .uwaga {
/*
* Przypisy w tekście
*/
/*
* 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;
.htmlview .annotation-inline-box > span[x-annotation-box] {
display: none;
- position: absolute;
width: 300px;
font-size: 10pt;
line-height: 12pt;
width: 300px;
font-size: 10pt;
line-height: 12pt;
@@
-443,7
+483,7
@@
div[x-node] > .uwaga {
position: relative;
padding: 2px;
margin-left: 0;
position: relative;
padding: 2px;
margin-left: 0;
- border: 1px solid
#FFF
;
+ border: 1px solid
transparent
;
}
/* focused editable element */
}
/* focused editable element */
@@
-455,12
+495,12
@@
div[x-node] > .uwaga {
visibility: hidden;
}
visibility: hidden;
}
-.edit-button, .delete-button, .accept-button {
+.edit-button, .delete-button, .accept-button
, .tytul-button, .wyroznienie-button, .slowo-button, .znak-button
{
position: absolute;
top: -21px;
left: -1px;
width: 72px;
position: absolute;
top: -21px;
left: -1px;
width: 72px;
- height: 2
1
px;
+ height: 2
8
px;
display: block;
/* margin: 4px 0 2px 0;*/
padding: 5px 5px 2px 5px;
display: block;
/* margin: 4px 0 2px 0;*/
padding: 5px 5px 2px 5px;
@@
-478,9
+518,31
@@
div[x-node] > .uwaga {
left: 70px;
}
left: 70px;
}
+.tytul-button {
+ left:150px;
+ width:100px;
+}
+
+.wyroznienie-button {
+ left:250px;
+ width:100px;
+}
+.slowo-button {
+ left:350px;
+ width:100px;
+}
+.znak-button {
+ left:450px;
+ width:100px;
+}
+
.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 {
+.accept-button:hover, .accept-button:active,
+.tytul-button:hover, .tytul-button:active,
+.wyroznienie-button:hover, .wyroznienie-button:active,
+.slowo-button:hover, .slowo-button:active,
+.znak-button:hover, .znak-button:active {
/* color: #FFF;*/
background-color: #999;
color: #FFF;
/* color: #FFF;*/
background-color: #999;
color: #FFF;
@@
-578,3
+640,37
@@
div[x-node] > .uwaga {
padding: 0.25em;
border: 1px solid orange;
}
padding: 0.25em;
border: 1px solid orange;
}
+
+.alien {
+ color: red;
+}
+
+/* specialChars */
+#specialCharsContainer {
+ text-align: center;
+ width: 600px;
+ height: 400px;
+ padding:20px;
+ background-color: gray;
+ position: absolute;
+ top: 20px;
+ left: 20px;
+ z-index:1000;
+ overflow:auto;
+}
+#specialCharsContainer a {
+ color: white;
+ font-weight: bold;
+}
+
+#tableSpecialChars td input {
+ background-color: transparent;
+ border:0;
+ color: white;
+}
+
+#tableSpecialChars td input.recentSymbol {
+ background-color: white;
+ border:0;
+ color: black;
+}