mirror of
https://github.com/documize/community.git
synced 2025-07-23 23:29:42 +02:00
improved empty state
This commit is contained in:
parent
257f8fa43b
commit
20292a316a
8 changed files with 644 additions and 677 deletions
|
@ -110,23 +110,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sections {
|
.empty-state-document {
|
||||||
|
margin-top: 150px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: 0.5;
|
|
||||||
|
|
||||||
> .box {
|
|
||||||
padding: 35px;
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0 20px;
|
|
||||||
|
|
||||||
> .message {
|
|
||||||
font-size: 14px;
|
|
||||||
color: $color-off-black;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
> .regular-button {
|
|
||||||
cursor: default !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -173,31 +173,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-documents {
|
.empty-state-space {
|
||||||
margin-top: 150px;
|
margin-top: 150px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: 0.5;
|
|
||||||
background-image: url("/assets/img/no-documents.png");
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center;
|
|
||||||
|
|
||||||
> .box {
|
|
||||||
max-width: 400px;
|
|
||||||
margin: 0 auto;
|
|
||||||
border: 1px dashed #b3adad;
|
|
||||||
padding: 20px;
|
|
||||||
|
|
||||||
> .message {
|
|
||||||
font-size: 14px;
|
|
||||||
color: $color-off-black;
|
|
||||||
margin-top: 20px;
|
|
||||||
line-height: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
> .regular-button {
|
|
||||||
cursor: default !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.templates-list {
|
.templates-list {
|
||||||
|
|
|
@ -61,14 +61,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if noSections}}
|
{{#if noSections}}
|
||||||
<div class="no-sections">
|
<div class="empty-state-document">
|
||||||
<div class="box">
|
<img src="/assets/img/empty-state-document.gif" />
|
||||||
<div class="message">Click the
|
|
||||||
<div class="round-button-mono">
|
|
||||||
<i class="material-icons color-gray">add</i>
|
|
||||||
<div class="name">section</div>
|
|
||||||
</div>
|
|
||||||
to add a new section to this document</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -20,18 +20,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{{#if emptyState}}
|
{{#if emptyState}}
|
||||||
<div class="no-documents">
|
<div class="empty-state-space">
|
||||||
<div class="box">
|
<img src="/assets/img/empty-state-space.gif" />
|
||||||
<h3>This space is empty</h3>
|
|
||||||
<div class="message">Click the
|
|
||||||
<div class="round-button-mono">
|
|
||||||
<i class="material-icons color-gray">add</i>
|
|
||||||
</div> button to add a new document<br/>or
|
|
||||||
<div class="round-button-mono">
|
|
||||||
<i class="material-icons color-gray">file_upload</i>
|
|
||||||
</div>
|
|
||||||
to import .doc .docx, .txt .md files
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
BIN
app/public/assets/img/empty-state-document.gif
Normal file
BIN
app/public/assets/img/empty-state-document.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
app/public/assets/img/empty-state-space.gif
Normal file
BIN
app/public/assets/img/empty-state-space.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5 KiB |
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue