2014-04-13 13:21:58 +04:00
|
|
|
/* Enable the scrolling of chess board up to the page top */
|
|
|
|
|
|
|
|
body, html { height: 100%; }
|
|
|
|
#GameWrapper { min-height: 100%; }
|
|
|
|
#GameBoardWrapper { position: relative; }
|
|
|
|
|
|
|
|
|
|
|
|
/* Chess board */
|
|
|
|
|
2014-02-18 18:45:54 +04:00
|
|
|
@squareSize: 56px;
|
|
|
|
@boardBorderWidth: 4px;
|
|
|
|
@boardSize: 8 * @squareSize + 2 * @boardBorderWidth;
|
2014-04-13 13:21:58 +04:00
|
|
|
|
|
|
|
.boardTable {
|
|
|
|
width: @boardSize;
|
|
|
|
height: @boardSize;
|
|
|
|
border: @boardBorderWidth solid #663300;
|
|
|
|
}
|
|
|
|
.whiteSquare, .blackSquare {
|
|
|
|
width: @squareSize;
|
|
|
|
height: @squareSize;
|
|
|
|
}
|
|
|
|
.pieceImage {
|
|
|
|
height: @squareSize;
|
|
|
|
width: @squareSize;
|
|
|
|
}
|
|
|
|
.whiteSquare, .highlightWhiteSquare {
|
|
|
|
background: #ffcc99;
|
|
|
|
}
|
|
|
|
.blackSquare, .highlightBlackSquare {
|
|
|
|
background: #cc9966;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-04-28 20:25:28 +04:00
|
|
|
/* Game text */
|
2014-02-18 18:45:54 +04:00
|
|
|
|
2014-04-16 17:55:32 +04:00
|
|
|
#GameText {
|
2014-04-12 17:21:01 +04:00
|
|
|
position: absolute;
|
2014-02-18 18:45:54 +04:00
|
|
|
top: 0;
|
2014-04-12 17:21:01 +04:00
|
|
|
bottom: 0;
|
|
|
|
left: @boardSize + 10px;
|
2014-04-28 20:25:28 +04:00
|
|
|
right: 0;
|
2014-04-12 17:21:01 +04:00
|
|
|
|
|
|
|
display: block;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2014-04-18 00:40:32 +04:00
|
|
|
.moveOn, .variationOn {
|
|
|
|
color: #fff;
|
2014-07-01 15:00:51 +04:00
|
|
|
background-color: #428bca;
|
|
|
|
a&:hover {
|
|
|
|
background-color: darken(#428bca, 10%);
|
|
|
|
}
|
2014-04-18 00:40:32 +04:00
|
|
|
}
|