X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=d62e2ca77677a8b7ae4d33dd3552c5d8874e771a;hb=3ecfb65d520b9d64a59e46a3a2c286b031ee1c26;hp=7971aabe5a4ca939877356956c03b74210ea15e7;hpb=bd76b45611cbb58dcf774745a4d690277a82aacd;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 7971aabe..d62e2ca7 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1,36 +1,119 @@ @@ -706,6 +1245,9 @@ export default { color: grey font-style: italic +#playersInfo > p + margin: 0 + @media screen and (min-width: 768px) #actions width: 300px @@ -715,10 +1257,17 @@ export default { #actions display: inline-block - margin-top: 10px - button - display: inline-block - 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 @@ -727,30 +1276,55 @@ export default { #aboveBoard margin-left: 30% -.variant-info +.variant-cadence + padding-right: 10px + +.variant-name font-weight: bold padding-right: 10px -.name +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 margin: 0 15px -#chat +#chatWrap > .card padding-top: 20px max-width: 767px - border: none; + border: none -#chatBtn - margin: 0 10px 0 0 +#confirmDiv > .card + max-width: 767px + max-height: 100% .draw-sent, .draw-sent:hover background-color: lightyellow @@ -760,4 +1334,22 @@ export default { .draw-threerep, .draw-threerep:hover background-color: #e4d1fc + +.somethingnew + background-color: #c5fefe + +.diagram + margin: 0 auto + width: 100% + +#buttonsConfirm + margin: 0 + & > button > span + width: 100% + text-align: center + +button.acceptBtn + background-color: lightgreen +button.refuseBtn + background-color: red