X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=e60d982fe916cc04c61913e890c9b0b08d7ab7fb;hb=7ebc0408a76b4a966273190a2ade49e0f97099be;hp=6f2dfeab9b616c0a04869106e446361f1dcaa9e1;hpb=5fe7e71c7d34afbaed99d5bb75525db411bade61;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 6f2dfeab..e60d982f 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1,55 +1,164 @@ @@ -771,7 +1257,7 @@ export default { padding: 15px 0 max-width: 430px -#newgameDiv > .card +#newgameDiv > .card, #acceptDiv > .card max-width: 767px max-height: 100% @@ -794,21 +1280,27 @@ 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 @@ -818,9 +1310,54 @@ button.player-action .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