Merge branch 'release' into stable

pull/10/head 1.1.6
Frode Petterson 2016-04-05 11:56:03 +02:00
commit 48f92d699b
3 changed files with 10 additions and 8 deletions

View File

@ -3,7 +3,7 @@
"description": "See how many cards you can remember!", "description": "See how many cards you can remember!",
"majorVersion": 1, "majorVersion": 1,
"minorVersion": 1, "minorVersion": 1,
"patchVersion": 5, "patchVersion": 6,
"runnable": 1, "runnable": 1,
"author": "Amendor AS", "author": "Amendor AS",
"license": "MIT", "license": "MIT",

View File

@ -5,15 +5,16 @@ html .h5p-memory-game > ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
overflow: hidden;
} }
.h5p-memory-game .h5p-memory-card, .h5p-memory-game .h5p-memory-card,
.h5p-memory-game .h5p-memory-card .h5p-back, .h5p-memory-game .h5p-memory-card .h5p-back,
.h5p-memory-game .h5p-memory-card .h5p-front { .h5p-memory-game .h5p-memory-card .h5p-front {
width: 100px; width: 100px;
height: 100px; height: 100px;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
.h5p-memory-game img { .h5p-memory-game img {
@ -76,7 +77,7 @@ html .h5p-memory-game > ul {
left: 35px; left: 35px;
} }
.h5p-memory-game .h5p-memory-card .h5p-front:after { .h5p-memory-game .h5p-memory-card .h5p-front:after {
content: ""; content: "";
display: block; display: block;
position: absolute; position: absolute;
top: 85%; top: 85%;
@ -140,10 +141,11 @@ html .h5p-memory-game > ul {
.h5p-memory-game .h5p-status { .h5p-memory-game .h5p-status {
clear: left; clear: left;
padding: 0 1em; padding: 0 1em;
margin: 0.25em 0 1em 0;
} }
.h5p-memory-game .h5p-status > dt { .h5p-memory-game .h5p-status > dt {
float: left; float: left;
margin-right: 1em; margin: 0 1em 0 0;
font-weight: bold; font-weight: bold;
} }
.h5p-memory-game .h5p-status > dt:after { .h5p-memory-game .h5p-status > dt:after {
@ -159,7 +161,7 @@ html .h5p-memory-game > ul {
padding: 1em; padding: 1em;
width: 20em; width: 20em;
position: absolute; position: absolute;
top: 4em; top: 2em;
left: 50%; left: 50%;
margin-left: -10em; margin-left: -10em;
box-shadow: 0 0 1em #666; box-shadow: 0 0 1em #666;

View File

@ -23,7 +23,7 @@
* @param {function} done * @param {function} done
*/ */
self.show = function (desc, $img, done) { self.show = function (desc, $img, done) {
$desc.text(desc); $desc.html(desc);
$img.appendTo($image.html('')); $img.appendTo($image.html(''));
$popup.show(); $popup.show();
closed = done; closed = done;