diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-12 19:18:52 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-12 19:18:52 +0000 |
| commit | a4052ffee8bc7c6c8a69eba5120b5c6c2d951b0f (patch) | |
| tree | 970921e587c0972ed4bf8a82a18bbad8dee10458 /pages/category | |
| parent | addf95bc7e1e694cd9ba7797c8b0847bfecaf54c (diff) | |
Add items
Diffstat (limited to 'pages/category')
| -rw-r--r-- | pages/category/[id].vue | 53 |
1 files changed, 2 insertions, 51 deletions
diff --git a/pages/category/[id].vue b/pages/category/[id].vue index 3570a15..da68bb5 100644 --- a/pages/category/[id].vue +++ b/pages/category/[id].vue @@ -15,7 +15,7 @@ const categoryName = sessionStore.getCategoryById(categoryId)?.display.name; </script> <template> - <div id="header"> + <PageHeader> <span id="path"> <font-awesome-icon class="icon" :icon="['fas', 'fa-folder']" /> <span class="title" v-if="categoryName">{{ stripColorCodes(categoryName) }} </span> @@ -24,7 +24,7 @@ const categoryName = sessionStore.getCategoryById(categoryId)?.display.name; <span id="controls" class="control-group"> <Button type="solid" :disabled="true" :icon="['fas', 'fa-save']" :label="'Save'"></Button> </span> - </div> + </PageHeader> <div id="options-container"> <EditorCategoryOptionsPanel :categoryId="categoryId" /> @@ -33,55 +33,6 @@ const categoryName = sessionStore.getCategoryById(categoryId)?.display.name; </template> <style scoped> -#header { - padding: 1rem 1rem 0.5rem 1rem; - background-color: var(--color-background); - border-bottom: 1px solid var(--color-border); - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); - width: 100%; - height: 55px; - display: flex; - align-items: left; - justify-content: space-between; - gap: 1rem; - position: relative; - z-index: 0; - - #path { - font-size: 1.2rem; - display: flex; - gap: 0.5rem; - align-items: center; - - .icon { - font-size: 0.8rem; - } - - .chevron { - font-size: 0.8rem; - color: var(--color-text-mute); - } - - .title { - font-weight: 700; - } - - code { - font-size: 0.8rem; - color: var(--color-text-mute); - } - } -} - -.none-selected { - display: flex; - align-items: center; - justify-content: center; - padding: 1rem; - font-size: 1.2rem; - color: var(--color-text-mute); -} - #pane-container { width: 100%; flex-grow: 1; |
