From 4bdc3c48ff9b5c767276b1588ec38006338569a1 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 12 Jun 2017 15:15:08 +0800 Subject: 0.8.8: Progress bar & queue initialization fix. --- index.html | 38 +++++++++++++++++++++++++++++--------- minesweeper.js | 25 ++++++++++++++----------- 2 files changed, 43 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index 3b1decf..4eaa97f 100644 --- a/index.html +++ b/index.html @@ -86,6 +86,24 @@ div.modal { div.modal{width:90%;min-height:60%;font-size:1.2em;} } +@media all +{ + #panel{left:-15em;} +} +div{ + -webkit-user-select:none; + -webkit-touch-callout:none; +} +div#progress{ + position:fixed; + top:0; + left:0; + width:0%; + height:2px; + background-color:#47c; + transition:width 1s; + z-index:9999; +} div.mine{background-color:rgba(255,192,0,0.6);} div.detonated{background-color:rgba(255,0,0,0.6);} div.flag{background-color:rgba(0,255,0,0.6);} @@ -127,11 +145,12 @@ link.type="text/css"; link.rel="stylesheet"; document.getElementsByTagName("head")[0].appendChild(link); +
@@ -162,6 +181,7 @@ document.getElementsByTagName("head")[0].appendChild(link);