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

remotes/origin/fix-10825
Jan-Christoph Borchardt 11 years ago
parent 532ba99f1c
commit 2be66044cc
  1. 6
      apps/files/css/files.css
  2. 3
      apps/files/templates/simplelist.php
  3. 11
      core/css/styles.css

@ -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;
}

@ -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">

@ -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 ------------------------------------------------------------ */

Loading…
Cancel
Save