diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-08-29 17:50:59 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-08-29 17:50:59 +0200 |
commit | 0aede0f413f8edd622457f41942eb410d8696924 (patch) | |
tree | 17e103b2d0548c85a01baf0c686c79fc248394c3 /settings/templates | |
parent | 95382e994520966a71d56fb5113d8ed27ab5d8f6 (diff) | |
download | nextcloud-server-0aede0f413f8edd622457f41942eb410d8696924.tar.gz nextcloud-server-0aede0f413f8edd622457f41942eb410d8696924.zip |
move hardcoded color to CSS class - for themeability
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/personal.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 33534e59f19..c1fb20dce05 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -34,8 +34,8 @@ <div id="quota" class="section"> - <div style="width:<?php p($_['usage_relative']);?>%; - <?php if($_['usage_relative'] > 80): ?>background-color:#fc4;<?php endif; ?>"> + <div style="width:<?php p($_['usage_relative']);?>%" + <?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>> <p id="quotatext"> <?php print_unescaped($l->t('You have used <strong>%s</strong> of the available <strong>%s</strong>', array($_['usage'], $_['total_space'])));?> |