1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Improve style of empty state for add new section

This commit is contained in:
Harvey Kandola 2018-06-07 14:24:27 +01:00
parent dea7a99aed
commit bf305d271e
2 changed files with 7 additions and 2 deletions

View file

@ -34,6 +34,11 @@
font-weight: bold;
}
.new-section-empty {
font-size: 1.2rem;
color: $color-gray;
}
.preset-list {
margin: 0;
padding: 0;

View file

@ -34,8 +34,8 @@
</div>
</div>
<div class="col-12 col-md-6">
<div class="new-section-caption">Select Re-usable Content</div>
{{#if hasBlocks}}
<div class="new-section-caption">Select Re-usable Content</div>
<ul class="block-list">
{{#each blocks as |block|}}
<li class="item" title="{{block.firstname}} {{block.lastname}}, {{time-ago block.created}}, used: {{ block.used }}" data-toggle="tooltip" data-placement="top">
@ -47,7 +47,7 @@
{{/each}}
</ul>
{{else}}
<div class="template-caption">You have no reusable content &mdash; publish any section as a template</div>
<div class="new-section-empty">You have no reusable content &mdash; publish any document section as a template for others to reuse</div>
{{/if}}
</div>
</div>