diff options
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/css/grid.css | 6 | ||||
-rw-r--r-- | src/app/css/launcher.css | 8 | ||||
-rw-r--r-- | src/app/css/popups.css | 8 | ||||
-rw-r--r-- | src/app/js/browser.js | 2 | ||||
-rw-r--r-- | src/app/main.css | 4 | ||||
-rw-r--r-- | src/app/main.js | 8 |
6 files changed, 18 insertions, 18 deletions
diff --git a/src/app/css/grid.css b/src/app/css/grid.css index f0ea4a4..d44784b 100644 --- a/src/app/css/grid.css +++ b/src/app/css/grid.css @@ -125,9 +125,9 @@ .grid .el .image img.blur { z-index: -1; - position: relative; - filter: blur(10px); - top: calc(var(--height) * -1 + 5px); + position: relative; + filter: blur(10px); + top: calc(var(--height) * -1 + 5px); } .grid .el .text { diff --git a/src/app/css/launcher.css b/src/app/css/launcher.css index 38c62ac..913e732 100644 --- a/src/app/css/launcher.css +++ b/src/app/css/launcher.css @@ -76,7 +76,7 @@ color: white; flex-grow: 1; opacity: 1.0; - margin-left: 5%; + margin-left: 5%; position: absolute; transition: 0.15s ease-in-out; } @@ -298,9 +298,9 @@ button.visual { } code { - font-size: 16px; - padding: 2px 5px; - border-radius: 3px; + font-size: 16px; + padding: 2px 5px; + border-radius: 3px; background-color: #00000070; } diff --git a/src/app/css/popups.css b/src/app/css/popups.css index 4a6d2e3..d105eb2 100644 --- a/src/app/css/popups.css +++ b/src/app/css/popups.css @@ -153,10 +153,10 @@ width: 1em; height: 1em; content: " "; - background-size: 75%; + background-size: 75%; filter: brightness(1.3); - background-position: center; - background-repeat: no-repeat; + background-position: center; + background-repeat: no-repeat; transition: 0.15s ease-in-out; background-color: var(--selbg); margin-right: calc(var(--spacing) / 3); @@ -165,7 +165,7 @@ .check.checked::before { background-color: rgb(var(--red)); - background-image: url(../icons/check.png); + background-image: url(../icons/check.png); } .option .text, diff --git a/src/app/js/browser.js b/src/app/js/browser.js index 80d3f04..caeb8c2 100644 --- a/src/app/js/browser.js +++ b/src/app/js/browser.js @@ -571,7 +571,7 @@ search.addEventListener("keyup", () => { let mouse_events = ["scroll", "mousedown", "touchdown"]; mouse_events.forEach((event) => { - document.body.addEventListener(event, (e) => { + document.body.addEventListener(event, (e) => { let mouse_at = document.elementsFromPoint(mouseX, mouseY); if (! mouse_at.includes(document.querySelector("#preview"))) { diff --git a/src/app/main.css b/src/app/main.css index 213df64..3f77ac4 100644 --- a/src/app/main.css +++ b/src/app/main.css @@ -97,13 +97,13 @@ img {pointer-events: none} .contentContainer, .gamesContainer { user-select: none; - -webkit-app-region: drag; + -webkit-app-region: drag; } #overlay.shown ~ #bgHolder, #overlay.shown ~ .contentContainer, #overlay.shown ~ .gamesContainer { - -webkit-app-region: no-drag; + -webkit-app-region: no-drag; } a, button, #close, #nsRelease, #vpReleaseNotes, diff --git a/src/app/main.js b/src/app/main.js index 8a25c36..e24cf1b 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -530,8 +530,8 @@ setlang(); let dragtimer; document.addEventListener("dragover", (e) => { - e.preventDefault(); - e.stopPropagation(); + e.preventDefault(); + e.stopPropagation(); dragUI.classList.add("shown"); clearTimeout(dragtimer); @@ -546,8 +546,8 @@ document.addEventListener("mouseover", (e) => { }); document.addEventListener("drop", (e) => { - event.preventDefault(); - event.stopPropagation(); + event.preventDefault(); + event.stopPropagation(); dragUI.classList.remove("shown"); installFromPath(event.dataTransfer.files[0].path); |