X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=01f588f23dacc8acbe6abe9318df2a431b810640;hb=6c7cbfedc6ecf2b49f6b1e27a174039e92a36365;hp=b3f5b690d3af8cf7ae56ab716ce8716d1efc1b21;hpb=566592f84607adf19a812f00c13a75e85d8468e7;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index b3f5b690..01f588f2 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1,86 +1,216 @@ @@ -790,7 +1320,7 @@ export default { padding: 15px 0 max-width: 430px -#newgameDiv > .card +#newgameDiv > .card, #acceptDiv > .card max-width: 767px max-height: 100% @@ -813,21 +1343,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