From 5407f77a593360aa1d48ad5935c393a8f137efaf Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Fri, 2 Aug 2013 21:46:32 -0400 Subject: add context menu binding code, fix misc. bugs --- www/css/index.css | 11 +++++- www/index.html | 10 ++--- www/js/api.js | 1 + www/js/html5ks.js | 21 +++++----- www/js/menu.js | 116 +++++++++++++++++++++++++++++++++++++++++------------- 5 files changed, 112 insertions(+), 47 deletions(-) diff --git a/www/css/index.css b/www/css/index.css index c1ae018..3f6e64c 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -53,7 +53,7 @@ html.no-js #warn-container { position: absolute; top: 10%; width: 600px; - z-index: 10; + z-index: 100; } html.no-js #warn li { display: none; } html.js #warn noscript { display: none; } @@ -95,7 +95,10 @@ html.no-js #gotit { height: 100%; background-color: rgb(0, 0, 0); opacity: 0.5; - z-index: 9; + z-index: 10; +} +#dialogs { + z-index: 50; } #show { height: 100%; @@ -154,6 +157,10 @@ html.no-js #gotit { #nvlctc { bottom: 25px; } +#centered { + text-align: center; + width: 100%; +} .centered { position: absolute; margin: auto; diff --git a/www/index.html b/www/index.html index 8c4a615..92a2611 100644 --- a/www/index.html +++ b/www/index.html @@ -53,13 +53,13 @@
-
+