<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.
.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; } }
color: #ccc;
font-size: 0.9em;
}
+ /* Promises amount */
+ .progress-bar-wrapper .progress-bar-promises:after {
+ }
/* Temperature bar */
.progress-bar-wrapper:before {