Add visual for player taking turn

This commit is contained in:
Jesse C. Fisher 2019-10-26 01:37:54 -07:00
parent 1a0a52cfed
commit ca83f75241
2 changed files with 4 additions and 1 deletions

View File

@ -129,6 +129,9 @@ ol#cards-to-beat
////// Inventory
.player
&.taking-turn
font-weight: bold
box-shadow: 0px 0px .5vmin 1vmin inset rgba(118,69,210,0.8)
ul#inventory
display: flex
flex-wrap: wrap

View File

@ -11,7 +11,7 @@
sit_seat_path(seat)
- if seat.player
.player
.player{class: @game.controlling_player == seat.player ? "taking-turn" : ""}
.user-name= seat.player.display_name
- if @game.started?
.inventory-count= seat.player.inventory.count