1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00

improved empty state

This commit is contained in:
Harvey Kandola 2016-10-30 13:21:26 -07:00
parent 257f8fa43b
commit 20292a316a
8 changed files with 644 additions and 677 deletions

View file

@ -110,23 +110,7 @@
}
}
.no-sections {
.empty-state-document {
margin-top: 150px;
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;
}
}
}

View file

@ -173,31 +173,9 @@
}
}
.no-documents {
.empty-state-space {
margin-top: 150px;
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 {

View file

@ -61,14 +61,7 @@
</div>
{{#if noSections}}
<div class="no-sections">
<div class="box">
<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 class="empty-state-document">
<img src="/assets/img/empty-state-document.gif" />
</div>
{{/if}}

View file

@ -20,18 +20,7 @@
</ul>
{{#if emptyState}}
<div class="no-documents">
<div class="box">
<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 class="empty-state-space">
<img src="/assets/img/empty-state-space.gif" />
</div>
{{/if}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

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