mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
fix screenshot lightbox styling issues, and hide cursor when modals are open
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user