]> source.dussan.org Git - nextcloud-server.git/commitdiff
text centered horizontally and vertically in emptycontent div
authorAlessandro Cosentino <cosenal@gmail.com>
Sat, 31 Aug 2013 15:12:07 +0000 (11:12 -0400)
committerAlessandro Cosentino <cosenal@gmail.com>
Sat, 31 Aug 2013 15:12:07 +0000 (11:12 -0400)
apps/files/css/files.css
apps/files/templates/index.php
core/css/styles.css

index 498e34d70d4b080e357a30d8e55294ef6ca950f2..02a73ba83e518ef2c377c2164c8f7f49dac1134b 100644 (file)
 
 /* 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 {
index 2f7e0af4f28c43a6f47143ed8a30074a318bdeda..24cb8c2fe58d20e5421023d9f53ffb01ae580b11 100644 (file)
@@ -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">
index 85f65a2f42709acf74aa9d3b9ea4cfa55a61942c..8cda9ff9ef23897ec901d289ea5f7981f8f7bad0 100644 (file)
@@ -177,7 +177,14 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b
 #leftcontent a { height:100%; display:block; margin:0; padding:0 1em 0 0; float:left; }
 #rightcontent, .rightcontent { position:fixed; top:6.4em; left:24.5em; overflow:auto }
 
-
+#emptycontent {
+    font-size:1.5em; font-weight:bold;
+       color:#888; text-shadow:#fff 0 1px 0;
+    position: absolute;
+    text-align: center;
+    top: 50%;
+    width: 100%;
+}
 
 
 /* LOG IN & INSTALLATION ------------------------------------------------------------ */