]> source.dussan.org Git - nextcloud-server.git/commitdiff
settings/personal: remove padding from quota bar
authorFlorian Pritz <bluewind@xinu.at>
Fri, 23 Sep 2011 17:43:32 +0000 (19:43 +0200)
committerFlorian Pritz <bluewind@xinu.at>
Sat, 24 Sep 2011 16:42:02 +0000 (18:42 +0200)
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>
core/css/styles.css
settings/templates/personal.php

index e545d521416d85e742915494724591df84d4b52d..f3756d03d74eff8b2db5695016124cd22454a3fe 100644 (file)
@@ -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; }
index 65a6f12712b68252640e2fdb7caf0d977e79e35d..eee5f3979c361e963c0b4307adece894fa6467b4 100644 (file)
@@ -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">