From 696643ce1827f028864de94f1fc6b340d43dbb0e Mon Sep 17 00:00:00 2001 From: eska Date: Wed, 20 Jan 2016 03:21:29 +0100 Subject: Revamp web export page --- tools/html_fs/godot.html | 1655 ++++++++++------------------------------------ 1 file changed, 360 insertions(+), 1295 deletions(-) (limited to 'tools/html_fs') diff --git a/tools/html_fs/godot.html b/tools/html_fs/godot.html index 36761deb90..6176fe7afa 100644 --- a/tools/html_fs/godot.html +++ b/tools/html_fs/godot.html @@ -1,1317 +1,382 @@ - - - - - - Emscripten-Generated Code - - - - - image/svg+xml - + #container { + display: inline-block; /* scale with canvas */ + vertical-align: top; /* prevent extra height */ + position: relative; /* root for absolutely positioned overlay */ + margin: 0; + border: 0 none; + padding: 0; + background-color: #111; + } -
-
Downloading...
+ #canvas { + display: block; + margin: 0 auto; + /* canvas must have border and padding set to zero to + * calculate cursor coordinates correctly */ + border: 0 none; + padding: 0; + } - - Resize canvas - Lock/hide mouse pointer     - - - -
- -
+ /* Status display + * ============== */ - -
- -
- + #status-container { + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + } - - - - + #container:hover > #controls { + opacity: 1.0; + transition: opacity 60ms ease-in-out; + } + + #controls > button, + #controls > label { + vertical-align: middle; + margin-left: 2px; + margin-right: 2px; + } + + #controls > label > input[type="checkbox"] { + /* override user agent style */ + margin-left: 0; + } + + label > input { + vertical-align: middle; + } + + #display-output { display: none; } + + + /* Debug output + * ============ */ + + #output { + display: none; + margin: 6px auto; + border: 2px groove grey; + padding: 4px; + outline: none; + text-align: left; + white-space: pre-wrap; + font-size: small; + color: #eee; + background-color: black; + font-family: "Lucida Console", Monaco, monospace; + } + + + /* Export style include + * ==================== */ + + $GODOT_STYLE_INCLUDE + + + +
+ + HTML5 canvas appears to be unsupported in the current browser.
Please try updating or use a different browser. +
+
+ Loading page... +
+
+ + + +
+
+ + + + + + + -- cgit v1.2.3