X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=cf3d3e68020ae940d4669bd125688d224532fe06;hb=cafe016679ee9c14bf7bf0a37104ade7f74aff89;hp=1b7fd6bc40cd98982d65730d4cfae6ef5a0b43f1;hpb=41c80bb63b85b2696d3925c10784c3d7bb5d2aa3;p=vchess.git diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 1b7fd6bc..cf3d3e68 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -1,165 +1,152 @@ @@ -375,24 +404,6 @@ export default { // NOTE: no variants with reserve of size != 8 -div.board - float: left - height: 0 - display: inline-block - position: relative - -div.board8 - width: 12.5% - padding-bottom: 12.5% - -div.board10 - width: 10% - padding-bottom: 10% - -div.board11 - width: 9.09% - padding-bottom: 9.1% - .game width: 100% margin: 0 @@ -400,8 +411,8 @@ div.board11 cursor: pointer #choices - margin: 0 auto 0 auto - position: relative + margin: 0 + position: absolute z-index: 300 overflow-y: inherit background-color: rgba(0,0,0,0) @@ -415,35 +426,20 @@ div.board11 height: auto display: block -img.piece - width: 100% - -img.piece, img.mark-square - max-width: 100% - height: auto - display: block - -img.mark-square - opacity: 0.6 - width: 76% - position: absolute - top: 12% - left: 12% - opacity: .7 - img.ghost position: absolute opacity: 0.4 top: 0 -.highlight - background-color: #00cc66 !important - -.in-shadow - filter: brightness(50%) +.highlight-light + background-color: rgba(0, 204, 102, 0.7) !important +.highlight-dark + background-color: rgba(0, 204, 102, 0.9) !important -.incheck - background-color: #cc3300 !important +.incheck-light + background-color: rgba(204, 51, 0, 0.7) !important +.incheck-dark + background-color: rgba(204, 51, 0, 0.9) !important .light-square.lichess background-color: #f0d9b5;