X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=214f81964582264d6c57ad072bc1241df2bd1146;hb=3fff2bd5cd782a5c5f64a015f9bba2f16ff5b946;hp=8f9b946ad2a1aebc1a10f577df2a6e33dffad239;hpb=0e16cb26f6380f57f1079ece9bdb654243073bde;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 8f9b946a..214f8196 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1,28 +1,97 @@ @@ -580,6 +982,16 @@ export default { .connected background-color: lightgreen +#participants + margin-left: 5px + +.anonymous + color: grey + font-style: italic + +#playersInfo > p + margin: 0 + @media screen and (min-width: 768px) #actions width: 300px @@ -589,24 +1001,61 @@ export default { #actions display: inline-block - margin-top: 10px - button - display: inline-block - width: 33% - margin: 0 + margin: 0 + +button + display: inline-block + margin: 0 + display: inline-flex + img + height: 24px + display: flex + @media screen and (max-width: 767px) + height: 18px @media screen and (max-width: 767px) #aboveBoard text-align: center +@media screen and (min-width: 768px) + #aboveBoard + margin-left: 30% + +.variant-cadence + padding-right: 10px -.name +.variant-name + font-weight: bold + padding-right: 10px + +span#nextGame + background-color: #edda99 + cursor: pointer + display: inline-block + margin-right: 10px + +span.name font-size: 1.5rem - padding: 1px + padding: 0 3px -.time +span.time font-size: 2rem display: inline-block - margin-left: 10px + .time-left + margin-left: 10px + .time-right + margin-left: 5px + .time-separator + margin-left: 5px + position: relative + top: -1px + +span.yourturn + color: #831B1B + .time-separator + animation: blink-animation 2s steps(3, start) infinite +@keyframes blink-animation + to + visibility: hidden .split-names display: inline-block @@ -614,12 +1063,9 @@ export default { #chat padding-top: 20px - max-width: 600px + max-width: 767px border: none; -#chatBtn - margin: 0 10px 0 0 - .draw-sent, .draw-sent:hover background-color: lightyellow @@ -628,4 +1074,7 @@ export default { .draw-threerep, .draw-threerep:hover background-color: #e4d1fc + +.somethingnew + background-color: #c5fefe