Skip to content

Commit

Permalink
tweak board style
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Feb 17, 2014
1 parent f4e40b2 commit 1b0dc07
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
4 changes: 2 additions & 2 deletions public/stylesheets/board.css
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ div.replay_and_analyse a {
#GameBoard td.highlightWhiteSquare,
#GameBoard td.highlightBlackSquare,
div.lcs.moved div.lcsi {
box-shadow: inset 0 0 2px 3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 0 7px 3px rgba(0, 0, 0, 0.4);
}
#chessboard div.check,
div.lcs.check div.lcsi {
Expand All @@ -613,5 +613,5 @@ div.lcs.droppable-hover div.lcsi,
div.lichess_board div.lcs.selected div.lcsi,
div.lichess_board div.lcs.selectable div.lcsi,
#GameBoard td img.bestmove {
box-shadow: inset 0 0 0px 3px rgba(216, 85, 0, 1);
box-shadow: inset 0 0 10px 2px rgba(216, 85, 0, 0.9);
}
19 changes: 3 additions & 16 deletions public/stylesheets/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,10 @@ button {
.ui-button-text-only .ui-button-text {
padding: .4em 1em;
}
/*button sets*/

div.ui-buttonset {
margin-left: -0.4em;
}
.ui-buttonset .ui-button {
div.ui-buttonset .ui-button {
margin-right: -.4em;
}
ul.ui-autocomplete {
Expand Down Expand Up @@ -1074,7 +1072,7 @@ a.button,
.ui-widget-content {
border-style: solid;
border-width: 1px;
border-color: #e5e5e5;
border-color: #e2e2e2;
}
.button,
a.button,
Expand All @@ -1087,7 +1085,7 @@ a.button,
a.button:hover,
.ui-state-hover {
background-color: #F1F1F1;
border-color: #e1e1e1;
border-color: #dedede;
background-image: linear-gradient(to bottom, #F5F5F5 0%, #F1F1F1 100%);
}
.button:active,
Expand Down Expand Up @@ -1691,16 +1689,6 @@ div.game_config div.color_submits button.random span {
#hook .color.black {
background-position: 0 -256px;
}
#hook .engine {
position: absolute;
bottom: 0px;
right: 0px;
display: block;
width: 16px;
height: 16px;
background: red url(../images/engine_small.png) top left no-repeat;
border-radius: 8px 0 3px 0;
}
div.undertable {
width: 514px;
font-size: 11.5px;
Expand All @@ -1722,7 +1710,6 @@ div.undertable_top a.more {
div.undertable_top span.title {
font-weight: bold;
color: #999;
padding-left: 4px;
}
div.undertable_inner {
border: 1px solid #ccc;
Expand Down
4 changes: 4 additions & 0 deletions todo
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ analysis board = editor + fen history :D
editor FEN like https://nextchessmove.com/
new lobby system http://i.imgur.com/p5MD0uX.png
ajax load computer analysis when available
double click style in chessboardjs
darker light theme top bars
light button border contrast
identic puzzles http://en.lichess.org/training/8635 http://en.lichess.org/training/8634

infra
-------
Expand Down

0 comments on commit 1b0dc07

Please sign in to comment.