From 1237d4c8a2c01f97a267813e068e4a3b738f66d5 Mon Sep 17 00:00:00 2001 From: Andy Janata Date: Fri, 16 Mar 2012 18:34:20 -0700 Subject: [PATCH] move round cards up the z-order again --- WebContent/cah.css | 4 ++++ WebContent/js/cah.game.js | 11 ++--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/WebContent/cah.css b/WebContent/cah.css index 5318771..73a56cb 100644 --- a/WebContent/cah.css +++ b/WebContent/cah.css @@ -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; diff --git a/WebContent/js/cah.game.js b/WebContent/js/cah.game.js index 13556b7..8070c2a 100644 --- a/WebContent/js/cah.game.js +++ b/WebContent/js/cah.game.js @@ -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. *