X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fstyles%2F_board_squares_img.sass;h=e082f9ec12b4e4e6ff4f22b2f9bd96a111043420;hb=baa6f86f72e3b697ec2fcd34913986b2fa5f02eb;hp=cbb2c3465fe04a176205370259e6832bbbf8ec44;hpb=cd49e617866590dbc68530ad961b109cdbe1ce55;p=vchess.git diff --git a/client/src/styles/_board_squares_img.sass b/client/src/styles/_board_squares_img.sass index cbb2c346..e082f9ec 100644 --- a/client/src/styles/_board_squares_img.sass +++ b/client/src/styles/_board_squares_img.sass @@ -1,11 +1,5 @@ // Styles for diagrams and board (partial). -.light-square-diag - background-color: #dfdfdf - -.dark-square-diag - background-color: #7287b6 - div.board user-select: none float: left @@ -39,25 +33,69 @@ div.board12 img.piece width: 100% + z-index: 10 img.piece, img.mark-square, img.circle-square max-width: 100% height: auto display: block +img.mark-square, img.circle-square + position: absolute + z-index: 20 + img.mark-square opacity: .7 width: 76% - position: absolute top: 12% left: 12% img.circle-square opacity: 0.7 width: 100% - position: absolute top: 0 left: 0 .in-shadow filter: brightness(50%) + +.monochrome + border-bottom: 1px solid black + border-right: 1px solid black + box-sizing: border-box + +.border-left + border-left: 1px solid black + box-sizing: border-box + +.border-top + border-top: 1px solid black + box-sizing: border-box + +.light-square.lichess + background-color: #f0d9b5 +.dark-square.lichess + background-color: #b58863 +.middle-square.lichess + background-color: #D3B18C + +.light-square.chesscom + background-color: #e5e5ca +.dark-square.chesscom + background-color: #6f8f57 +.middle-square.chesscom + background-color: #AABA91 + +.light-square.chesstempo + background-color: #dfdfdf +.dark-square.chesstempo + background-color: #7287b6 +.middle-square.chesstempo + background-color: #A9B3CB + +.light-square.orangecc + background-color: #fce4b2 +.dark-square.orangecc + background-color: #d08b18 +.middle-square.orangecc + background-color: #E6B865