X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=fd4bd2da90c99220e84ab78916785ec256308360;hb=077ba3446c4ea3c6553c325fc8d16a96b7a9ff4f;hp=366de18753d6965687ccc613b20bf95403234257;hpb=2f258c37c19c5be20ec68695ddfaec2c21f7f0ae;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 366de187..fd4bd2da 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1,55 +1,164 @@ @@ -771,7 +1295,7 @@ export default { padding: 15px 0 max-width: 430px -#newgameDiv > .card +#newgameDiv > .card, #acceptDiv > .card max-width: 767px max-height: 100% @@ -794,21 +1318,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 +1346,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 + display: block + margin: 0 auto + +td.remove-preset + background-color: lightgrey + text-align: center + & > img + height: 1em