guild-settings #35

Merged
sauceyred merged 42 commits from guild-settings into main 2025-07-13 02:26:37 +00:00
Showing only changes of commit 4dea7d27db - Show all commits

50
components/Modal.vue Normal file
View file

@ -0,0 +1,50 @@
<template>
<div class="modal-top-container">
<div v-if="heavy" class="modal-container modal-heavy">
</div>
<div v-else class="modal-container modal-light">
</div>
<div class="modal-div">
<slot />
</div>
</div>
</template>
<script lang="ts" setup>
const props = defineProps<{ heavy?: boolean }>();
</script>
<style>
.modal-container {
position: fixed;
border: 1px solid cyan;
height: 100%;
width: 100%;
opacity: 70%;
z-index: 10;
background-color: var(--background-color);
}
.modal-div {
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(50, 50, 50);
opacity: 100%;
z-index: 11;
padding: 1%;
}
.modal-top-container {
position: fixed;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}
</style>