Commit Graph
52 Commits
Author SHA1 Message Date
Claude 4325ce0c1c fix(ui): render user level icon inline beside the name
The level (等级) badge was wrapping to its own line below the username and
rendering at the intrinsic PNG size in most surfaces. Centralize the badge
sizing after zibll's `.img-icon` (height: 1.1em, inline-block) in base.css so
every route gets the same compact inline badge, and keep the name row from
flex-wrapping.

- Add shared `.aksrt-user-level-icon / .aksrt-identity-medal` rule + nowrap name
  rows in base.css (loaded on all routes).
- Header dropdown: append the level icon next to the display name (was a
  separate badges row); constrain the name to ellipsis so the badge never wraps.
- User center profile header & author hero: render the level icon inside the
  <h1> name row; drop the duplicate level chip from the signals row.
- Single article author bar / after-box author card: nowrap the name row and
  size the level icon to 1.2em (was unstyled → intrinsic PNG size).
- Comments: inner <name> nowrap with a name clamp; medal sized to 1em.
- Consolidate the per-route `.aksrt-user-level-icon` duplicates in
  user-center/level.css and profile/layout.css onto the shared rule.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 18:13:41 +08:00
kate522 c8b4d1a851 fix(nav): never drop top-nav 发布 when submit page URL is empty
aksrt_get_new_post_url() returns '' without a page-submit assignment,
which previously skipped the post action and emptied the multi-type
chip. Fall back to post-new.php, keep a last-resort action list, put
radius/jb paint on the toggle, and force chip visibility CSS.
2026-07-25 12:00:07 +08:00
kate522 e194c603cb fix(nav): restore multi-type 发布 chip paint on bare navbar-but
Paint classes (jb-*/but/radius) were on the transparent newadd wrapper,
so the multi-type 发布 toggle rendered invisible outside navbar-but-cluster.
Move them onto .newadd-btns__toggle and style the bare DOM path.
2026-07-25 11:51:47 +08:00
kate522 e98f94bc06 fix(nav): align header user-card VIP CTA with check-in button
Drop navbar-cta/pill radius classes from the dropdown 开通会员 link and
force full-width 6px radius geometry to match the签到 button.
2026-07-25 11:42:13 +08:00
kate522 89b4070614 fix(nav): kill Bootstrap 5 navbar padding so bar matches zibll height
AKSRT loads BS5 (.navbar --bs-navbar-padding-y:.5rem) while zibll uses
BS3 without it; that alone added ~16px. Zero BS navbar pad, keep only
.header 8px 20px (mobile 0 8px), horizontal CTA margins, tighter mobile
logo/toggle row.
2026-07-25 11:33:52 +08:00
kate522 8a6f6feafb fix(nav): align header bar height with zibll main.css
Drop forced 34px CTA chips and container min-height:50 that inflated
or shrank the bar vs zibll. Restore .navbar-but .but to 0.8em / 0.3em
1em / margin 0.4em; keep logo 36px, header pad 8px 20px, fixed reserve 88px.
2026-07-25 11:27:31 +08:00
kate522 77150afe38 fix(nav): hard-lock CTA chips at 34px for bare navbar-but markup
Live header uses .navbar-form.navbar-but without .navbar-but-cluster;
remove em padding/height:auto/min-height calc that grew chips on press
and override .but.radius padding so publish/VIP stay fixed size.
2026-07-25 10:38:23 +08:00
kate522 4c18910dc4 fix(nav): stop CTA press warp, pin user menu, hide PC hamburger
Lock top-bar button transforms on press; anchor avatar dropdown under
the trigger; show mobile drawer toggle only ≤767 and grid-layout the
mobile header so logo and menu no longer overlap.
2026-07-25 10:31:52 +08:00
kate522 f599cfe3fb Merge pull request 'fix(nav): zero FA vertical-align in top bar for flex centering' (#275) from worktree-fix-top-multifunc-cards into main
Reviewed-on: CYL/wordpress-theme-aksrt#275
2026-07-25 10:21:20 +08:00
kate522 2898922a17 fix(theme): stop sun/moon overlap and restore dark float contrast
Drive toggle glyphs with html.dark/body theme classes only, drop
inline display styles that lost to !important CSS, and give the
float rail a solid surface + brighter ink in dark mode.
2026-07-25 10:18:19 +08:00
kate522 aa339c5a4d fix(nav): zero FA vertical-align in top bar for flex centering 2026-07-24 12:53:15 +08:00
kate522 c72f51987d fix(nav): scope multi-type newadd wrapper without collapsing CTA links 2026-07-24 12:46:30 +08:00
kate522 f492174297 fix(nav): align navbar text and icon baselines with zibll
Center FA icons in toggle-radius/btn chips, restore menu-item title flex baseline, and match CTA/logo vertical alignment so top bar text and icons no longer drift.
2026-07-24 12:08:09 +08:00
kate522 b8d6f70af3 fix(header): stop homepage-only pull of header-slider-container
Align nav-fixed geometry with zibll: only .slide-header pulls under the bar; restore card container gutters so home overlay cards match other page types.
2026-07-24 11:32:31 +08:00
kate522 5a6f4e427f fix(nav): pin right actions to trailing edge of top bar
Desktop entries were stacking after the logo because navbar-form.navbar-right
lost Bootstrap 3 float:right. Use flex:1 on the primary menu and
margin-left:auto when no menu is present so publish/user/search sit right.
2026-07-22 20:17:51 +08:00
kate522 c5c238bb63 fix(nav): stop Bootstrap .collapse from hiding desktop top bar
Markup used `collapse navbar-collapse`; BS5 hides `.collapse:not(.show)`.
Drop the `.collapse` class in the header shell and force desktop
`.navbar-collapse` to display:flex so menu/CTA/user/search stay visible.
2026-07-22 20:08:54 +08:00
kate522 7177f42b26 fix(nav): close truncated 767px media block in navbar-core 2026-07-22 19:44:17 +08:00
kate522 fb5418e5e4 fix(nav): hide mobile drawer/search off-flow to kill blank band
Desktop was rendering .mobile-header / .mobile-navbar in document flow
because Bootstrap 5 has no visible-xs-block and drawer CSS only ran
inside max-width:767px. Hide drawer shell by default; only show as fixed
off-canvas on small screens. Also fix orphan CSS rules in navbar-core,
give .navbar-search position:fixed so the overlay never reserves height.
2026-07-22 19:40:34 +08:00
kate522 0d9db942f8 feat(nav): close P0/P1 parity gaps (nav style, history, plate, admin build)
Wire header_nav_style transparent/blur, login history sync, plate publish
type, clean dead search CSS, rebuild admin SPA locally (build gitignored).
2026-07-22 17:38:48 +08:00
kate522 1d1fef50af feat(nav): deep 1:1 zibll search-box + navbar-search + newposts unify
Port aksrt_get_search_box/posts for menu_search and layout 1/3 slide;
unify publish switch; expand user-box admin row; CSS/JS remote-box parity.
2026-07-22 17:06:24 +08:00
kate522 147fd6eaf7 feat(nav): full-push menu_search types, senior arrangement, CSS polish
- Menu search panel type chips when multi-type search enabled
- Graphic card arrangement (wrap/swiper) in senior menu editor
- Nav utility CSS: avatar, sub-user width, type chips, mid fold visibility
2026-07-22 12:58:53 +08:00
kate522 159a12c481 feat(nav): deep-align menu_search panel, pill radius, senior media
- Layout-2 remote-box AJAX panel (history/hot/posts) via aksrt_menu_search
- Live suggestions for post/topic/product; local history for guests
- Publish radius switch (zibll bool pill) mapped to CSS radius class
- Senior menu editor: WP media library image picker
- Active menu underline + panel CSS; acceptance/contract updates
2026-07-22 12:51:56 +08:00
kate522 2a11a889c3 feat(nav): finish remaining parity gaps (image_select, AJAX search, senior UI)
- Layout image_select previews (zibll PNGs under assets/images/header-layout)
- Localize aksrtAdminData.themeUri for admin SPA asset URLs
- Layout-2 inline search AJAX suggestions via aksrt_search_suggestions
- Appearance→Menus visual senior submenu editor (cards/columns)
- Acceptance checklist + automated source contract report
2026-07-22 12:04:44 +08:00
kate522 fc50e57bc9 feat(nav): complete remaining zibll parity (search, i18n, senior menus, CSS)
- Remove obsolete dual-path nav CSS; add utilities + language dropdown styles
- Wire header/mobile translate switcher from i18n config
- Layout-2 inline search hot keywords panel; nav_folding on resize
- NavMenuOptions JSON editors for graphic_card / multi_column_links
- Section-navs zibll posts-nav-lists; page-navs enqueue; mobile article TOC box
- SPA/PHP user-card publish type; rebuild admin assets
2026-07-22 11:40:17 +08:00
kate522 259dbdbe04 feat(nav): rewrite top header to zibll 1:1 DOM/CSS/JS contract
Replace hybrid site-nav/drawer shell with zibll navbar-top layouts 1/2/3,
body.mobile-navbar-show drawer, wired NavWalker + aksrt_menu_options meta,
nav_folding/chevron, VIP switches, and SPA/PHP schema parity. No dual-class
compat paths.
2026-07-22 11:18:34 +08:00
kate522 b8ee6b6a43 fix(float): repair VIP rail entry front and admin
Always open VIP modal for float pay_vip, drop forced admin link,
normalize gem icon, harden pay-vip click binding and SPA form UX.
2026-07-22 10:32:00 +08:00
kate522 b7ee5987f0 fix(nav): portal publish menu so chip cannot stretch
Move multi-type 发布 menu to document.body with fixed positioning;
chip uses fit-content only and never inherits the 168px menu width.
2026-07-22 10:11:59 +08:00
kate522 57fa97bf9b fix(nav): isolate publish chip width with grid + button toggle
Render multi-type 发布 as button, size wrapper with inline-grid so the
absolute menu cannot widen the chip on click/focus-within.
2026-07-22 09:39:16 +08:00
kate522 aa05c6c81b fix(nav): pin publish toggle width on open
Use inline-block wrapper + fit-content so absolute dropdown cannot
inflate 发布 chip width on click/focus-within.
2026-07-22 09:29:03 +08:00
kate522 20a5ae9aae fix(nav): restore publish/VIP hover bridge and fixed CTA size
Close dead zone under 发布 (transparent bridge + ::before plate), fix
VIP cards hidden by wrong .navbar-vip.hover-show selector, keep CTA 34px.
2026-07-22 09:22:27 +08:00
kate522 35ac26db28 fix(nav): publish menu contrast, check-in toast and button layout
Use solid light plate + forced ink on 发布 items, notyf instead of alert,
and keep header check-in flex layout after success.
2026-07-22 09:09:02 +08:00
kate522 77164fee45 fix(nav): header publish menu + userbox card polish
Unpaint multi-type 发布 wrapper, fix light-menu ink, avatar unread
dot clipping, check-in REST double namespace, and user-card VIP/check-in layout.
2026-07-22 08:49:27 +08:00
kate522 23416515d3 fix(vip): remove forced equity bullet dots 2026-07-21 20:24:56 +08:00
kate522 fce5ab3088 fix(vip): preserve equity HTML instead of re-splitting into list items 2026-07-21 20:19:11 +08:00
kate522 56434a9255 fix(ui): float VIP duplicates, hover cards, UC menu and light-theme contrast 2026-07-21 18:54:16 +08:00
kate522 f9b495eb14 fix(ui): VIP equity list wrap and theme toggle moon/sun icons 2026-07-21 18:19:42 +08:00
kate522 deff20532f fix(ui): nav CTA icon alignment and always show UC VIP menu 2026-07-21 17:53:34 +08:00
kate522 f929cc649c feat(shell): header multifunc + window._win + float cart/VIP
Multi-type publish/VIP CTA in nav, zibll-like _win runtime bridge for
lightbox flags, and floating shop_cart/pay_vip commerce buttons.
2026-07-18 22:16:17 +08:00
kate522 c32738267f feat(header): user-box density 1:1 (check-in, wallet, VIP, signout)
Add payvip/check-in/wallet/badges strips, guest OAuth strip, confirm
signout modal + REST check-in wiring for zibll header parity.
2026-07-18 21:28:32 +08:00
kate522 56b9d61209 fix(nav): cancel full fixed-nav reserve under homepage hero
body.nav-fixed pads 88px but hero only pulled up by --nav-height (60px),
leaving a blank strip above the slider. Share --nav-fixed-reserve so body
padding and hero margin-top cancel exactly, matching zibll slide-header.
2026-07-17 09:32:28 +08:00
kate522 f043d2c1ab fix(single): close remaining live gaps vs Zibll demo
Align runtime --sidebar-width (300→311), --main-radius, and
body.nav-fixed 88px reserve; enqueue single-post CSS parts directly;
match Zibll action buttons and author avatar DOM; tighten dual-column
tokens after comparing blog.rutua.cn with demo.zibll.com.
2026-07-16 13:07:42 +08:00
kate522 4d2dba47f9 fix(frontend): stop single sidebar float overlap under fixed nav
Replace the fragile content-wrap float + negative-margin sidebar with a
main.container grid, add fixed-nav top breathing room so the breadcrumb
stays below the header, and mark the aside as content-layout__aside.
2026-07-15 00:03:15 +08:00
kate522 8d276844ef fix(frontend): remove blank gap above nav on non-home pages
Complete the fixed-nav contract: when body.nav-fixed and the header
is not the hero overlay (show-slide), take .header out of flow so
body padding alone reserves space. Avoids double offset from sticky
nav still occupying document flow on single/archive pages.
2026-07-14 23:51:31 +08:00
kate522 9c19bc250d fix(header): use single adaptive logo like Zibll
Replace dual light/dark header images with one img carrying white-src
and dark-src so theme.js swaps src; keep size rules and legacy hide
classes as fallback.
2026-07-13 07:55:39 +08:00
kate522 7b413b2a59 fix(header): resolve show-slide layout conflicts on homepage
Remove CSS that forced relative header and cancelled hero underlap,
disable sticky inside absolute show-slide nav, hide desktop expanded
search form for layout-1, and size logos at 36px height like zibll.
2026-07-12 19:04:21 +08:00
kate522 07e1b64951 fix(shell): fine-tune header/footer to zibll contracts
Move nav-fixed to body, apply show-slide overlay tokens, rebuild footer
as zibll template_1 list-inline (logo/links/contact/mini + footer-conter),
and align navbar brand/logo/menu spacing with zibll main.css.
2026-07-12 18:54:03 +08:00
kate522 2d9ee12ef6 feat(frontend): Zibll-like header user box with VIP and admin shortcuts
Restructure logged-in/guest header dropdown into icon action grid, add
message badge, VIP badge, credits row, and admin theme/backend shortcuts.
Guest entry opens dropdown with login/register/reset password actions.
2026-07-11 20:30:02 +08:00
kate522 188611b075 fix(visual): 1:1 banner/hero/modal + strip non-zibll card chrome
Align banner s-desc caption/scale-height, hero search pill and -40px cards, modal colorful header/spring scale; remove white/pink card borders and hover lifts across mainline surfaces.
2026-07-10 23:37:20 +08:00
kate522 b821378a7d fix(visual): align tokens/cards/buttons/dark mode to Zibll
P0 dark hex to #292a2d/#323335/#f8fafc; .btn opacity hover without pink elevation; post/user/product cards shadow-first without pink borders.
2026-07-10 23:07:21 +08:00
kate522 0b5b153265 视觉系统主干落地:对齐 design tokens 与核心组件样式向 Zibll 收敛
- tokens:收紧 surface 层级/边框/圆角/阴影/间距与暗黑基线
- 组件:按钮、卡片原语、导航、侧栏、分页、模态、浮动按钮
- 首页:hero 外壳、fixed 列表/宫格、tab、skeleton/error 及各运营模块卡片化
- 内容页:单篇封面/标题/正文/blockquote/相关/TOC/上一篇下一篇、评论区
- 社区:forum board/topic/compose 子控件与卡片体系
- 交易/认证:cart/orders/revenue/product/auth 表面块与模态浮层统一
- footer:页脚主体、社交/联系、移动端 tabbar/搜索覆盖
2026-07-06 15:19:25 +08:00