improved general scrollbar style

This commit is contained in:
zurdi
2024-06-12 20:29:06 +02:00
parent 4fe9abe418
commit 9fac65f210
14 changed files with 23 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import Notification from "@/components/Notification.vue";
import Notification from "@/components/common/Notification.vue";
import api from "@/services/api/index";
import socket from "@/services/socket";
import storeConfig from "@/stores/config";

View File

@@ -127,6 +127,7 @@ function selectAllFirmware() {
@close="closeDialog"
v-model="show"
icon="mdi-memory"
empty-state-type="firmware"
scroll-content
:width="mdAndUp ? '50vw' : '95vw'"
>

View File

@@ -1,6 +1,7 @@
<script setup lang="ts">
import EmptyGame from "@/components/Gallery/EmptyGame.vue";
import EmptyPlatform from "@/components/Gallery/EmptyPlatform.vue";
import EmptyGame from "@/components/common/EmptyGame.vue";
import EmptyPlatform from "@/components/common/EmptyPlatform.vue";
import EmptyFirmware from "@/components/common/EmptyFirmware.vue";
import RommIso from "@/components/common/RommIso.vue";
import { onMounted, ref, useSlots } from "vue";
@@ -109,6 +110,7 @@ onMounted(() => {
>
<empty-game v-if="emptyStateType == 'game'" />
<empty-platform v-else-if="emptyStateType == 'platform'" />
<empty-firmware v-else-if="emptyStateType == 'firmware'" />
<slot v-else name="emptyState"></slot>
</v-row>

View File

@@ -0,0 +1,8 @@
<template>
<v-empty-state
headline="Whoops, 404"
title="No firmwares/BIOS to show"
text="The firmwares/BIOS you were looking for does not exist"
icon="mdi-memory"
></v-empty-state>
</template>

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import Notification from "@/components/Notification.vue";
import Notification from "@/components/common/Notification.vue";
import storeNotifications from "@/stores/notifications";
import type { SnackbarStatus } from "@/types/emitter";
import type { Emitter } from "mitt";

View File

@@ -1,6 +1,7 @@
html,
body {
background-color: rgba(var(--v-theme-background)) !important;
overflow-y: hidden !important;
overflow-y: auto;
}
.text-shadow {
text-shadow: 1px 1px 3px #000000, 0 0 3px #000000 !important;

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import GalleryAppBar from "@/components/Gallery/AppBar/Base.vue";
import EmptyGame from "@/components/Gallery/EmptyGame.vue";
import EmptyPlatform from "@/components/Gallery/EmptyPlatform.vue";
import EmptyGame from "@/components/common/EmptyGame.vue";
import EmptyPlatform from "@/components/common/EmptyPlatform.vue";
import FabBar from "@/components/Gallery/FabBar.vue";
import GameCard from "@/components/Game/Card/Base.vue";
import GameCardFlags from "@/components/Game/Card/Flags.vue";

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import EmptyGame from "@/components/Gallery/EmptyGame.vue";
import EmptyGame from "@/components/common/EmptyGame.vue";
import Cover from "@/components/Game/Card/Base.vue";
import ActionBar from "@/components/Game/Details/ActionBar.vue";
import AdditionalContent from "@/components/Game/Details/AdditionalContent.vue";

View File

@@ -17,8 +17,8 @@ import CreateUserDialog from "@/components/Dialog/User/CreateUser.vue";
import DeleteUserDialog from "@/components/Dialog/User/DeleteUser.vue";
import EditUserDialog from "@/components/Dialog/User/EditUser.vue";
import Drawer from "@/components/Drawer/Base.vue";
import LoadingView from "@/components/LoadingView.vue";
import MobileAppBar from "@/components/MobileAppBar.vue";
import LoadingView from "@/components/common/LoadingView.vue";
import MobileAppBar from "@/components/common/MobileAppBar.vue";
import platformApi from "@/services/api/platform";
import userApi from "@/services/api/user";
import storePlatforms from "@/stores/platforms";
@@ -78,7 +78,7 @@ onMounted(() => {
/>
<drawer />
<mobile-app-bar v-if="mdAndDown" />
<router-view :key="refreshView" />
<router-view :key="refreshView" class="scroll"/>
<delete-platform-dialog />
<search-rom-dialog />