Skip to content

Commit

Permalink
Added complete class to progress.
Browse files Browse the repository at this point in the history
  • Loading branch information
SunburnedGoose committed Mar 8, 2016
1 parent cf21421 commit 97f6d77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/scripts/store/dimStoreHeading.directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
'<div class="stats" ng-if="vm.isGuardian">',
' <div class="stat" title="{{vm.formatTooltip(\'STAT_INTELLECT\')}}">',
' <img src="images/intellect.png" /><div class="bar" ng-repeat="n in vm.store.stats.STAT_INTELLECT.tiers track by $index">',
' <div class="progress" style="width:{{n/60*100}}%"></div></div></div>',
' <div class="progress" ng-class="{ \'complete\': (n / 60) === 1 }" style="width:{{n/60*100}}%"></div></div></div>',
' <div class="stat" title="{{vm.formatTooltip(\'STAT_DISCIPLINE\')}}">',
' <img src="images/discipline.png" /><div class="bar" ng-repeat="n in vm.store.stats.STAT_DISCIPLINE.tiers track by $index">',
' <div class="progress" style="width:{{n/60*100}}%"></div></div></div>',
' <div class="progress" ng-class="{ \'complete\': (n / 60) === 1 }" style="width:{{n/60*100}}%"></div></div></div>',
' <div class="stat" title="{{vm.formatTooltip(\'STAT_STRENGTH\')}}">',
' <img src="images/strength.png" /><div class="bar" ng-repeat="n in vm.store.stats.STAT_STRENGTH.tiers track by $index">',
' <div class="progress" style="width:{{n/60*100}}%"></div></div></div>',
' <div class="progress" ng-class="{ \'complete\': (n / 60) === 1 }" style="width:{{n/60*100}}%"></div></div></div>',
'</div>'
].join('')
};
Expand Down
6 changes: 4 additions & 2 deletions app/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,10 @@ img.void {
.character .stats .stat .bar .progress {
height: 100%;
background-color: white;
/*transition: all .250s ease-out;*/
}
.character .stats .stat .bar .progress.complete {
background-color: #FB9F28;
}
.character .stats .stat img {
height: 16px;
Expand Down Expand Up @@ -1917,5 +1921,3 @@ button.toast-close-button {
color: #FFFFFF;
text-shadow: 1px 1px #000;
}


0 comments on commit 97f6d77

Please sign in to comment.