From: opi <opi@no-log.org> Date: Sat, 20 Jun 2015 14:31:18 +0000 (+0200) Subject: Affichage des promesses de dons X-Git-Url: https://nos-oignons.net/gitweb/website.git/commitdiff_plain/8baadedede5bd48406c7d7107c30962152c38446?ds=inline Affichage des promesses de dons --- diff --git a/Donnez.html b/Donnez.html index 658fa6f..d1c0e5e 100644 --- a/Donnez.html +++ b/Donnez.html @@ -12,7 +12,7 @@ <div class="progress-bar-wrapper" data-total='[[!inline pagenames="data/budget-total" raw="yes"]]â¬'> <div class="progress-bar" style='width: [[!inline pagenames="data/pourcentage-budget" raw="yes"]];' data-current='[[!inline pagenames="data/budget-current" raw="yes"]]â¬'></div> - <div class="progress-bar-promises" style='width: [[!inline pagenames="data/pourcentage-promesses" raw="yes"]];' data-current='[[!inline pagenames="data/budget-promises" raw="yes"]]â¬'></div> + <div class="progress-bar progress-bar-promises" style='width: [[!inline pagenames="data/pourcentage-promesses" raw="yes"]];left: [[!inline pagenames="data/pourcentage-budget" raw="yes"]];background-position: [[!inline pagenames="data/budget-promises-style" raw="yes"]];' data-current='[[!inline pagenames="data/budget-promises" raw="yes"]]â¬'></div> </div> <p> Un oignon correspond à 1 mois de fonctionnement. diff --git a/assets/progress_bar.png b/assets/progress_bar.png index cfc6035..8ddeb89 100644 Binary files a/assets/progress_bar.png and b/assets/progress_bar.png differ diff --git a/local.css b/local.css index 27c5c01..78297cd 100644 --- a/local.css +++ b/local.css @@ -401,12 +401,15 @@ thead td { .progress-bar-wrapper .progress-bar { position: absolute; height: 85px; - background: grey url(assets/progress_bar.png) bottom left repeat-x; + background: grey url(assets/progress_bar.png) left -85px repeat-x; /* animate progress bar */ -webkit-animation: progress-bar 1.5s; -moz-animation: progress-bar 1.5s; animation: progress-bar 1.5s; } + .progress-bar-wrapper .progress-bar-promises { + background: grey url(assets/progress_bar.png) left bottom repeat-x; + } /* progress bar animation*/ @-webkit-keyframes progress-bar { 0% { width: 0; } } @@ -424,6 +427,9 @@ thead td { color: #ccc; font-size: 0.9em; } + /* Promises amount */ + .progress-bar-wrapper .progress-bar-promises:after { + } /* Temperature bar */ .progress-bar-wrapper:before {