refactor css

This commit is contained in:
pa
2026-03-08 21:54:29 +09:00
parent 8c21ecd9f0
commit 47807db8cb
18 changed files with 150 additions and 221 deletions
@@ -4,7 +4,7 @@
<transition name="el-fade-in-linear">
<Location
v-show="!isLoading"
class="location"
class="flex items-center justify-center"
:location="activityDetailData[0]?.location"
is-open-previous-instance-info-dialog />
</transition>
@@ -407,11 +407,3 @@
initEcharts
});
</script>
<style scoped>
.location {
display: flex;
align-items: center;
justify-content: center;
}
</style>
-8
View File
@@ -463,11 +463,3 @@
friendsListSearchChange();
}
</script>
<style scoped>
.friends-list-avatar {
object-fit: cover;
height: 22px;
width: 22px;
}
</style>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<template v-if="watchState.isLoggedIn">
<div class="main-layout-wrapper">
<div class="flex flex-col flex-1 h-full min-h-0 min-w-0 overflow-hidden">
<SidebarProvider
:open="sidebarOpen"
:width="navWidth"
+1 -8
View File
@@ -23,7 +23,7 @@
<InputGroupField
v-model="playerModerationTable.filters[1].value"
:placeholder="t('view.moderation.search_placeholder')"
class="filter-input flex-[0.4]" />
class="w-[150px] mx-2.5 flex-[0.4]" />
<TooltipWrapper side="bottom" :content="t('view.moderation.refresh_tooltip')">
<Button
class="rounded-full"
@@ -179,10 +179,3 @@
};
};
</script>
<style scoped>
.filter-input {
width: 150px;
margin: 0 10px;
}
</style>
-14
View File
@@ -295,17 +295,3 @@
sendInviteRequestResponseDialogVisible.value = true;
}
</script>
<style scoped>
.button-pd-0 {
padding: 0;
}
.notification-image {
flex: none;
height: 30px;
width: 30px;
border-radius: 4px;
object-fit: cover;
}
</style>
+10 -28
View File
@@ -11,27 +11,25 @@
<template #label-gallery>
<span>
{{ t('dialog.gallery_icons.gallery') }}
<span class="gallery-tab-count"> {{ galleryTable.length }}/64 </span>
<span class="text-xs ml-[5px]"> {{ galleryTable.length }}/64 </span>
</span>
</template>
<template #label-icons>
<span>
{{ t('dialog.gallery_icons.icons') }}
<span class="gallery-tab-count"> {{ VRCPlusIconsTable.length }}/64 </span>
<span class="text-xs ml-[5px]"> {{ VRCPlusIconsTable.length }}/64 </span>
</span>
</template>
<template #label-emojis>
<span>
{{ t('dialog.gallery_icons.emojis') }}
<span class="gallery-tab-count">
{{ emojiTable.length }}/{{ cachedConfigTyped.maxUserEmoji }}
</span>
<span class="text-xs ml-[5px]"> {{ emojiTable.length }}/{{ cachedConfigTyped.maxUserEmoji }} </span>
</span>
</template>
<template #label-stickers>
<span>
{{ t('dialog.gallery_icons.stickers') }}
<span class="gallery-tab-count">
<span class="text-xs ml-[5px]">
{{ stickerTable.length }}/{{ cachedConfigTyped.maxUserStickers }}
</span>
</span>
@@ -39,13 +37,13 @@
<template #label-prints>
<span>
{{ t('dialog.gallery_icons.prints') }}
<span class="gallery-tab-count"> {{ printTable.length }}/64 </span>
<span class="text-xs ml-[5px]"> {{ printTable.length }}/64 </span>
</span>
</template>
<template #label-inventory>
<span>
{{ t('dialog.gallery_icons.inventory') }}
<span class="gallery-tab-count">
<span class="text-xs ml-[5px]">
{{ inventoryTable.length }}
</span>
</span>
@@ -464,12 +462,12 @@
:hint="image.worldName" />
<span v-else class="block">&nbsp;</span>
<DisplayName
class="block truncate gallery-meta"
class="block truncate font-mono"
v-if="image.authorId"
:userid="image.authorId"
:hint="image.authorName" />
<span v-else class="gallery-meta">&nbsp;</span>
<span v-if="image.createdAt" class="block truncate gallery-meta gallery-meta--small">
<span v-else class="font-mono block">&nbsp;</span>
<span v-if="image.createdAt" class="block truncate font-mono text-[11px]">
{{ formatDateFilter(image.createdAt, 'long') }}
</span>
<span v-else class="block">&nbsp;</span>
@@ -525,7 +523,7 @@
<span class="block truncate" v-text="item.name"></span>
<span v-if="item.description" class="block truncate" v-text="item.description"></span>
<span v-else class="block">&nbsp;</span>
<span class="block truncate gallery-meta gallery-meta--small">
<span class="block truncate font-mono text-[11px]">
{{ formatDateFilter(item.created_at, 'long') }}
</span>
<span v-if="item.itemType === 'prop'">{{ t('dialog.gallery_icons.item') }}</span>
@@ -1222,19 +1220,3 @@
.catch(() => {});
}
</script>
<style scoped>
.gallery-tab-count {
font-size: 12px;
margin-left: 5px;
}
.gallery-meta {
font-family: monospace;
display: block;
}
.gallery-meta--small {
font-size: 11px;
}
</style>
@@ -98,5 +98,3 @@
emit('update:discordNamesDialogVisible', false);
}
</script>
<style scoped></style>
@@ -271,9 +271,3 @@
isRegistryBackupDialogVisible.value = false;
}
</script>
<style scoped>
.button-pd-0 {
padding: 0;
}
</style>