summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2013-08-31 11:12:07 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2013-08-31 11:12:07 -0400
commit4b32d84314c97685fca31c8adb0508cf28651005 (patch)
tree31912b5e65ae852102d9dc0bc811c6c0dac1fc12 /apps/files
parent92e90c8eb995c886b3e9cd77c14e3f0b25b95cd7 (diff)
downloadnextcloud-server-4b32d84314c97685fca31c8adb0508cf28651005.tar.gz
nextcloud-server-4b32d84314c97685fca31c8adb0508cf28651005.zip
text centered horizontally and vertically in emptycontent div
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/files.css6
-rw-r--r--apps/files/templates/index.php2
2 files changed, 1 insertions, 7 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 498e34d70d4..02a73ba83e5 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -68,12 +68,6 @@
/* FILE TABLE */
-#emptyfolder {
- position:absolute;
- margin:10em 0 0 10em;
- font-size:1.5em; font-weight:bold;
- color:#888; text-shadow:#fff 0 1px 0;
-}
#filestable { position: relative; top:37px; width:100%; }
tbody tr { background-color:#fff; height:2.5em; }
tbody tr:hover, tbody tr:active {
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 2f7e0af4f28..24cb8c2fe58 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -56,7 +56,7 @@
</div>
<?php if (isset($_['files']) and $_['isCreatable'] and count($_['files'])==0):?>
- <div id="emptyfolder"><?php p($l->t('Nothing in here. Upload something!'))?></div>
+ <div id="emptycontent"><?php p($l->t('Nothing in here. Upload something!'))?></div>
<?php endif; ?>
<table id="filestable" data-allow-public-upload="<?php p($_['publicUploadEnabled'])?>" data-preview-x="36" data-preview-y="36">