X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=b941e378d9dc4d4d0f8e553cd252fc05fdf58cd8;hb=3b0f26c1261db7ea06067762c0c28b6dbacf2d99;hp=e22156196081b532b0cf765eece70fe697b46a0a;hpb=2f258c37c19c5be20ec68695ddfaec2c21f7f0ae;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index e2215619..b941e378 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1,37 +1,109 @@ @@ -720,9 +1188,16 @@ export default { #actions display: inline-block margin: 0 - button - display: inline-block - 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 @@ -738,26 +1213,48 @@ export default { 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 @@ -770,4 +1267,21 @@ export default { .somethingnew background-color: #c5fefe + +.diagram + margin: 0 auto + max-width: 400px + // width: 100% required for Firefox + width: 100% + +#buttonsConfirm + margin: 0 + & > button > span + width: 100% + text-align: center + +button.acceptBtn + background-color: lightgreen +button.refuseBtn + background-color: red