aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-23 22:17:59 +0100
committer0neGal <mail@0negal.com>2022-01-23 22:17:59 +0100
commit89bd545b938fb05980393a3f2ae3f0aa2cbee220 (patch)
tree9b53130d3affcc5e0f2e8994246288c940bf2343
parentf474005ea330198caa066a50c5f71ff087d4158f (diff)
downloadViper-89bd545b938fb05980393a3f2ae3f0aa2cbee220.tar.gz
Viper-89bd545b938fb05980393a3f2ae3f0aa2cbee220.zip
added "Find Mods" button
-rw-r--r--src/app/index.html1
-rw-r--r--src/app/main.css5
-rw-r--r--src/lang/en.json1
3 files changed, 6 insertions, 1 deletions
diff --git a/src/app/index.html b/src/app/index.html
index e03936d..c2978bd 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -92,6 +92,7 @@
<button id="togglemod" onclick="selected().toggle()">%%gui.mods.toggle%%</button>
<button id="toggleall" onclick="selected(true).toggle(true)">%%gui.mods.toggleall%%</button>
<button id="installmod" onclick="installmod()">%%gui.mods.install%%</button>
+ <button id="installmod" onclick="Browser.toggle(true)">%%gui.mods.find%%</button>
</div>
</div>
</div>
diff --git a/src/app/main.css b/src/app/main.css
index e13979a..acec007 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -513,7 +513,10 @@ code {
}
.modbtns button {
- margin-left: calc(var(--padding) / 3);
+ --spacing: calc(var(--padding) / 3);
+ margin-left: var(--spacing);
+ margin-top: calc(var(--spacing) / 2);
+ margin-bottom: calc(var(--spacing) / 2);
}
/* drag control */
diff --git a/src/lang/en.json b/src/lang/en.json
index ecc2cc5..5377ca2 100644
--- a/src/lang/en.json
+++ b/src/lang/en.json
@@ -49,6 +49,7 @@
"gui.mods.count": "Mods Installed:",
"gui.mods.disabledtag": "Disabled",
"gui.mods.install": "Install Mod",
+ "gui.mods.find": "Find Mods",
"gui.mods.toggle": "Toggle Mod",
"gui.mods.toggleall": "Toggle All",
"gui.mods.remove": "Remove Mod",