bunch of minor tweaks

This commit is contained in:
Thibault Duplessis 2014-11-22 10:24:30 +01:00
parent 6e545b8b97
commit 17c8ad7705
3 changed files with 5 additions and 6 deletions

View file

@ -55,7 +55,7 @@ private[importer] final class Importer(
case Preprocessed(game, moves, result) =>
(GameRepo insertDenormalized game) >> {
game.pgnImport.flatMap(_.user).isDefined ?? GameRepo.setImportCreatedAt(game)
} >> applyMoves(Pov(game, Color.white), moves).thenPp >>-
} >> applyMoves(Pov(game, Color.white), moves) >>-
(result foreach { r => applyResult(game, r) }) inject game
}
}

View file

@ -636,7 +636,6 @@ var storage = {
var setVolume = function(v) {
storage.set('sound-volume', v);
Object.keys(audio).forEach(function(k) {
audio[k].volume = v;
audio[k].volume = v * (volumes[k] ? volumes[k] : 1);
});
};

View file

@ -803,21 +803,21 @@ div.side_box .top {
div.side_box .padded {
padding: 7px;
}
div.side_box div.game_infos {
div.side_box .game_infos {
padding-left: 36px;
padding-bottom: 8px;
border-bottom: 1px solid #ccc;
margin-bottom: 6px;
position: relative;
}
div.side_box div.game_infos::before {
div.side_box .game_infos::before {
position: absolute;
top: 2px;
left: 0px;
font-size: 30px;
opacity: 0.7;
}
div.side_box div.game_infos .bookmark {
div.side_box .game_infos .bookmark {
position: absolute;
right: 0px;
background: radial-gradient(ellipse at center, rgba(238, 238, 238, 1) 0%, rgba(238, 238, 238, 1) 25%, rgba(238, 238, 238, 0) 100%);
@ -825,7 +825,7 @@ div.side_box div.game_infos .bookmark {
transform: translate(0, -20px);
transition: 0.3s;
}
div.side_box:hover > div.game_infos .bookmark {
div.side_box .game_infos:hover .bookmark {
transform: translate(0, 0);
opacity: 1;
}