move teams/[id] route into [[tab=tab]] optional segment

This commit is contained in:
Justin Edmund 2025-12-01 04:27:42 -08:00
parent 6ab74b43b1
commit 5b0d41a020
5 changed files with 25 additions and 11 deletions

View file

@ -110,11 +110,29 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: spacing.$unit 0; padding: spacing.$unit 0;
background: colors.$grey-90;
border-radius: layout.$item-corner; border-radius: layout.$item-corner;
font-size: typography.$font-regular; font-size: typography.$font-regular;
min-height: calc(spacing.$unit * 5); min-height: calc(spacing.$unit * 5);
&:not(.editable) {
padding: spacing.$unit;
margin: 0 calc(spacing.$unit * -1);
}
&:hover:not(.editable):not(.hasChildren) {
background: colors.$grey-90;
}
&.editable:focus-within,
&.hasChildren:focus-within {
background: var(--input-bg-hover);
}
&.editable,
&.hasChildren {
background: var(--input-bg);
}
.label-container { .label-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -89,9 +89,7 @@
{#if canEdit} {#if canEdit}
<DetailsContainer title="Image Management"> <DetailsContainer title="Image Management">
<div class="images-section"> <div class="images-section">
<p class="description"> <p class="description">Download character images from the game server to your storage.</p>
Download character images from the game server to your storage.
</p>
<div class="actions"> <div class="actions">
<Button <Button
@ -119,13 +117,11 @@
<div class="status" class:success={isComplete} class:error={isFailed}> <div class="status" class:success={isComplete} class:error={isFailed}>
{#if isInProgress} {#if isInProgress}
<div class="progress-bar"> <div class="progress-bar">
<div <div class="progress-fill" style="width: {downloadStatus.progress ?? 0}%"></div>
class="progress-fill"
style="width: {downloadStatus.progress ?? 0}%"
></div>
</div> </div>
<span class="progress-text"> <span class="progress-text">
{downloadStatus.progress ?? 0}% - {downloadStatus.imagesDownloaded ?? 0}/{downloadStatus.imagesTotal ?? '?'} images {downloadStatus.progress ?? 0}% - {downloadStatus.imagesDownloaded ??
0}/{downloadStatus.imagesTotal ?? '?'} images
</span> </span>
{:else if isComplete} {:else if isComplete}
<span>Download complete - {downloadStatus.imagesDownloaded} images downloaded</span> <span>Download complete - {downloadStatus.imagesDownloaded} images downloaded</span>
@ -151,7 +147,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: spacing.$unit-2x; gap: spacing.$unit-2x;
padding: spacing.$unit-2x; padding: spacing.$unit-2x 0;
} }
.description { .description {

View file

@ -292,7 +292,7 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: spacing.$unit-2x; gap: spacing.$unit-2x;
padding: spacing.$unit-2x; padding: spacing.$unit-2x 0;
} }
.related-unit { .related-unit {