custom fonts

This commit is contained in:
pa
2026-01-17 19:42:55 +09:00
committed by Natsumi
parent f7a214951d
commit 5e5abc1141
29 changed files with 251 additions and 153 deletions

View File

@@ -82,12 +82,22 @@
><Apple class="h-4 w-4 text-[#8e8e93]" />
<span
v-if="avatarDialog.platformInfo.ios"
:class="['x-grey', 'x-tag-border-left', 'text-[#8e8e93]', 'border-[#8e8e93]']"
:class="[
'x-grey',
'x-tag-border-left',
'text-[#8e8e93]',
'border-[#8e8e93]'
]"
>{{ avatarDialog.platformInfo.ios.performanceRating }}</span
>
<span
v-if="avatarDialog.bundleSizes['ios']"
:class="['x-grey', 'x-tag-border-left', 'text-[#8e8e93]', 'border-[#8e8e93]']"
:class="[
'x-grey',
'x-tag-border-left',
'text-[#8e8e93]',
'border-[#8e8e93]'
]"
>{{ avatarDialog.bundleSizes['ios'].fileSize }}</span
>
</Badge>
@@ -491,14 +501,14 @@
</template>
<template #JSON>
<Button
class="rounded-full h-6 w-6 mr-2"
class="rounded-full mr-2"
size="icon-sm"
variant="outline"
@click="refreshAvatarDialogTreeData()">
<RefreshCw />
</Button>
<Button
class="rounded-full h-6 w-6"
class="rounded-full"
size="icon-sm"
variant="outline"
@click="downloadAndSaveJson(avatarDialog.id, avatarDialog.ref)">

View File

@@ -1139,14 +1139,14 @@
</template>
<template #JSON>
<Button
class="rounded-full h-6 w-6 mr-2"
class="rounded-full mr-2"
size="icon-sm"
variant="outline"
@click="refreshGroupDialogTreeData()">
<RefreshCw />
</Button>
<Button
class="rounded-full h-6 w-6"
class="rounded-full"
size="icon-sm"
variant="outline"
@click="downloadAndSaveJson(groupDialog.id, groupDialog.ref)">

View File

@@ -1,17 +1,13 @@
<template>
<Dialog v-model:open="groupMemberModeration.visible">
<DialogContent class="x-dialog max-w-none w-[90vw]">
<DialogContent class="x-dialog max-w-none sm:min-w-[90vw] sm:max-w-[90vw] sm:min-h-[90vh] sm:max-h-[90vh]">
<DialogHeader>
<DialogTitle>{{ t('dialog.group_member_moderation.header') }}</DialogTitle>
</DialogHeader>
<div>
<h3>{{ groupMemberModeration.groupRef.name }}</h3>
<TabsUnderline
default-value="members"
:items="groupModerationTabs"
:unmount-on-hide="false"
style="height: 100%">
<TabsUnderline default-value="members" :items="groupModerationTabs" :unmount-on-hide="false">
<template #members>
<div style="margin-top: 10px">
<Button
@@ -54,10 +50,8 @@
)
"
@click.stop>
<span>
{{ t(memberSortOrder.name) }}
<ArrowDown style="margin-left: 5px" />
</span>
{{ t(memberSortOrder.name) }}
<ArrowDown style="margin-left: 5px" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent>
@@ -96,10 +90,8 @@
)
"
@click.stop>
<span>
{{ t(memberFilter.name) }}
<ArrowDown style="margin-left: 5px" />
</span>
{{ t(memberFilter.name) }}
<ArrowDown style="margin-left: 5px" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent>

View File

@@ -193,9 +193,7 @@
(userDialog.representedGroup && userDialog.representedGroup.isRepresenting)
"
class="extra">
<div
style="display: inline-block; flex: none; margin-right: 5px">
<div style="display: inline-block; flex: none; margin-right: 5px">
<Avatar
class="x-link size-15! rounded-lg!"
:style="{
@@ -1055,10 +1053,7 @@
</Select>
</div>
</div>
<div
class="x-friend-list"
style="margin-top: 10px; min-height: 60px">
<div class="x-friend-list" style="margin-top: 10px; min-height: 60px">
<div
v-for="world in userDialog.worlds"
:key="world.id"
@@ -1092,7 +1087,6 @@
v-model="favoriteWorldsTab"
:items="favoriteWorldTabs"
:unmount-on-hide="false"
class="zero-margin-tabs"
style="margin-top: 10px; height: 50vh">
<template
@@ -1257,14 +1251,14 @@
<template #JSON>
<Button
class="rounded-full h-6 w-6 mr-2"
class="rounded-full mr-2"
size="icon-sm"
variant="outline"
@click="refreshUserDialogTreeData()">
<RefreshCw />
</Button>
<Button
class="rounded-full h-6 w-6"
class="rounded-full"
size="icon-sm"
variant="outline"
@click="downloadAndSaveJson(userDialog.id, userDialog.ref)">

View File

@@ -93,7 +93,12 @@
<Apple class="h-4 w-4 text-[#8e8e93]" />
><span
v-if="worldDialog.bundleSizes['ios']"
:class="['x-grey', 'x-tag-border-left', 'text-[#8e8e93]', 'border-[#8e8e93]']">
:class="[
'x-grey',
'x-tag-border-left',
'text-[#8e8e93]',
'border-[#8e8e93]'
]">
{{ worldDialog.bundleSizes['ios'].fileSize }}
</span>
</Badge>
@@ -680,14 +685,14 @@
</template>
<template #JSON>
<Button
class="rounded-full h-6 w-6 mr-2"
class="rounded-full mr-2"
size="icon-sm"
variant="outline"
@click="refreshWorldDialogTreeData()">
<RefreshCw />
</Button>
<Button
class="rounded-full h-6 w-6"
class="rounded-full"
size="icon-sm"
variant="outline"
@click="downloadAndSaveJson(worldDialog.id, worldDialog.ref)">