mirror of
https://github.com/documize/community.git
synced 2025-07-25 16:19:46 +02:00
Improve style of empty state for add new section
This commit is contained in:
parent
dea7a99aed
commit
bf305d271e
2 changed files with 7 additions and 2 deletions
|
@ -34,6 +34,11 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.new-section-empty {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
color: $color-gray;
|
||||||
|
}
|
||||||
|
|
||||||
.preset-list {
|
.preset-list {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-6">
|
<div class="col-12 col-md-6">
|
||||||
|
<div class="new-section-caption">Select Re-usable Content</div>
|
||||||
{{#if hasBlocks}}
|
{{#if hasBlocks}}
|
||||||
<div class="new-section-caption">Select Re-usable Content</div>
|
|
||||||
<ul class="block-list">
|
<ul class="block-list">
|
||||||
{{#each blocks as |block|}}
|
{{#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">
|
<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}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="template-caption">You have no reusable content — publish any section as a template</div>
|
<div class="new-section-empty">You have no reusable content — publish any document section as a template for others to reuse</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue