From 4b32d84314c97685fca31c8adb0508cf28651005 Mon Sep 17 00:00:00 2001 From: Alessandro Cosentino Date: Sat, 31 Aug 2013 11:12:07 -0400 Subject: [PATCH] text centered horizontally and vertically in emptycontent div --- apps/files/css/files.css | 6 ------ apps/files/templates/index.php | 2 +- core/css/styles.css | 9 ++++++++- 3 files changed, 9 insertions(+), 8 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 @@ -
t('Nothing in here. Upload something!'))?>
+
t('Nothing in here. Upload something!'))?>
diff --git a/core/css/styles.css b/core/css/styles.css index 85f65a2f427..8cda9ff9ef2 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -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 ------------------------------------------------------------ */ -- 2.39.5