fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
numeracja
[redakcja.git]
/
src
/
redakcja
/
static
/
css
/
html.scss
diff --git
a/src/redakcja/static/css/html.scss
b/src/redakcja/static/css/html.scss
index
881083a
..
3819c82
100644
(file)
--- a/
src/redakcja/static/css/html.scss
+++ b/
src/redakcja/static/css/html.scss
@@
-300,12
+300,19
@@
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,
+.htmlview .reference-inline-box {
+ &:hover {
+ > span[x-annotation-box],
+ > span[x-preview]
+ {
+ display: block;
+ }
}
}
- > span[x-annotation-box] {
+ > span[x-annotation-box],
+ > span[x-preview]
+ {
display: none;
width: 300px;
font-size: 10pt;
display: none;
width: 300px;
font-size: 10pt;
@@
-327,6
+334,7
@@
div[x-node] > .uwaga {
&.editing {
display: block;
&.editing {
display: block;
+ background: #93ff93;
}
}
}
}
@@
-548,3
+556,27
@@
div[x-node] > .uwaga {
}
}
}
}
}
}
+
+
+
+div[x-node="numeracja"] {
+ background: lightblue;
+ margin: 2em;
+ padding: 2em;
+ border-radius: 1em;
+ &::before {
+ content: "Reset numeracji";
+ }
+}
+
+*[x-number]::before {
+ display: block;
+ content: attr(x-number);
+ position: absolute;
+ text-align: right;
+ width: 40px;
+ left: -60px;
+ font-size: .9em;
+ opacity: .8;
+
+}