move round cards up the z-order again

This commit is contained in:
Andy Janata 2012-03-16 18:34:20 -07:00
parent dd117f05d2
commit 1237d4c8a2
2 changed files with 6 additions and 9 deletions

View File

@ -367,6 +367,10 @@ span.debug {
z-index: 200;
}
.game_right_side_cards .card_holder, .game_white_cards_binder {
z-index: 200;
}
.game_white_cards_binder {
border: 5px solid silver;
display: inline-block;

View File

@ -471,7 +471,7 @@ cah.Game.prototype.handCardMouseLeave_ = function(e) {
* @private
*/
cah.Game.prototype.roundCardMouseEnter_ = function(e) {
$(e.data.card.getElement()).css("z-index", "2").animate({
$(e.data.card.getElement()).css("z-index", "201").animate({
scale : this.roundCardLargeScale_,
width : this.roundCardLargeSize_,
}, {
@ -489,7 +489,7 @@ cah.Game.prototype.roundCardMouseEnter_ = function(e) {
cah.Game.prototype.roundCardMouseLeave_ = function(e) {
$(e.data.card.getElement()).animate({
scale : this.roundCardSmallScale_,
"z-index" : 1,
"z-index" : 200,
width : this.roundCardSmallSize_,
}, {
duration : 200,
@ -778,13 +778,6 @@ cah.Game.prototype.playerSkipped = function(data) {
+ " was skipped this round for being idle for too long.");
};
/**
* This player was kicked due to being idle.
*/
cah.Game.prototype.iWasKickedIdle = function() {
};
/**
* Notify the player that a deck has been reshuffled.
*