X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=fd4bd2da90c99220e84ab78916785ec256308360;hb=077ba3446c4ea3c6553c325fc8d16a96b7a9ff4f;hp=957ffad9ef012ceb769afe0a9dd659e5d288557c;hpb=bd76b45611cbb58dcf774745a4d690277a82aacd;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 957ffad9..fd4bd2da 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1,86 +1,216 @@ @@ -785,7 +1295,7 @@ export default { padding: 15px 0 max-width: 430px -#newgameDiv > .card +#newgameDiv > .card, #acceptDiv > .card max-width: 767px max-height: 100% @@ -808,21 +1318,84 @@ div#peopleWrap > .card width: 50% position: relative float: left + #chat width: 50% float: left position: relative + @media screen and (max-width: 767px) #players, #chats width: 100% + #chat > .card max-width: 100% margin: 0; border: none; + #players > p margin-left: 5px + .anonymous font-style: italic + button.player-action margin-left: 32px + +.somethingnew + background-color: #c5fefe !important + +.tabbtn + background-color: #f9faee + +button.acceptBtn + background-color: lightgreen +button.refuseBtn + background-color: red + +#buttonsTchall + // margin-top set dynamically (depends if diagram showed or not) + & > button > span + width: 100% + text-align: center + +.variantName + font-weight: bold + +.diagram + margin: 0 auto + max-width: 400px + // width: 100% required for Firefox + width: 100% + +#inputFen + width: 100% + +#div2, #div3 + margin-top: 15px +@media screen and (max-width: 767px) + #div2, #div3 + margin-top: 0 + +tr > td + &.random-0 + background-color: #FF5733 + &.random-1 + background-color: #2B63B4 + &.random-2 + background-color: #33B42B + +@media screen and (max-width: 767px) + h4 + margin: 5px 0 + +button#loadMoreBtn + display: block + margin: 0 auto + +td.remove-preset + background-color: lightgrey + text-align: center + & > img + height: 1em