X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=df6930cb0774698014f9f9d211918175d6f9fe46;hb=0a17525eeb101d538d334c2208eb8ee44cda1883;hp=c0c50318a7d536e10c7d1db9d84f8a42ca5a2fe3;hpb=4f51861013271a060b358884097a676e3d42d496;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index c0c50318..df6930cb 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1,28 +1,97 @@ @@ -579,6 +980,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 @@ -588,24 +999,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 @@ -613,12 +1061,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 @@ -627,4 +1072,7 @@ export default { .draw-threerep, .draw-threerep:hover background-color: #e4d1fc + +.somethingnew + background-color: #c5fefe