aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-09-23 19:43:32 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-09-24 18:42:02 +0200
commite0d013b25eb54091499d2c11c7865216ebcdb056 (patch)
tree7bfdb4a1f8b16aeb356ad0e6a4f536163041bca1
parent36c31b0e83dafa0499a769fa6c15adeca5e90d28 (diff)
downloadnextcloud-server-e0d013b25eb54091499d2c11c7865216ebcdb056.tar.gz
nextcloud-server-e0d013b25eb54091499d2c11c7865216ebcdb056.zip
settings/personal: remove padding from quota bar
The text will stay in it's place, but 0% usage will lead to an empty bar. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--core/css/styles.css3
-rw-r--r--settings/templates/personal.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index e545d521416..f3756d03d74 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -105,7 +105,8 @@ tbody tr:hover, tr:active { background-color:#f8f8f8; }
#body-settings .personalblock#quota { position:relative; margin-top:4.5em; padding:0; }
#body-settings #controls+.helpblock { position:relative; margin-top:7.3em; }
-#quota div, div.jp-play-bar, div.jp-seek-bar { padding:.6em 1em; background:#e6e6e6; font-weight:normal; white-space:nowrap; -moz-border-radius-bottomleft:.4em; -webkit-border-bottom-left-radius:.4em; border-bottom-left-radius:.4em; -moz-border-radius-topleft:.4em; -webkit-border-top-left-radius:.4em; border-top-left-radius:.4em; }
+#quota div, div.jp-play-bar, div.jp-seek-bar { padding:0; background:#e6e6e6; font-weight:normal; white-space:nowrap; -moz-border-radius-bottomleft:.4em; -webkit-border-bottom-left-radius:.4em; border-bottom-left-radius:.4em; -moz-border-radius-topleft:.4em; -webkit-border-top-left-radius:.4em; border-top-left-radius:.4em; }
+#quotatext {padding: .6em 1em;}
div.jp-play-bar, div.jp-seek-bar { padding:0; }
.pager { list-style:none; float:right; display:inline; margin:.7em 12.7em 0 0; }
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 65a6f12712b..eee5f3979c3 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -5,7 +5,7 @@
*/?>
<div id="quota" class="personalblock"><div style="width:<?php echo $_['usage_relative'];?>%;">
- <p><?php echo $l->t('You use');?> <strong><?php echo $_['usage'];?></strong> <?php echo $l->t('of the available');?> <strong><?php echo $_['total_space'];?></strong></p>
+ <p id="quotatext"><?php echo $l->t('You use');?> <strong><?php echo $_['usage'];?></strong> <?php echo $l->t('of the available');?> <strong><?php echo $_['total_space'];?></strong></p>
</div></div>
<form id="passwordform">