X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/eebb24ef74a635e06c6bc8f074302996ca5936ec..9eb5d6423cea01acb7589519480465394882ab7c:/modules/documentCanvas/wlxml.less diff --git a/modules/documentCanvas/wlxml.less b/modules/documentCanvas/wlxml.less index 41b3365..215d36b 100644 --- a/modules/documentCanvas/wlxml.less +++ b/modules/documentCanvas/wlxml.less @@ -63,4 +63,39 @@ span[wlxml-tag] { [wlxml-tag] metadata { display:none; +} + +[wlxml-class="list-items"] { + + counter-reset: myitem; + + > [wlxml-class="item"] { + counter-increment: myitem; + display: list-item; + margin-left: 10px; + padding-left: 5px; + + &:before { + content: counter(myitem) '. '; + margin-right:10px; + padding-right:10px; + } + } +} + +[wlxml-class="table"] { + + display: table; + border: 1px solid black; + + [wlxml-class="row"] { + display: table-row; + border: 1px solid black; + } + [wlxml-class="cell"] { + display: table-cell; + border: 1px solid black; + padding: 5px; + } + } \ No newline at end of file