X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=b9262d12b339246ce91688e0781164e6ed1d0e11;hp=366de18753d6965687ccc613b20bf95403234257;hb=0234201fb338fc239d6f613c677fa932c7c3697c;hpb=2f258c37c19c5be20ec68695ddfaec2c21f7f0ae diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 366de187..b9262d12 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1,55 +1,160 @@ @@ -771,7 +1233,7 @@ export default { padding: 15px 0 max-width: 430px -#newgameDiv > .card +#newgameDiv > .card, #acceptDiv > .card max-width: 767px max-height: 100% @@ -794,21 +1256,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 @@ -816,11 +1284,56 @@ button.player-action background-color: #c5fefe !important .tabbtn - background-color: white + 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 + margin-top: 0 + margin-bottom: 0 + +td.remove-preset + background-color: lightgrey + text-align: center + & > img + height: 1em