mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-02-03 10:14:07 +08:00
Implement a comprehensive mobile-first UI redesign with touch-friendly navigation, responsive data display, and proper device adaptation. Key changes: - Add 3-tier breakpoint system: mobile (<640px), tablet (640-1023px), desktop (1024px+) - Create core mobile components: bottom-sheet, pull-refresh, swipe-container, data-list, adaptive-modal - Redesign navigation: bottom nav with labels on mobile, mini sidebar on tablet - Mobile-first layout with dvh units, safe area insets, and column-reverse flex - Forms stack labels vertically on mobile, inputs go full-width - Popups render as bottom sheets on mobile devices - Bangumi grid uses CSS Grid with responsive minmax columns - RSS page uses card-based data-list on mobile instead of NDataTable - Config actions get safe area padding and full-width buttons on mobile/tablet - Touch targets enforced at 44px minimum throughout - Add sheet/overlay/swipe CSS transitions - Topbar search visible on tablet (previously desktop-only) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<meta name="theme-color" content="#FAFAFA" />
|
|
<link rel="icon" href="/images/logo.svg" />
|
|
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png" />
|
|
<meta name="description" content="Automated Bangumi Download Tool" />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" />
|
|
<title>AutoBangumi</title>
|
|
<script>
|
|
// Apply dark mode before render to prevent flash
|
|
(function() {
|
|
const saved = localStorage.getItem('theme');
|
|
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
if (saved === 'dark' || (!saved && prefersDark)) {
|
|
document.documentElement.classList.add('dark');
|
|
}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|