Foiled cards are now looking SO much better.

This commit is contained in:
marcins78@gmail.com
2011-12-12 22:05:16 +00:00
parent 683596b331
commit 6684da2968
4 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
}
.foilOverlay {
opacity: 0.2;
opacity: 0.3;
}
.selectableCard > .borderOverlay {

View File

@@ -79,7 +79,7 @@ body {
}
.foilOverlay {
opacity: 0.2;
opacity: 0.3;
}
.cardHint {

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@@ -138,7 +138,7 @@ var Card = Class.extend({
function createCardDiv(image, text, foil, tokens) {
var cardDiv = $("<div class='card'><img src='" + image + "' width='100%' height='100%'>" + ((text != null) ? text : "") + "</div>");
if (foil) {
var foilDiv = $("<div class='foilOverlay'><img src='/gemp-lotr/images/holo.jpg' width='100%' height='100%'></div>");
var foilDiv = $("<div class='foilOverlay'><img src='/gemp-lotr/images/foil.gif' width='100%' height='100%'></div>");
cardDiv.append(foilDiv);
}