From a2439a60bc329f0eade8c4e7042cc37cc0375252 Mon Sep 17 00:00:00 2001 From: zenn Date: Mon, 13 Apr 2026 18:08:11 +0900 Subject: [PATCH] =?UTF-8?q?v0.1.14=20=EA=B4=80=EB=A6=AC=EC=9E=90=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EB=B0=8F=20=ED=83=9C=EA=B7=B8=20=EC=B9=A9?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/built/screen.css | 42 +++++++++++++++++++++++----------- package.json | 6 ++++- partials/site/sidebar-left.hbs | 1 + partials/site/topbar.hbs | 9 +++----- 4 files changed, 38 insertions(+), 20 deletions(-) diff --git a/assets/built/screen.css b/assets/built/screen.css index 3467280..4f500eb 100644 --- a/assets/built/screen.css +++ b/assets/built/screen.css @@ -92,8 +92,6 @@ input { min-height: calc(100vh - var(--topbar-height)); width: min(100%, var(--shell-width)); margin: 0 auto; - border-left: 1px solid var(--border); - border-right: 1px solid var(--border); transition: grid-template-columns 0.28s cubic-bezier(0.4, 0, 0.2, 1); } @@ -203,7 +201,7 @@ body.left-sidebar-collapsed .sidebar--left { .menu-group .nav { margin: 0; - padding: 0; + padding: 2px 0 0; list-style: none; } @@ -366,38 +364,56 @@ body.left-sidebar-collapsed .sidebar--left { align-items: center; gap: 10px; min-width: 0; - padding: 6px 0; - border-radius: 12px; - transition: color 0.2s ease, transform 0.2s ease; + padding: 8px 12px 8px 0; + border-radius: 14px; + transition: background-color 0.22s ease, color 0.2s ease, transform 0.2s ease; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; } -.category-chip:hover, +.category-chip:hover { + background: var(--surface-muted); + transform: translateX(1px); +} + .author-list__item:hover, .recommended-list a:hover { background: transparent; } -.category-chip:hover { - transform: translateX(1px); -} - .category-chip__dot { width: 5px; height: 19px; border-radius: 999px; background: var(--tag-accent, linear-gradient(135deg, #5d66ff, #29b6f6)); + transition: width 0.22s ease, height 0.22s ease, border-radius 0.22s ease, margin 0.22s ease; } .category-chip__label { + flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.category-chip__count { + flex: 0 0 auto; + min-width: 14px; + text-align: right; + font-size: 13px; + font-weight: 700; + color: var(--text); +} + +.category-chip:hover .category-chip__dot { + width: 14px; + height: 14px; + border-radius: 999px; + margin-left: 4px; +} + .author-list { display: grid; gap: 10px; @@ -490,8 +506,8 @@ body.left-sidebar-collapsed .sidebar--left { } .topbar__sidebar-toggle-icon { - width: 18px; - height: 18px; + width: 24px; + height: 24px; display: block; } diff --git a/package.json b/package.json index 54ef487..9e331ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghost-theme-thred-clone", - "version": "0.1.13", + "version": "0.1.14", "private": true, "description": "A Ghost theme inspired by the Thred reference layout.", "keywords": [ @@ -67,6 +67,10 @@ "footer_quaternary_url": { "type": "text", "default": "/" + }, + "show_admin_link": { + "type": "boolean", + "default": false } } }, diff --git a/partials/site/sidebar-left.hbs b/partials/site/sidebar-left.hbs index 7c9d365..ebd4561 100644 --- a/partials/site/sidebar-left.hbs +++ b/partials/site/sidebar-left.hbs @@ -92,6 +92,7 @@ {{name}} + {{count.posts}} {{/foreach}} {{/get}} diff --git a/partials/site/topbar.hbs b/partials/site/topbar.hbs index 92a665f..a1288e6 100644 --- a/partials/site/topbar.hbs +++ b/partials/site/topbar.hbs @@ -17,12 +17,9 @@
- {{#if @member}} - Account - - {{else}} - Buy {{@site.title}} - + {{#if @custom.show_admin_link}} + Admin + {{/if}}