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:
parent
dea7a99aed
commit
bf305d271e
2 changed files with 7 additions and 2 deletions
|
@ -34,6 +34,11 @@
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.new-section-empty {
|
||||
font-size: 1.2rem;
|
||||
color: $color-gray;
|
||||
}
|
||||
|
||||
.preset-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
|
@ -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 — 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}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue