X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/988d47428991ee70383755b5b4f6d337d3049fee..ecf3b34e969acfeeb5d09b7287b233ce4bffed83:/modules/documentCanvas/nodes.less?ds=sidebyside diff --git a/modules/documentCanvas/nodes.less b/modules/documentCanvas/nodes.less index 0313b0b..de4fd7c 100644 --- a/modules/documentCanvas/nodes.less +++ b/modules/documentCanvas/nodes.less @@ -1,3 +1,10 @@ +[document-text-element] { + font-size: 14px; + display: inline; + margin: 0 1px; + border: 1px solid white; +} + [wlxml-tag] { float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */ border-color: white; @@ -6,14 +13,14 @@ min-height:20px; position:relative; text-indent: 0; + padding: 1px 1px; } [wlxml-tag=span] { - display:inline-block; min-width: 10px; } -[wlxml-tag=header] { +[wlxml-tag=header] [document-text-element] { font-size: 13px; font-weight: bold; margin: 10px 0; @@ -40,11 +47,11 @@ color: blue; } -[wlxml-tag=header] > [wlxml-class=author] { +[wlxml-tag=header] [wlxml-class=author] [document-text-element] { font-size: 14px; } -[wlxml-tag=header] > [wlxml-class=title] { +[wlxml-tag=header] [wlxml-class=title] [document-text-element] { font-size:18px; } @@ -67,7 +74,7 @@ [wlxml-class="list-items"] { - > [wlxml-class="item"] { + [wlxml-class="item"] { display: list-item; margin-left: 10px; padding-left: 5px; @@ -75,7 +82,7 @@ } [wlxml-class="item"] { - > [wlxml-class="list-items"] { + [wlxml-class="list-items"] { display: block; } }