dragging piece z index
parent
4a6bd1a1f3
commit
f1ae7b4519
|
@ -4,9 +4,8 @@
|
|||
/// @prop {String} key - Layer’s name
|
||||
/// @prop {Number} value - Z value mapped to the key
|
||||
$z-indexes: (
|
||||
'cg__piece.dragging.3d': 70,
|
||||
'cg__promotion': 5,
|
||||
'cg__piece.dragging': 4,
|
||||
'cg__promotion': 205,
|
||||
'cg__piece.dragging': 204,
|
||||
'cg__piece.anim': 3,
|
||||
'cg__svg': 2,
|
||||
'cg__piece': 2,
|
||||
|
|
|
@ -32,10 +32,6 @@ piece {
|
|||
top: -9.1%;
|
||||
}
|
||||
|
||||
piece.dragging, #promotion-choice {
|
||||
z-index: z('cg__piece.dragging.3d') !important;
|
||||
}
|
||||
|
||||
.is2d piece {
|
||||
/* copy of board.css to override miniboards */
|
||||
left: 0;
|
||||
|
|
Loading…
Reference in New Issue