X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=086becb8748681863e6bc57a8b0aa6aea0d1d4dc;hb=70690ae8d661c5e0aae8db98e6557a0e7eb8a6be;hp=a7d26d7ee51ab5dbec4cc7c96d611cd39b01da07;hpb=714680114508183fba2c07231dbe8f90b5631b81;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index a7d26d7e..086becb8 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1,37 +1,107 @@ @@ -648,6 +1010,9 @@ export default { color: grey font-style: italic +#playersInfo > p + margin: 0 + @media screen and (min-width: 768px) #actions width: 300px @@ -657,10 +1022,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 @@ -669,30 +1041,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: 600px - border: none; + max-width: 767px + border: none -#chatBtn - margin: 0 10px 0 0 +#confirmDiv > .card + max-width: 767px + max-height: 100% .draw-sent, .draw-sent:hover background-color: lightyellow @@ -702,4 +1099,24 @@ export default { .draw-threerep, .draw-threerep:hover background-color: #e4d1fc + +.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