even better empty state for Favorites, and general Empty State style

This commit is contained in:
Jan-Christoph Borchardt 2014-12-17 20:59:26 +01:00
parent 532ba99f1c
commit 2be66044cc
3 changed files with 13 additions and 7 deletions

View File

@ -556,12 +556,6 @@ table tr.summary td {
#scanning-message{ top:40%; left:40%; position:absolute; display:none; }
#emptycontent .icon-starred {
height: 30px;
width: 30px;
margin: 0 auto 10px;
}
table.dragshadow {
width:auto;
}

View File

@ -5,7 +5,8 @@
<div id="emptycontent" class="hidden">
<div class="icon-starred"></div>
<?php p($l->t('Files and folders you mark as favorites will show up here')); ?>
<h2><?php p($l->t('No favorites')); ?></h2>
<p><?php p($l->t('Files and folders you mark as favorite will show up here')); ?></p>
</div>
<input type="hidden" name="dir" value="" id="dir">

View File

@ -328,6 +328,17 @@ input[type="submit"].enabled {
top: 30%;
width: 100%;
}
#emptycontent h2 {
font-size: 22px;
margin-bottom: 10px;
}
#emptycontent [class^="icon-"],
#emptycontent [class*=" icon-"] {
background-size: 64px;
height: 64px;
width: 64px;
margin: 0 auto 15px;
}
/* LOG IN & INSTALLATION ------------------------------------------------------------ */