diff --git a/css/style.css b/css/style.css index 518228d..fd711f3 100644 --- a/css/style.css +++ b/css/style.css @@ -155,6 +155,12 @@ h3 { line-height: 1.2; } +h4, +h5 { + line-height: 1; + margin: 10px auto; +} + h1 { text-align: center; } @@ -257,7 +263,7 @@ input[type=radio] { /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - + display: block; height: auto; position: absolute; @@ -287,3 +293,16 @@ input[type=radio] { cursor: pointer; display: inline-block; } + +.patchPreviewLabel { + cursor: pointer; +} +.patchPreviewToggle { + display: none; +} +.patchPreview { + display: none; +} +input[type=checkbox]:checked + .patchPreview { + display: block; +} diff --git a/js/dllpatcher.js b/js/dllpatcher.js index 891a8a4..bc546c4 100644 --- a/js/dllpatcher.js +++ b/js/dllpatcher.js @@ -202,14 +202,6 @@ class PatchContainer { return dlls; } - getSupportedVersions() { - var descriptions = []; - for (var i = 0; i < this.patchers.length; i++) { - descriptions.push(this.patchers[i].description); - } - return descriptions; - } - createUI() { var self = this; var container = $("
", {"class": "patchContainer"}); @@ -217,18 +209,36 @@ class PatchContainer { container.html("

" + header + "

"); var supportedDlls = $("