fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Custom wlxml tag/class names in breadcrumbs and familytree
[fnpeditor.git]
/
modules
/
documentCanvas
/
nodes.less
diff --git
a/modules/documentCanvas/nodes.less
b/modules/documentCanvas/nodes.less
index
3c52bce
..
d02e872
100644
(file)
--- a/
modules/documentCanvas/nodes.less
+++ b/
modules/documentCanvas/nodes.less
@@
-1,3
+1,11
@@
+[document-text-element] {
+ font-size: 14px;
+ display: inline;
+ margin: 0 1px;
+ border: 1px solid white;
+ white-space: pre-wrap;
+}
+
[wlxml-tag] {
float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */
border-color: white;
[wlxml-tag] {
float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */
border-color: white;
@@
-6,14
+14,14
@@
min-height:20px;
position:relative;
text-indent: 0;
min-height:20px;
position:relative;
text-indent: 0;
+ padding: 1px 1px;
}
}
-span[wlxml-tag] {
- display:inline-block;
+[wlxml-tag=span] {
min-width: 10px;
}
min-width: 10px;
}
-[wlxml-tag=header] {
+[wlxml-tag=header]
[document-text-element]
{
font-size: 13px;
font-weight: bold;
margin: 10px 0;
font-size: 13px;
font-weight: bold;
margin: 10px 0;
@@
-40,11
+48,11
@@
span[wlxml-tag] {
color: blue;
}
color: blue;
}
-[wlxml-tag=header]
> [wlxml-class=author
] {
+[wlxml-tag=header]
[wlxml-class=author] [document-text-element
] {
font-size: 14px;
}
font-size: 14px;
}
-[wlxml-tag=header]
> [wlxml-class=title
] {
+[wlxml-tag=header]
[wlxml-class=title] [document-text-element
] {
font-size:18px;
}
font-size:18px;
}
@@
-61,13
+69,13
@@
span[wlxml-tag] {
font-style: italic;
}
font-style: italic;
}
-[wlxml-tag
] metadata
{
+[wlxml-tag
=metadata]
{
display:none;
}
[wlxml-class="list-items"] {
display:none;
}
[wlxml-class="list-items"] {
-
>
[wlxml-class="item"] {
+ [wlxml-class="item"] {
display: list-item;
margin-left: 10px;
padding-left: 5px;
display: list-item;
margin-left: 10px;
padding-left: 5px;
@@
-75,7
+83,7
@@
span[wlxml-tag] {
}
[wlxml-class="item"] {
}
[wlxml-class="item"] {
-
>
[wlxml-class="list-items"] {
+ [wlxml-class="list-items"] {
display: block;
}
}
display: block;
}
}
@@
-121,4
+129,9
@@
span[wlxml-tag] {
padding: 5px;
}
padding: 5px;
}
+}
+
+[wlxml-tag="aside"] {
+ margin-top: 10px;
+ margin-bottom: 10px;
}
\ No newline at end of file
}
\ No newline at end of file