|
@@ -6,28 +6,33 @@
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
|
|
|
<style>
|
|
|
body {
|
|
|
- color: #fff;
|
|
|
- font-family:Monospace;
|
|
|
- font-size:13px;
|
|
|
- text-align:center;
|
|
|
- font-weight: bold;
|
|
|
-
|
|
|
- background-color: #000;
|
|
|
- margin: 0px;
|
|
|
- overflow: hidden;
|
|
|
+ color: #fff;
|
|
|
+ font-family:Monospace;
|
|
|
+ font-size:13px;
|
|
|
+ text-align:center;
|
|
|
+ font-weight: bold;
|
|
|
+
|
|
|
+ background-color: #000;
|
|
|
+ margin: 0px;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
|
|
|
#info {
|
|
|
- color:#fff;
|
|
|
- position: relative;
|
|
|
- margin: 0 auto -2.1em;
|
|
|
- top: 0px;
|
|
|
+ color:#fff;
|
|
|
+ position: relative;
|
|
|
+ margin: 0 auto -2.1em;
|
|
|
+ top: 0px;
|
|
|
|
|
|
- padding: 5px;
|
|
|
- z-index:100;
|
|
|
+ padding: 5px;
|
|
|
+ z-index:100;
|
|
|
}
|
|
|
|
|
|
a { color: skyblue; }
|
|
|
+
|
|
|
+ #stats { position: absolute; top:0; left: 0 }
|
|
|
+ #stats #fps { background: transparent !important }
|
|
|
+ #stats #fps #fpsText { color: #aaa !important }
|
|
|
+ #stats #fps #fpsGraph { display: none }
|
|
|
</style>
|
|
|
</head>
|
|
|
|
|
@@ -146,15 +151,8 @@
|
|
|
// STATS
|
|
|
|
|
|
stats = new Stats();
|
|
|
- stats.domElement.style.position = 'absolute';
|
|
|
- stats.domElement.style.top = '0px';
|
|
|
- stats.domElement.style.zIndex = 100;
|
|
|
container.appendChild( stats.domElement );
|
|
|
|
|
|
- stats.domElement.children[ 0 ].children[ 0 ].style.color = "#aaa";
|
|
|
- stats.domElement.children[ 0 ].style.background = "transparent";
|
|
|
- stats.domElement.children[ 0 ].children[ 1 ].style.display = "none";
|
|
|
-
|
|
|
// EVENTS
|
|
|
|
|
|
window.addEventListener( 'resize', onWindowResize, false );
|