fix screenshot lightbox styling issues, and hide cursor when modals are open

This commit is contained in:
Spencer Kuzara
2025-08-27 12:20:05 +09:00
parent e04609b31f
commit 8d5087101a
2 changed files with 11 additions and 2 deletions

View File

@@ -33,11 +33,12 @@ onMounted(() => {
>
<template #default>
<div class="lightbox-header">
<h2 class="text-h6">Screenshots</h2>
<h2 class="text-h6 text-white">Screenshots</h2>
<v-btn
icon="mdi-close"
aria-label="Close"
size="small"
color="#131313"
@click="closeDialog"
/>
</div>
@@ -56,6 +57,7 @@ onMounted(() => {
icon="mdi-triangle"
size="x-small"
class="lightbox-nav-prev"
color="#131313"
@click="props.onClick"
/>
</template>
@@ -79,6 +81,7 @@ onMounted(() => {
icon="mdi-triangle"
size="x-small"
class="lightbox-nav-next"
color="#131313"
@click="props.onClick"
/>
</template>

View File

@@ -441,7 +441,7 @@ onUnmounted(() => {
</script>
<template>
<div class="w-full h-screen flex flex-col overflow-hidden">
<div class="w-full h-screen flex flex-col overflow-hidden cursor-none">
<template v-if="!rom">
<!-- States -->
<div v-if="playerState === 'loading'" class="m-auto text-fg0 text-lg">
@@ -880,6 +880,7 @@ onUnmounted(() => {
<style>
.lightbox-dialog {
backdrop-filter: blur(10px);
cursor: none;
}
.lightbox-dialog .v-overlay__content {
@@ -888,6 +889,11 @@ onUnmounted(() => {
background-color: #0f0f0f;
border-radius: 16px;
animation: slideUp 0.3s ease;
cursor: none;
}
.lightbox-dialog * {
cursor: none !important;
}
.lightbox-header {