Site > Files tree > Add no file message

This commit is contained in:
brunosimon
2017-09-20 22:52:22 +02:00
parent 51d1170c8a
commit 6289c90a8d
5 changed files with 92 additions and 17 deletions
@@ -1,3 +1,16 @@
// Fonts
@font-face
font-family 'DINNextRoundedLTPro'
font-weight 300
font-style normal
src url('../../../static/fonts/DINNextRoundedLTPro-Light.otf')
@font-face
font-family 'DINNextRoundedLTPro'
font-weight normal
font-style normal
src url('../../../static/fonts/DINNextRoundedLTPro-Regular.otf')
// App
#application
position absolute
+16
View File
@@ -9,6 +9,22 @@
user-select none
overflow hidden
.no-file
display flex
align-items center
justify-content center
position absolute
top 0
left 0
width 100%
height 100%
text-align center
color #fff
font-size 20px
opacity 0.5
font-weight 300
font-family 'DINNextRoundedLTPro'
.search
display block
font-size 14px
+10 -4
View File
@@ -1,7 +1,13 @@
<div class="file-tree">
<input class="search" type="text" v-model="searchValue" placeholder="Search for files ...">
<div class="inner" :style="`right: -${scrollbarWidth}px;`">
<files-tree-folder class="content" v-for="folder of files.folders" :key="+ new Date()" :content="folder" :depth="0"></files-tree-folder>
<div v-if="files.allCount === 0" class="no-file">
There is no file yet
<br>Please wait
</div>
<div v-else>
<input class="search" type="text" v-model="searchValue" placeholder="Search for files ...">
<div class="inner" :style="`right: -${scrollbarWidth}px;`">
<files-tree-folder class="content" v-for="folder of files.folders" :key="+ new Date()" :content="folder" :depth="0"></files-tree-folder>
</div>
<a href="#" class="all-read" @click.prevent="onAllReadClick">Mark all as read</a>
</div>
<a href="#" class="all-read" @click.prevent="onAllReadClick">Mark all as read</a>
</div>
-13
View File
@@ -1,16 +1,3 @@
// Fonts
@font-face
font-family 'DINNextRoundedLTPro'
font-weight 300
font-style normal
src url('../../../static/fonts/DINNextRoundedLTPro-Light.otf')
@font-face
font-family 'DINNextRoundedLTPro'
font-weight normal
font-style normal
src url('../../../static/fonts/DINNextRoundedLTPro-Regular.otf')
.landing
display flex
align-items center