Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spare pieces count #190

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 33 additions & 16 deletions lib/chessboard.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*! chessboard.js v@VERSION | (c) 2019 Chris Oakman | MIT License chessboardjs.com/license */
/*! chessboard.js v@VERSION | (c) 2019 Chris Oakman | MIT License chessboardjs.com/license */

.clearfix-7da63 {
.clearfix-7da63 {
clear: both;
}

.board-b72b1 {
border: 2px solid #404040;
box-sizing: content-box;
.board-b72b1 {
border: 2px solid #404040;
box-sizing: content-box;
}

.square-55d63 {
.square-55d63 {
float: left;
position: relative;

Expand All @@ -22,33 +22,50 @@
user-select: none;
}

.white-1e1d7 {
.white-1e1d7 {
background-color: #f0d9b5;
color: #b58863;
}

.black-3c85d {
.black-3c85d {
background-color: #b58863;
color: #f0d9b5;
}

.highlight1-32417, .highlight2-9c5d2 {
.highlight1-32417, .highlight2-9c5d2 {
box-shadow: inset 0 0 3px 3px yellow;
}

.notation-322f9 {
cursor: default;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
position: absolute;
}

}
.alpha-d2270 {
bottom: 1px;
right: 3px;
}

}
.numeric-fc462 {
top: 2px;
left: 2px;
}
}

.piece-wrapper {
position: relative;
display: inline-block;
}

.spare-count {
border: 1px solid #ccc;
padding: 0 4px;
border-radius: 37%;
font-size: 12px;
position: absolute;
z-index: 1;
background: #fff;
right: 0;
bottom: 1px;
}
Loading