misc: increase icon legibility
This commit is contained in:
1 parent
462f910ac3
commit
bcd168df45
8 files changed
+67
-67
No files matched your search
@@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
<Expandable bind:open={$userSettings.expand.about}>
|
<Expandable bind:open={$userSettings.expand.about}>
|
||||||
<svelte:fragment slot="title">
|
<svelte:fragment slot="title">
|
||||||
<Icon src={InformationCircle} size="15" mini />
|
<Icon src={InformationCircle} size="16" mini />
|
||||||
{$t('cards.site.about')}
|
{$t('cards.site.about')}
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
<Markdown source={site.site.description} />
|
<Markdown source={site.site.description} />
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
|
|
||||||
<Expandable bind:open={$userSettings.expand.stats}>
|
<Expandable bind:open={$userSettings.expand.stats}>
|
||||||
<svelte:fragment slot="title">
|
<svelte:fragment slot="title">
|
||||||
<Icon src={ChartBar} size="15" mini />
|
<Icon src={ChartBar} size="16" mini />
|
||||||
{$t('cards.site.stats')}
|
{$t('cards.site.stats')}
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
<div class="flex flex-row gap-4 flex-wrap">
|
<div class="flex flex-row gap-4 flex-wrap">
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
{#if admins}
|
{#if admins}
|
||||||
<Expandable bind:open={$userSettings.expand.team}>
|
<Expandable bind:open={$userSettings.expand.team}>
|
||||||
<svelte:fragment slot="title">
|
<svelte:fragment slot="title">
|
||||||
<Icon src={UserGroup} size="15" mini />
|
<Icon src={UserGroup} size="16" mini />
|
||||||
{$t('cards.site.admins')}
|
{$t('cards.site.admins')}
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
<ItemList
|
<ItemList
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<a
|
<a
|
||||||
href="/c/{fullCommunityName(
|
href="/c/{fullCommunityName(
|
||||||
community.community.name,
|
community.community.name,
|
||||||
community.community.actor_id,
|
community.community.actor_id
|
||||||
)}"
|
)}"
|
||||||
class="hover:underline"
|
class="hover:underline"
|
||||||
>
|
>
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<div class="ml-auto flex flex-row items-center gap-2">
|
<div class="ml-auto flex flex-row items-center gap-2">
|
||||||
<Button size="square-md" on:click={() => (showInfo = !showInfo)}>
|
<Button size="square-md" on:click={() => (showInfo = !showInfo)}>
|
||||||
<Icon src={InformationCircle} size="16" mini />
|
<Icon src={InformationCircle} size="16" micro />
|
||||||
</Button>
|
</Button>
|
||||||
<Subscribe {community} let:subscribe let:subscribing>
|
<Subscribe {community} let:subscribe let:subscribing>
|
||||||
<Button
|
<Button
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
community.subscribed = newSubscribed
|
community.subscribed = newSubscribed
|
||||||
addSubscription(
|
addSubscription(
|
||||||
community.community,
|
community.community,
|
||||||
newSubscribed == 'Subscribed',
|
newSubscribed == 'Subscribed'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={isSubscribed(community.subscribed) ? Check : Plus}
|
src={isSubscribed(community.subscribed) ? Check : Plus}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
slot="prefix"
|
slot="prefix"
|
||||||
/>
|
/>
|
||||||
{#if isSubscribed(community.subscribed)}
|
{#if isSubscribed(community.subscribed)}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<svelte:fragment slot="label">
|
<svelte:fragment slot="label">
|
||||||
{#if showLabel}
|
{#if showLabel}
|
||||||
<span class="flex items-center gap-1">
|
<span class="flex items-center gap-1">
|
||||||
<Icon src={GlobeAmericas} size="16" mini />
|
<Icon src={GlobeAmericas} size="16" micro />
|
||||||
{$t('filter.location.label')}
|
{$t('filter.location.label')}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={GlobeAmericas}
|
src={GlobeAmericas}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.location.all')}
|
{$t('filter.location.all')}
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={MapPin}
|
src={MapPin}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>{$t('filter.location.local')}
|
/>{$t('filter.location.local')}
|
||||||
</option>
|
</option>
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Newspaper}
|
src={Newspaper}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.location.subscribed')}
|
{$t('filter.location.subscribed')}
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={ShieldCheck}
|
src={ShieldCheck}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.location.moderator')}
|
{$t('filter.location.moderator')}
|
||||||
|
|||||||
@@ -50,14 +50,14 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span slot="label" class="flex items-center gap-1">
|
<span slot="label" class="flex items-center gap-1">
|
||||||
<Icon src={ChartBar} size="13" mini />
|
<Icon src={ChartBar} size="13" micro />
|
||||||
{$t('filter.sort.label')}
|
{$t('filter.sort.label')}
|
||||||
</span>
|
</span>
|
||||||
<option value="Active">
|
<option value="Active">
|
||||||
<Icon
|
<Icon
|
||||||
src={ArrowTrendingUp}
|
src={ArrowTrendingUp}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.active')}
|
{$t('filter.sort.active')}
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Fire}
|
src={Fire}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.hot')}
|
{$t('filter.sort.hot')}
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Scale}
|
src={Scale}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.scaled')}
|
{$t('filter.sort.scaled')}
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Trophy}
|
src={Trophy}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.top.label')}
|
{$t('filter.sort.top.label')}
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Star}
|
src={Star}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.new')}
|
{$t('filter.sort.new')}
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Clock}
|
src={Clock}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.old')}
|
{$t('filter.sort.old')}
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={ArrowTrendingDown}
|
src={ArrowTrendingDown}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.controversial')}
|
{$t('filter.sort.controversial')}
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={ChatBubbleOvalLeft}
|
src={ChatBubbleOvalLeft}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.mostcomments')}
|
{$t('filter.sort.mostcomments')}
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={ChatBubbleLeftRight}
|
src={ChatBubbleLeftRight}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.newcomments')}
|
{$t('filter.sort.newcomments')}
|
||||||
@@ -147,14 +147,14 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span slot="label" class="flex items-center gap-1">
|
<span slot="label" class="flex items-center gap-1">
|
||||||
<Icon src={Clock} size="15" mini />
|
<Icon src={Clock} size="15" micro />
|
||||||
{$t('filter.sort.top.time.label')}
|
{$t('filter.sort.top.time.label')}
|
||||||
</span>
|
</span>
|
||||||
<option value="TopAll">
|
<option value="TopAll">
|
||||||
<Icon
|
<Icon
|
||||||
src={PlusCircle}
|
src={PlusCircle}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>{$t('filter.sort.top.time.all')}
|
/>{$t('filter.sort.top.time.all')}
|
||||||
</option>
|
</option>
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Calendar}
|
src={Calendar}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.top.time.9months')}
|
{$t('filter.sort.top.time.9months')}
|
||||||
@@ -171,7 +171,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Calendar}
|
src={Calendar}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.top.time.6months')}
|
{$t('filter.sort.top.time.6months')}
|
||||||
@@ -180,7 +180,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Calendar}
|
src={Calendar}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.sort.top.time.3months')}
|
{$t('filter.sort.top.time.3months')}
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={CalendarDays}
|
src={CalendarDays}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>{$t('filter.sort.top.time.month')}
|
/>{$t('filter.sort.top.time.month')}
|
||||||
</option>
|
</option>
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={CalendarDays}
|
src={CalendarDays}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>{$t('filter.sort.top.time.week')}
|
/>{$t('filter.sort.top.time.week')}
|
||||||
</option>
|
</option>
|
||||||
@@ -205,7 +205,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Sun}
|
src={Sun}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>{$t('filter.sort.top.time.day')}
|
/>{$t('filter.sort.top.time.day')}
|
||||||
</option>
|
</option>
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Clock}
|
src={Clock}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>{$t('filter.sort.top.time.12hours')}
|
/>{$t('filter.sort.top.time.12hours')}
|
||||||
</option>
|
</option>
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Clock}
|
src={Clock}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>{$t('filter.sort.top.time.6hours')}
|
/>{$t('filter.sort.top.time.6hours')}
|
||||||
</option>
|
</option>
|
||||||
@@ -229,7 +229,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Clock}
|
src={Clock}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>{$t('filter.sort.top.time.hour')}
|
/>{$t('filter.sort.top.time.hour')}
|
||||||
</option>
|
</option>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<svelte:fragment slot="label">
|
<svelte:fragment slot="label">
|
||||||
{#if showLabel}
|
{#if showLabel}
|
||||||
<span class="flex items-center gap-1">
|
<span class="flex items-center gap-1">
|
||||||
<Icon src={ViewColumns} size="14" mini />
|
<Icon src={ViewColumns} size="14" micro />
|
||||||
{$t('filter.view.label')}
|
{$t('filter.view.label')}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={RectangleGroup}
|
src={RectangleGroup}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.view.cozy')}
|
{$t('filter.view.cozy')}
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={QueueList}
|
src={QueueList}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.view.list')}
|
{$t('filter.view.list')}
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Bars3}
|
src={Bars3}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.view.compact')}
|
{$t('filter.view.compact')}
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
<Icon
|
<Icon
|
||||||
src={Clock}
|
src={Clock}
|
||||||
size="16"
|
size="16"
|
||||||
mini
|
micro
|
||||||
class="text-slate-600 dark:text-zinc-400"
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
/>
|
/>
|
||||||
{$t('filter.view.legacy')}
|
{$t('filter.view.legacy')}
|
||||||
|
|||||||
@@ -153,7 +153,7 @@
|
|||||||
rounding="pill"
|
rounding="pill"
|
||||||
class={buttonSquare}
|
class={buttonSquare}
|
||||||
>
|
>
|
||||||
<Icon src={BugAnt} mini size="16" slot="prefix" />
|
<Icon src={BugAnt} micro size="16" slot="prefix" />
|
||||||
</Button>
|
</Button>
|
||||||
{/if}
|
{/if}
|
||||||
{#if $profile?.user && (amMod($profile.user, post.community) || isAdmin($profile.user))}
|
{#if $profile?.user && (amMod($profile.user, post.community) || isAdmin($profile.user))}
|
||||||
@@ -207,14 +207,14 @@
|
|||||||
size="custom"
|
size="custom"
|
||||||
class={buttonSquare}
|
class={buttonSquare}
|
||||||
>
|
>
|
||||||
<Icon slot="prefix" src={EllipsisHorizontal} width={16} mini />
|
<Icon slot="prefix" src={EllipsisHorizontal} width={16} micro />
|
||||||
</Button>
|
</Button>
|
||||||
<MenuDivider>{$t('post.actions.more.creator')}</MenuDivider>
|
<MenuDivider>{$t('post.actions.more.creator')}</MenuDivider>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
link
|
link
|
||||||
href="/u/{post.creator.name}@{new URL(post.creator.actor_id).hostname}"
|
href="/u/{post.creator.name}@{new URL(post.creator.actor_id).hostname}"
|
||||||
>
|
>
|
||||||
<Icon src={UserCircle} width={16} mini slot="prefix" />
|
<Icon src={UserCircle} size="16" micro slot="prefix" />
|
||||||
<span>{post.creator.name}</span>
|
<span>{post.creator.name}</span>
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
href="/c/{post.community.name}@{new URL(post.community.actor_id)
|
href="/c/{post.community.name}@{new URL(post.community.actor_id)
|
||||||
.hostname}"
|
.hostname}"
|
||||||
>
|
>
|
||||||
<Icon src={Newspaper} width={16} mini slot="prefix" />
|
<Icon src={Newspaper} size="16" micro slot="prefix" />
|
||||||
<span>{post.community.title}</span>
|
<span>{post.community.title}</span>
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
{#if fediseerLoading}
|
{#if fediseerLoading}
|
||||||
<Spinner width={14} />
|
<Spinner width={14} />
|
||||||
{:else}
|
{:else}
|
||||||
<Icon src={ServerStack} width={16} mini />
|
<Icon src={ServerStack} size="16" micro />
|
||||||
{/if}
|
{/if}
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
<span>{new URL(post.community.actor_id).hostname}</span>
|
<span>{new URL(post.community.actor_id).hostname}</span>
|
||||||
@@ -254,7 +254,7 @@
|
|||||||
<MenuDivider>{$t('post.actions.more.actions')}</MenuDivider>
|
<MenuDivider>{$t('post.actions.more.actions')}</MenuDivider>
|
||||||
{#if $profile?.user && $profile?.jwt && $profile.user.local_user_view.person.id == post.creator.id}
|
{#if $profile?.user && $profile?.jwt && $profile.user.local_user_view.person.id == post.creator.id}
|
||||||
<MenuButton on:click={() => (editing = true)}>
|
<MenuButton on:click={() => (editing = true)}>
|
||||||
<Icon src={PencilSquare} width={16} mini slot="prefix" />
|
<Icon src={PencilSquare} size="16" micro slot="prefix" />
|
||||||
{$t('post.actions.more.edit')}
|
{$t('post.actions.more.edit')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -265,7 +265,7 @@
|
|||||||
post.read = await markAsRead(post.post, !post.read, $profile.jwt)
|
post.read = await markAsRead(post.post, !post.read, $profile.jwt)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon slot="prefix" src={post.read ? EyeSlash : Eye} width={16} mini />
|
<Icon slot="prefix" src={post.read ? EyeSlash : Eye} size="16" micro />
|
||||||
{post.read
|
{post.read
|
||||||
? $t('post.actions.more.markUnread')
|
? $t('post.actions.more.markUnread')
|
||||||
: $t('post.actions.more.markRead')}
|
: $t('post.actions.more.markRead')}
|
||||||
@@ -287,7 +287,7 @@
|
|||||||
}}
|
}}
|
||||||
class="flex-1 !py-0"
|
class="flex-1 !py-0"
|
||||||
>
|
>
|
||||||
<Icon src={Share} width={16} mini slot="prefix" />
|
<Icon src={Share} size="16" micro slot="prefix" />
|
||||||
{$t('post.actions.more.share')}
|
{$t('post.actions.more.share')}
|
||||||
{#if !post.post.local}
|
{#if !post.post.local}
|
||||||
<Switch
|
<Switch
|
||||||
@@ -310,7 +310,7 @@
|
|||||||
translating = !translating
|
translating = !translating
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon src={Language} size="16" mini slot="prefix" />
|
<Icon src={Language} size="16" micro slot="prefix" />
|
||||||
{$t('post.actions.more.translate')}
|
{$t('post.actions.more.translate')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -338,7 +338,7 @@
|
|||||||
goto('/create/post?crosspost=true')
|
goto('/create/post?crosspost=true')
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon src={ArrowTopRightOnSquare} width={16} mini slot="prefix" />
|
<Icon src={ArrowTopRightOnSquare} size="16" micro slot="prefix" />
|
||||||
{$t('post.actions.more.crosspost')}
|
{$t('post.actions.more.crosspost')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{#if $profile.user && post.creator.id == $profile.user.local_user_view.person.id}
|
{#if $profile.user && post.creator.id == $profile.user.local_user_view.person.id}
|
||||||
@@ -353,7 +353,7 @@
|
|||||||
}}
|
}}
|
||||||
color="danger-subtle"
|
color="danger-subtle"
|
||||||
>
|
>
|
||||||
<Icon src={Trash} width={16} mini slot="prefix" />
|
<Icon src={Trash} size="16" micro slot="prefix" />
|
||||||
{post.post.deleted
|
{post.post.deleted
|
||||||
? $t('post.actions.more.restore')
|
? $t('post.actions.more.restore')
|
||||||
: $t('post.actions.more.delete')}
|
: $t('post.actions.more.delete')}
|
||||||
@@ -376,14 +376,14 @@
|
|||||||
}}
|
}}
|
||||||
color="danger-subtle"
|
color="danger-subtle"
|
||||||
>
|
>
|
||||||
<Icon slot="prefix" src={XMark} size="16" mini />
|
<Icon slot="prefix" src={XMark} size="16" micro />
|
||||||
{post.hidden
|
{post.hidden
|
||||||
? $t('post.actions.more.unhide')
|
? $t('post.actions.more.unhide')
|
||||||
: $t('post.actions.more.hide')}
|
: $t('post.actions.more.hide')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
<MenuButton on:click={() => report(post)} color="danger-subtle">
|
<MenuButton on:click={() => report(post)} color="danger-subtle">
|
||||||
<Icon src={Flag} width={16} mini slot="prefix" />
|
<Icon src={Flag} width={16} micro slot="prefix" />
|
||||||
{$t('moderation.report')}
|
{$t('moderation.report')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -161,7 +161,7 @@
|
|||||||
/>
|
/>
|
||||||
<MenuDivider>{$t('nav.create.label')}</MenuDivider>
|
<MenuDivider>{$t('nav.create.label')}</MenuDivider>
|
||||||
<MenuButton link href="/create/post" disabled={!$profile?.jwt}>
|
<MenuButton link href="/create/post" disabled={!$profile?.jwt}>
|
||||||
<Icon src={PencilSquare} mini width={16} slot="prefix" />
|
<Icon src={PencilSquare} size="16" micro slot="prefix" />
|
||||||
{$t('nav.create.post')}
|
{$t('nav.create.post')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
($site?.site_view.local_site.community_creation_admin_only &&
|
($site?.site_view.local_site.community_creation_admin_only &&
|
||||||
!isAdmin($profile.user))}
|
!isAdmin($profile.user))}
|
||||||
>
|
>
|
||||||
<Icon src={Newspaper} mini width={16} slot="prefix" />
|
<Icon src={Newspaper} size="16" micro slot="prefix" />
|
||||||
{$t('nav.create.community')}
|
{$t('nav.create.community')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{#if !$profile?.jwt}
|
{#if !$profile?.jwt}
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<div class="w-full h-full grid place-items-center">
|
<div class="w-full h-full grid place-items-center">
|
||||||
<Icon src={Bars3} mini size="18" />
|
<Icon src={Bars3} micro size="18" />
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
@@ -98,11 +98,11 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{#if $profile?.jwt}
|
{#if $profile?.jwt}
|
||||||
<MenuButton link href="/profile">
|
<MenuButton link href="/profile">
|
||||||
<Icon src={UserCircle} mini width={16} slot="prefix" />
|
<Icon src={UserCircle} micro width={16} slot="prefix" />
|
||||||
{$t('profile.profile')}
|
{$t('profile.profile')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton link href="/inbox">
|
<MenuButton link href="/inbox">
|
||||||
<Icon src={Inbox} mini width={16} slot="prefix" />
|
<Icon src={Inbox} micro width={16} slot="prefix" />
|
||||||
{$t('profile.inbox')}
|
{$t('profile.inbox')}
|
||||||
{#if $notifications.inbox > 0}
|
{#if $notifications.inbox > 0}
|
||||||
<Badge color="red-subtle" class="text-xs ml-auto font-bold !py-0.5">
|
<Badge color="red-subtle" class="text-xs ml-auto font-bold !py-0.5">
|
||||||
@@ -111,18 +111,18 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton link href="/saved">
|
<MenuButton link href="/saved">
|
||||||
<Icon src={Bookmark} mini width={16} slot="prefix" />
|
<Icon src={Bookmark} micro width={16} slot="prefix" />
|
||||||
{$t('profile.saved')}
|
{$t('profile.saved')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
<MenuButton link href="/accounts">
|
<MenuButton link href="/accounts">
|
||||||
<Icon src={UserGroup} mini width={16} slot="prefix" />
|
<Icon src={UserGroup} micro width={16} slot="prefix" />
|
||||||
{$t('account.accounts')}
|
{$t('account.accounts')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<hr class="dark:opacity-10 w-[90%] my-2 mx-auto" />
|
<hr class="dark:opacity-10 w-[90%] my-2 mx-auto" />
|
||||||
<MenuDivider>{$t('nav.menu.app')}</MenuDivider>
|
<MenuDivider>{$t('nav.menu.app')}</MenuDivider>
|
||||||
<MenuButton link href="/settings">
|
<MenuButton link href="/settings">
|
||||||
<Icon src={Cog6Tooth} mini width={16} slot="prefix" />
|
<Icon src={Cog6Tooth} micro width={16} slot="prefix" />
|
||||||
{$t('nav.menu.settings')}
|
{$t('nav.menu.settings')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton class="!py-0">
|
<MenuButton class="!py-0">
|
||||||
@@ -134,7 +134,7 @@
|
|||||||
: $colorScheme == 'dark'
|
: $colorScheme == 'dark'
|
||||||
? Moon
|
? Moon
|
||||||
: Moon}
|
: Moon}
|
||||||
mini
|
micro
|
||||||
size="16"
|
size="16"
|
||||||
slot="prefix"
|
slot="prefix"
|
||||||
/>
|
/>
|
||||||
@@ -144,22 +144,22 @@
|
|||||||
<div class="contents" on:click|stopPropagation={() => {}}>
|
<div class="contents" on:click|stopPropagation={() => {}}>
|
||||||
<Select bind:value={$colorScheme} class="ml-auto my-auto w-24" size="sm">
|
<Select bind:value={$colorScheme} class="ml-auto my-auto w-24" size="sm">
|
||||||
<option value="system">
|
<option value="system">
|
||||||
<Icon src={ComputerDesktop} size="16" mini />
|
<Icon src={ComputerDesktop} size="16" micro />
|
||||||
{$t('nav.menu.colorscheme.system')}
|
{$t('nav.menu.colorscheme.system')}
|
||||||
</option>
|
</option>
|
||||||
<option value="light">
|
<option value="light">
|
||||||
<Icon src={Sun} size="16" mini />
|
<Icon src={Sun} size="16" micro />
|
||||||
{$t('nav.menu.colorscheme.light')}
|
{$t('nav.menu.colorscheme.light')}
|
||||||
</option>
|
</option>
|
||||||
<option value="dark">
|
<option value="dark">
|
||||||
<Icon src={Moon} size="16" mini />
|
<Icon src={Moon} size="16" micro />
|
||||||
{$t('nav.menu.colorscheme.dark')}
|
{$t('nav.menu.colorscheme.dark')}
|
||||||
</option>
|
</option>
|
||||||
</Select>
|
</Select>
|
||||||
</div>
|
</div>
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton href="/theme">
|
<MenuButton href="/theme">
|
||||||
<Icon src={Swatch} size="16" mini slot="prefix" />
|
<Icon src={Swatch} size="16" micro slot="prefix" />
|
||||||
{$t('nav.menu.theme')}
|
{$t('nav.menu.theme')}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{#if $userSettings.debugInfo}
|
{#if $userSettings.debugInfo}
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
title={$t('nav.menu.instance')}
|
title={$t('nav.menu.instance')}
|
||||||
size="square-md"
|
size="square-md"
|
||||||
>
|
>
|
||||||
<Icon src={ServerStack} size="16" mini />
|
<Icon src={ServerStack} size="16" micro />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
color="tertiary"
|
color="tertiary"
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
title={$t('nav.menu.donate')}
|
title={$t('nav.menu.donate')}
|
||||||
size="square-md"
|
size="square-md"
|
||||||
>
|
>
|
||||||
<Icon src={Heart} size="16" mini />
|
<Icon src={Heart} size="16" micro />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
color="tertiary"
|
color="tertiary"
|
||||||
@@ -205,7 +205,7 @@
|
|||||||
title={$t('nav.menu.source')}
|
title={$t('nav.menu.source')}
|
||||||
size="square-md"
|
size="square-md"
|
||||||
>
|
>
|
||||||
<Icon src={CodeBracketSquare} size="16" mini />
|
<Icon src={CodeBracketSquare} size="16" micro />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in new issue
Block a user