diff --git a/src/ModManUi/src/App.vue b/src/ModManUi/src/App.vue
index 4a6a761c..0da45521 100644
--- a/src/ModManUi/src/App.vue
+++ b/src/ModManUi/src/App.vue
@@ -2,6 +2,7 @@
import { ref } from "vue";
import { webviewBinds } from "@/native";
import { useZoneStore } from "@/stores/ZoneStore";
+import SpinningLoader from "@/components/SpinningLoader.vue";
const zoneStore = useZoneStore();
const lastPath = ref("");
@@ -36,25 +37,35 @@ function onUnloadClicked(zoneName: string) {
Nothing to see here yet, this is mainly for testing
-
- Loading: {{ loadingFastFile }}
+
Loaded zones:
-
-
{{ zone }}
-
+
+
+ {{ zone }}
+
+
diff --git a/src/ModManUi/src/components/SpinningLoader.vue b/src/ModManUi/src/components/SpinningLoader.vue
new file mode 100644
index 00000000..4161cd84
--- /dev/null
+++ b/src/ModManUi/src/components/SpinningLoader.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
diff --git a/src/ModManUi/src/main.scss b/src/ModManUi/src/main.scss
index 20d4d9c6..37c9c0b0 100644
--- a/src/ModManUi/src/main.scss
+++ b/src/ModManUi/src/main.scss
@@ -71,13 +71,17 @@ button {
cursor: pointer;
}
-button:hover {
+button:not(:disabled):hover {
border-color: #396cd8;
}
-button:active {
+button:not(:disabled):active {
border-color: #396cd8;
background-color: #e8e8e8;
}
+button:disabled {
+ opacity: 0.6;
+ cursor: not-allowed;
+}
input,
button {
@@ -103,7 +107,7 @@ button {
color: #ffffff;
background-color: #0f0f0f98;
}
- button:active {
+ button:not(:disabled):active {
background-color: #0f0f0f69;
}
}
\ No newline at end of file