X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/eebb24ef74a635e06c6bc8f074302996ca5936ec..7234259fa025569d6a7682aa6c74fdcfb3ca7e17:/modules/documentCanvas/wlxml.less?ds=inline 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