Merge feature/timeline into main

This commit is contained in:
2026-06-12 20:06:25 +09:00
18 changed files with 1590 additions and 815 deletions

View File

@@ -20,7 +20,6 @@
<div class="topbar">
<div class="left">
<img src="/logo.png" alt="Logo" class="logo" />
<span class="app-name">Map Journal</span>
</div>
@@ -66,15 +65,16 @@
<style>
.topbar {
height: 64px;
height: 52px;
display: flex;
align-items: center;
padding: 0 24px;
background: #1e2937;
padding: 0 32px;
gap: 16px;
position: relative;
z-index: 10;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
border-bottom: 1px solid var(--border);
background: var(--bg);
flex-shrink: 0;
}
.left {
@@ -83,17 +83,11 @@
gap: 10px;
}
.logo {
width: 75px;
height: 75px;
border-radius: 10px;
object-fit: cover;
flex-shrink: 0;
}
.app-name {
font: 700 20px/1.2 sans-serif;
color: #f1f5f9;
font-family: var(--heading);
font-size: 14px;
font-weight: 400;
color: var(--text-h);
white-space: nowrap;
}
@@ -106,20 +100,21 @@
.segmented {
position: relative;
display: flex;
background: rgba(255, 255, 255, 0.1);
border-radius: 999px;
padding: 4px;
width: 300px;
background: var(--bg-subtle);
border: 1px solid var(--border);
border-radius: 8px;
padding: 3px;
}
.slider {
position: absolute;
top: 4px;
left: 4px;
width: calc(50% - 4px);
height: calc(100% - 8px);
background: #fff;
border-radius: 999px;
top: 3px;
left: 3px;
width: calc(50% - 3px);
height: calc(100% - 6px);
background: var(--bg);
border-radius: 6px;
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
transition: transform 0.25s ease;
pointer-events: none;
}
@@ -128,12 +123,15 @@
position: relative;
z-index: 1;
flex: 1;
padding: 10px 20px;
padding: 4px 18px;
border: none;
background: none;
cursor: pointer;
font: 500 16px/1.4 sans-serif;
color: #cbd5e1;
font-family: var(--sans);
font-size: 13px;
font-weight: 300;
color: var(--text);
letter-spacing: 0.01em;
}
.right {
@@ -155,8 +153,8 @@
}
.avatar {
width: 45px;
height: 45px;
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
@@ -166,12 +164,12 @@
position: absolute;
top: calc(100% + 8px);
right: 0;
background: #1e2937;
border: 1px solid #334155;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 10px;
padding: 8px 0;
min-width: 200px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
box-shadow: var(--shadow);
z-index: 50;
}
@@ -184,17 +182,17 @@
.menu-name {
font: 600 14px/1.3 sans-serif;
color: #f1f5f9;
color: var(--text-h);
}
.menu-email {
font: 400 12px/1.3 sans-serif;
color: #94a3b8;
color: var(--text-sub);
}
.divider {
height: 1px;
background: #334155;
background: var(--border);
margin: 6px 0;
}
@@ -205,13 +203,13 @@
background: none;
text-align: left;
font: 400 14px/1.4 sans-serif;
color: #fca5a5;
color: #ef4444;
cursor: pointer;
transition: background 0.15s;
}
.menu-item:hover {
background: rgba(255, 255, 255, 0.05);
background: var(--bg-subtle);
}
.backdrop {