more ui
parent
5d263ecadf
commit
7f96fda082
|
@ -22,8 +22,7 @@ body{
|
||||||
left:42%;
|
left:42%;
|
||||||
top:50%;
|
top:50%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: #555;
|
background:rgba(0,0,0,0);
|
||||||
background:rgba(1,1,1,.10);
|
|
||||||
width:560px;
|
width:560px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,7 +30,6 @@ body{
|
||||||
#scene{
|
#scene{
|
||||||
height:100%;
|
height:100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: #2f2f2f;
|
|
||||||
left:210px;
|
left:210px;
|
||||||
background:rgba(1,1,1,.10);
|
background:rgba(1,1,1,.10);
|
||||||
}
|
}
|
||||||
|
@ -53,21 +51,19 @@ body{
|
||||||
height:200px;
|
height:200px;
|
||||||
width:200px;
|
width:200px;
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
background: rgba(30,30,30,.70);
|
background: rgba(0,0,0,.40);
|
||||||
border: 1px solid black;
|
border: 1px solid DimGrey;
|
||||||
}
|
}
|
||||||
|
|
||||||
#leftInfo ul {padding:2%;}
|
#leftInfo ul {padding:2%;}
|
||||||
|
|
||||||
#hold{
|
#hold{
|
||||||
left:50px;
|
left:55px;
|
||||||
text-align:right;
|
|
||||||
position:relative;
|
position:relative;
|
||||||
width:80px;
|
width:80px;
|
||||||
height:435px;
|
height:400px;
|
||||||
background: #2f2f2f;
|
margin:5px auto;
|
||||||
margin:10px auto;
|
background:rgba(10,10,10,.40);
|
||||||
background:rgba(0,0,0,.80);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#gameOver{
|
#gameOver{
|
||||||
|
@ -115,12 +111,10 @@ body{
|
||||||
|
|
||||||
#preview{
|
#preview{
|
||||||
width:80px;
|
width:80px;
|
||||||
height:468px;
|
height:400px;
|
||||||
top:0px;
|
top:0px;
|
||||||
|
|
||||||
background: #ffffff;
|
|
||||||
margin:10px auto;
|
margin:10px auto;
|
||||||
background:rgba(0,0,0,.80);
|
background:rgba(10,10,10,.40);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
29
index.html
29
index.html
|
@ -46,14 +46,13 @@
|
||||||
|
|
||||||
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/tdjyzz?gui=true&t=10&paused=false&muted=false" allowfullscreen></iframe> -->
|
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/tdjyzz?gui=true&t=10&paused=false&muted=false" allowfullscreen></iframe> -->
|
||||||
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/3lVfDm?gui=true&t=10&paused=true&muted=false" allowfullscreen></iframe> -->
|
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/3lVfDm?gui=true&t=10&paused=true&muted=false" allowfullscreen></iframe> -->
|
||||||
<iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/WldfWX?gui=&paused=false&muted=false" ></iframe>
|
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/WldfWX?gui=&paused=false&muted=false" ></iframe> -->
|
||||||
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/3sy3Wy?gui=true&t=10&paused=false&muted=false" ></iframe> -->
|
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/3sy3Wy?gui=true&t=10&paused=false&muted=false" ></iframe> -->
|
||||||
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/MlSSRt?gui=&paused=false&muted=false" allowfullscreen></iframe> -->
|
<iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/MlSSRt?gui=&paused=false&muted=false" allowfullscreen></iframe>
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("bg").width = window.innerWidth;
|
document.getElementById("bg").width = window.innerWidth;
|
||||||
document.getElementById("bg").height = window.innerHeight;
|
document.getElementById("bg").height = window.innerHeight;
|
||||||
//document.getElementById("bg").setAttribute("tabIndex", "-1");
|
|
||||||
//document.getElementById("divbg").setAttribute("tabIndex", "-1");
|
|
||||||
document.getElementById("bg").removeAttribute("tabIndex");
|
document.getElementById("bg").removeAttribute("tabIndex");
|
||||||
document.getElementById("divbg").removeAttribute("tabIndex");
|
document.getElementById("divbg").removeAttribute("tabIndex");
|
||||||
</script>
|
</script>
|
||||||
|
@ -123,14 +122,14 @@ document.getElementById("divbg").removeAttribute("tabIndex");
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<canvas style="border: 1px solid #000;" id="hold"></canvas>
|
<canvas style="border: 1px solid DarkGrey;" id="hold"></canvas>
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
|
<input style="padding:1px;text-decoration:underline;overflow:visible;font-size:12px;background:rgba(40,40,40,.80);color:dodgerblue;border:1px solid DarkGrey;text-align:left;" type="button" id="Timer" value="Timer Off"/>
|
||||||
|
<input disabled=true style="padding:1px;overflow:visible;width:80px;font-size:12px;background:rgba(40,40,40,.80);color:dodgerblue;border:1px solid DarkGrey;text-align:left;" type="text" id="Time" value=""/>
|
||||||
|
|
||||||
<input style="padding:1px;text-decoration:underline;overflow:visible;font-size:12px;background:rgba(0,0,0,.80);color:dodgerblue;border:1px solid black;text-align:left;" type="button" id="Timer" value="Timer Off"/>
|
<input disabled=true style="overflow:visible;width:40%;font-size:12px;background:rgba(40,40,40,.80);color:dodgerblue;border:1px solid DarkGrey;text-align:left;" type="text" id="besttimetext" value="Best Time:"/>
|
||||||
<input disabled=true style="padding:1px;overflow:visible;width:80px;font-size:12px;background:rgba(0,0,0,.80);color:dodgerblue;border:1px solid black;text-align:left;" type="text" id="Time" value=""/>
|
<input disabled=true style="overflow:visible;width:80px;font-size:12px;background:rgba(40,40,40,.80);color:dodgerblue;border:1px solid DarkGrey;text-align:left;" type="text" id="besttime" value=""/>
|
||||||
|
|
||||||
<input disabled=true style="overflow:visible;width:40%;font-size:12px;background:rgba(0,0,0,.80);color:dodgerblue;border:1px solid black;text-align:left;" type="text" id="besttimetext" value="Best Time:"/>
|
|
||||||
<input disabled=true style="overflow:visible;width:80px;font-size:12px;background:rgba(0,0,0,.80);color:dodgerblue;border:1px solid black;text-align:left;" type="text" id="besttime" value=""/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="gameOver">
|
<div id="gameOver">
|
||||||
|
@ -145,16 +144,16 @@ document.getElementById("divbg").removeAttribute("tabIndex");
|
||||||
<h2 id="scoreInfo">Score: <br><span id="score" >0</span></h2>
|
<h2 id="scoreInfo">Score: <br><span id="score" >0</span></h2>
|
||||||
<!-- <h1 style="visibility:collapse;" id="linesInfo">Lines: <br><span id="lines" >0</span></h1> -->
|
<!-- <h1 style="visibility:collapse;" id="linesInfo">Lines: <br><span id="lines" >0</span></h1> -->
|
||||||
<div style="visibility:collapse" id="rewardInfo" class="invisible">+<span id="reward">0</span></div>
|
<div style="visibility:collapse" id="rewardInfo" class="invisible">+<span id="reward">0</span></div>
|
||||||
<canvas style="border: 1px solid #000;" id="preview"></canvas>
|
<canvas style="border: 1px solid DarkGrey;" id="preview"></canvas>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<select style="width:80px;font-size:13px;background:rgba(0,0,0,.80);color:dodgerblue;border: 1px solid Black;text-align:left;" id="settings" name="setting">
|
<select style="width:80px;font-size:13px;background:rgba(40,40,40,.80);color:dodgerblue;border: 1px solid DarkGrey;text-align:left;" id="settings" name="setting">
|
||||||
<option selected="">Settings:</option>
|
<option selected="">Settings:</option>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
<input style="width:80px;font-size:13px;background:rgba(0,0,0,.80);color:dodgerblue;border:1px solid black;text-align:left;" type="text" id="setting_value">
|
<input style="width:80px;font-size:13px;background:rgba(40,40,40,.80);color:dodgerblue;border:1px solid DarkGrey;text-align:left;" type="text" id="setting_value">
|
||||||
<input style="width:80px;font-size:12px;background:rgba(0,0,0,.80);color:dodgerblue;border:1px solid black;" id="submitsetting" type="submit" value="Set Setting"></input>
|
<input style="width:80px;font-size:12px;background:rgba(40,40,40,.80);color:dodgerblue;border:1px solid DarkGrey;" id="submitsetting" type="submit" value="Set Setting"></input>
|
||||||
<input style="width:80px;font-size:12px;background:rgba(0,0,0,.80);color:dodgerblue;border:1px solid black;" id="test" type="submit" value="Test Yourself"></input>
|
<input style="width:80px;font-size:12px;background:rgba(40,40,40,.80);color:dodgerblue;border:1px solid DarkGrey;" id="test" type="submit" value="Test Yourself"></input>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue