diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/css/index.css | 4 | ||||
-rw-r--r-- | www/index.html | 10 | ||||
-rw-r--r-- | www/js/menu.js | 10 |
3 files changed, 12 insertions, 12 deletions
diff --git a/www/css/index.css b/www/css/index.css index 14d07ad..15bbcba 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -212,10 +212,10 @@ label { .button, h2, label { opacity: 0.4; } -.button-disabled { +.disabled { opacity: 0.1; } -.button:not(.button-disabled):hover { +.button:not(.disabled):hover { opacity: 1; } input[type="checkbox"] { diff --git a/www/index.html b/www/index.html index fa5d4be..cdf3882 100644 --- a/www/index.html +++ b/www/index.html @@ -57,10 +57,10 @@ <div id="main-menu" style="display: none;"> <div id="main-menu-buttons" style="top: 377px; position: absolute; left: 81px;"> <div id="start" class="button">Start</div> - <div id="load" class="button button-disabled">Load</div> - <div id="extras" class="button button-disabled">Extras</div> + <div id="load" class="button disabled">Load</div> + <div id="extras" class="button disabled">Extras</div> <div id="options-button" class="button">Options</div> - <div class="quit button button-disabled">Quit</div> + <div class="quit button disabled">Quit</div> </div> <div id="version" style=""> Katawa Shoujo v1.1 @@ -94,14 +94,14 @@ <div id="context-menu" class="centered"> <div id="context-return" class="button">Return</div> <div id="show-image" class="button">Show image</div> - <div id="text-history" class="button button-disabled">Text history</div> + <div id="text-history" class="button disabled">Text history</div> <div id="skip-mode" class="button">Skip mode</div> <div id="auto-mode" class="button">Auto mode</div> <div id="options" class="button">Options</div> <div id="save" class="button">Save</div> <div id="load" class="button">Load</div> <div id="main-menu" class="button">Main menu</div> - <div class="quit button button-disabled">Quit</div> + <div class="quit button disabled">Quit</div> </div> <div id="context-info" class="centered"> <div>Play time: <span id="play-time"></span></div> diff --git a/www/js/menu.js b/www/js/menu.js index 927e568..c39f037 100644 --- a/www/js/menu.js +++ b/www/js/menu.js @@ -54,10 +54,10 @@ var scaleVideo = document.getElementById("scaleVideo"); if (!target.checked) { scaleVideo.checked = false; - scaleVideo.parentNode.className += " button-disabled"; + scaleVideo.parentNode.className += " disabled"; } else { scaleVideo.checked = true; - scaleVideo.parentNode.className = scaleVideo.parentNode.className.replace("button-disabled", ""); + scaleVideo.parentNode.className = scaleVideo.parentNode.className.replace("disabled", ""); } case "scaleVideo": html5ks.scale(); @@ -82,7 +82,7 @@ values = html5ks.persistent; if (!html5ks.persistent.scaleAll) { - document.getElementById("scaleVideo").parentNode.className += " button-disabled"; + document.getElementById("scaleVideo").parentNode.className += " disabled"; } for (var i = options.length - 1; i >= 0; i--) { @@ -113,7 +113,7 @@ }.bind(this), false); html5ks.fetch("imachine").then(function () { var start = this.elements.main.start; - start.className = start.className.replace("button-disabled", ""); + start.className = start.className.replace("disabled", ""); this._imachine_loaded = true; }.bind(this)); @@ -126,7 +126,7 @@ if (navigator.userAgent.indexOf(ua) > -1) { var quit = document.getElementsByClassName("quit"); for (var i = quit.length - 1; i >= 0; i++) { - quit[i].className = quit.className.replace("button-disabled", ""); + quit[i].className = quit.className.replace("disabled", ""); quit[i].addEventListener("click", function () { window.close(); top.open('','_self',''); |