diff options
| author | Michele Bini <michele.bini@gmail.com> | 2014-09-28 13:22:59 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2014-09-28 13:22:59 (GMT) |
| commit | 1d9957a149b2d070d523decf262274df70af9671 (patch) | |
| tree | 0091c891d0f654a47efec21dffdde22b241547b4 /game-debug.html.coffee | |
| parent | fbf12028d60458773cbc821bd781c22973ae9208 (diff) | |
Fixes
Diffstat (limited to 'game-debug.html.coffee')
| -rw-r--r-- | game-debug.html.coffee | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/game-debug.html.coffee b/game-debug.html.coffee index eb3ad07..841a7f8 100644 --- a/game-debug.html.coffee +++ b/game-debug.html.coffee @@ -12,6 +12,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +version = "0.0.1" + { htmlcup } = require 'htmlcup' htmlcup[x] = htmlcup.compileTag x for x in [ "svg", "rect", "g", "ellipse", "polygon", "line", "image", "defs", "linearGradient", "stop", "use" ] @@ -150,16 +152,17 @@ genPage = -> g.flipped { transform:scale(-1,1); } - .support-vaquitas { + .dimmed { opacity: 0.2; } - .support-vaquitas:hover { + .dimmed:hover { opacity: 1; } """ @body -> @div class:"centering page", -> @div class:"centered", -> + @div -> @a class:"dimmed", "Vilma the Vaquita - v#{version}" if useSvg @svg id:"sea-svgroot", width:"960", height:"720", -> @defs -> @@ -179,7 +182,7 @@ genPage = -> @use "xlink:href":"#_" else @canvas width:"960", height:"720", -> - @div -> @a class:"support-vaquitas", target:"_blank", href:"index.html", "Learn about Vaquitas" + @div -> @a class:"dimmed", target:"_blank", href:"index.html", "Learn about Vaquitas" gameObjects = null @script type:"text/javascript", "gameObjects=#{JSON.stringify(gameObjects)};" @coffeeScript -> |
