Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
fix gems / gold / silver toolbar (table instead of ul-li)
Browse files Browse the repository at this point in the history
  • Loading branch information
negue committed May 25, 2015
1 parent 4b3db69 commit 200caa2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
6 changes: 5 additions & 1 deletion styles/app.styl
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,19 @@ for $stage in (worst $worst) (worse $worse) (bad $bad) (neutral $neutral) (good
font-size 0.9em
width 110px
padding 6px 0 0 0
.toolbar-currency
vertical-align bottom
.toolbar-gems
padding-top 0
margin-top 0
color #428bca
.gem-text
margin-right 5px
.shop_gold
margin-bottom 3px
.shop_silver
margin-bottom 3px
li
td
text-align center

.menu-avatar .item-content
Expand Down
24 changes: 15 additions & 9 deletions views/app/avatar.jade
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
mixin wallet()
.row.wallet-box(style='{{!(user.flags.classSelected && !user.preferences.disableClasses) ? "padding-top: 16px":""}}')
ul.col.toolbar-gems
li.Pet_Currency_Gem2x.Gems
li.gem-text {{user.balance * 4 | number:0}}
ul.col.toolbar-currency.gold
li.shop_gold
li {{Shared.gold(user.stats.gp) | goldRoundThousandsToK}}
ul.col.toolbar-currency.silver
li.shop_silver
li {{Shared.silver(user.stats.gp)}}
table
tr
td.toolbar-gems
div.Pet_Currency_Gem2x.Gems
td.toolbar-currency.gold
div.shop_gold
td.toolbar-currency.silver
div.shop_silver
tr
td(text-align='center')
div.gem-text {{user.balance * 4 | number:0}}
td
div {{Shared.gold(user.stats.gp) | goldRoundThousandsToK}}
td
div {{Shared.silver(user.stats.gp)}}

mixin avatar2(full)
.avatar-box(ng-init='profile=user',class='#{full ? "full" : ""}')
Expand Down

0 comments on commit 200caa2

Please sign in to comment.