X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=a0e264ed9e8b25d3011db34db6d2eaa57efd89a5;hb=6808d7a16ec1e761c6a2dffec2281c96953e4d89;hp=88f2b5e2fa73252d701b265e6b4f419143f65d59;hpb=89021f181ac0689bbc785ce0ebd9a910e66352b0;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 88f2b5e2..a0e264ed 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -14,7 +14,8 @@ main :newChat="newChat" @mychat="processChat") .row #aboveBoard.col-sm-12.col-md-9.col-md-offset-3.col-lg-10.col-lg-offset-2 - span.variant-info {{ game.vname }} + span.variant-cadence {{ game.cadence }} + span.variant-name {{ game.vname }} button#chatBtn(onClick="doClick('modalChat')") Chat #actions(v-if="game.score=='*'") button(@click="clickDraw()" :class="{['draw-' + drawOffer]: true}") @@ -30,8 +31,7 @@ main span.name(:class="{connected: isConnected(1)}") | {{ game.players[1].name || "@nonymous" }} span.time(v-if="game.score=='*'") {{ virtualClocks[1] }} - BaseGame(:game="game" :vr="vr" ref="basegame" - @newmove="processMove" @gameover="gameOver") + BaseGame(:game="game" :vr="vr" @newmove="processMove" @gameover="gameOver") @@ -710,6 +727,9 @@ export default { color: grey font-style: italic +#playersInfo > p + margin: 0 + @media screen and (min-width: 768px) #actions width: 300px @@ -719,7 +739,7 @@ export default { #actions display: inline-block - margin-top: 10px + margin: 0 button display: inline-block margin: 0 @@ -731,7 +751,10 @@ export default { #aboveBoard margin-left: 30% -.variant-info +.variant-cadence + padding-right: 10px + +.variant-name font-weight: bold padding-right: 10px @@ -764,4 +787,7 @@ export default { .draw-threerep, .draw-threerep:hover background-color: #e4d1fc + +.somethingnew + background-color: #c5fefe