diff --git a/src/lib/ListFilter.svelte b/src/lib/ListFilter.svelte index 65896e2..3424030 100644 --- a/src/lib/ListFilter.svelte +++ b/src/lib/ListFilter.svelte @@ -1,10 +1,15 @@

Template List

+
@@ -35,5 +40,21 @@ } } } + button { + color: var(--foreground); + border: 1px solid transparent; + padding: 0 0.3rem; + margin: 0.25rem; + line-height: 2rem; + border-radius: 6px; + text-transform: capitalize; + background: var(--card); + transition: all 0.3s ease-in-out; + cursor: pointer; + font-size: 0.9rem; + &:hover, &.selected { + background: var(--gradient); + } + } } \ No newline at end of file diff --git a/src/lib/SearchSummary.svelte b/src/lib/SearchSummary.svelte index d4ebe31..ab5e573 100644 --- a/src/lib/SearchSummary.svelte +++ b/src/lib/SearchSummary.svelte @@ -18,6 +18,8 @@ export let totalResults: number; Showing {numResults} of {totalResults} results, matching categories: {selectedCategories.join(', ')}

+ {:else} +

Click an app to view info, stats and usage docs

{/if} {#if searchTerm || selectedCategories.length} @@ -34,6 +36,7 @@ export let totalResults: number; align-items: center; p { opacity: 0.75; + margin: 0; } button { background: var(--gradient); diff --git a/src/lib/TemplateList.svelte b/src/lib/TemplateList.svelte index c1615f8..d167326 100644 --- a/src/lib/TemplateList.svelte +++ b/src/lib/TemplateList.svelte @@ -1,6 +1,7 @@
- {#each templates as template} + {#each templates as template (template.title)}

{template.title}

- {template.title} + {template.title}

{template.description}

@@ -48,9 +49,7 @@ section.templates { .template-summary { display: flex; gap: 1rem; - } - .left { - .info-icons { opacity: 0.3; } + align-items: start; } p, h3 { margin: 0; @@ -59,6 +58,12 @@ section.templates { width: 64px; max-height: 64px; border-radius: 6px; + &.loading { + padding: 0.2rem; + background: var(--card-2); + border-radius: 6px; + height: 64px; + } } .description { font-style: italic;