Files
web-at-transit-mock/flow_ui/flow_overview.html
T

254 lines
9.8 KiB
HTML

<!doctype html>
<html lang="th">
<head>
<meta charset="utf-8" />
<title>AT Transit Action Flow (Stacked Frames)</title>
<style>
:root{
--blue:#4f6dff;
--purple:#8b5cf6;
--green:#10b981;
--ink:#0f172a;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
font-family: "Sarabun", -apple-system, "Segoe UI", sans-serif;
background: #dde7f7;
color: var(--ink);
padding: 28px 36px 44px;
}
.doc-title{
font-size: 14px; color:#475569; margin: 0 0 18px;
letter-spacing:.2px;
}
.lane{
border-radius: 14px;
overflow: hidden;
margin-bottom: 28px;
box-shadow: 0 1px 0 rgba(15,23,42,.04);
}
.lane.blue { background: #eaf0fd; }
.lane.purple { background: #f1ebfb; }
.lane.green { background: #e7f6f0; }
.lane-head{
color:#fff; padding: 10px 20px;
}
.lane.blue .lane-head { background: linear-gradient(90deg,#4f6dff,#7891ff); }
.lane.purple .lane-head { background: linear-gradient(90deg,#7c3aed,#a78bfa); }
.lane.green .lane-head { background: linear-gradient(90deg,#0ea371,#34d399); }
.lane-head h2{ font-size:13px; margin:0; font-weight:700; letter-spacing:.3px;}
.lane-head p { font-size:11px; margin:2px 0 0; opacity:.9; }
.row{
display:flex; align-items:flex-start; gap: 14px;
padding: 22px 24px;
}
.row + .row { padding-top: 4px; }
.frame{
flex: 0 0 290px;
border-radius: 14px;
padding: 8px;
position: relative;
background: #fff;
box-shadow: 0 8px 18px rgba(15,23,42,.07);
}
.lane.blue .frame { border: 4px solid var(--blue); }
.lane.purple .frame { border: 4px solid var(--purple); }
.lane.green .frame { border: 4px solid var(--green); }
.frame .cap{
font-size: 11px; color:#475569;
background:#f1f5fb; border-radius:8px;
padding: 4px 8px; margin-bottom: 6px;
display:inline-block;
}
.lane.purple .frame .cap{ background:#efe7fb; color:#5b21b6;}
.lane.green .frame .cap{ background:#dff2ea; color:#065f46;}
.lane.blue .frame .cap{ background:#e5ecfd; color:#1e3a8a;}
.frame .shot{
width:100%; display:block; border-radius:8px;
max-height: 1100px; object-fit: cover; object-position: top center;
}
.cursor{
position:absolute;
width: 42px; height: 42px;
border-radius: 50%;
border: 3px solid #fff;
}
.lane.blue .cursor{ background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,0) 65%), rgba(79,109,255,.55); box-shadow: 0 0 0 3px rgba(79,109,255,.5), 0 6px 14px rgba(0,0,0,.25);}
.lane.purple .cursor{ background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,0) 65%), rgba(139,92,246,.55); box-shadow: 0 0 0 3px rgba(139,92,246,.5), 0 6px 14px rgba(0,0,0,.25);}
.lane.green .cursor{ background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,0) 65%), rgba(16,185,129,.55); box-shadow: 0 0 0 3px rgba(16,185,129,.5), 0 6px 14px rgba(0,0,0,.25);}
.arrow{
flex: 0 0 110px;
align-self: center;
text-align:center;
padding-top: 18px;
}
.arrow .lbl{
display:inline-block;
font-size: 11px; font-weight:600;
background:#fff;
border:1.5px solid #cbd5e1;
padding: 4px 10px; border-radius: 999px;
margin-bottom: 6px;
white-space: nowrap;
}
.lane.blue .arrow .lbl{ border-color:#4f6dff; color:#1e3a8a;}
.lane.purple .arrow .lbl{ border-color:#8b5cf6; color:#5b21b6;}
.lane.green .arrow .lbl{ border-color:#10b981; color:#065f46;}
.arrow svg{ display:block; margin: 0 auto;}
</style>
</head>
<body>
<div class="doc-title"><b>AT Transit Action Flow</b> (Stacked Frames) — สไตล์ example-ui</div>
<section class="lane blue">
<div class="lane-head">
<h2>index.html action flow</h2>
<p>start at index.html → busStop.html / busDetail.html</p>
</div>
<div class="row">
<div class="frame">
<div class="cap">index.html</div>
<img class="shot" src="screenshots/index.jpg" />
</div>
<div class="arrow">
<div class="lbl">คลิก "ป้ายหยุดรถ"</div>
<svg width="100" height="22"><defs><marker id="ab" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="9" markerHeight="9" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#4f6dff"/></marker></defs><line x1="2" y1="11" x2="92" y2="11" stroke="#4f6dff" stroke-width="3" marker-end="url(#ab)"/></svg>
</div>
<div class="frame">
<div class="cap">index.html (คลิก "ป้ายหยุดรถ")</div>
<img class="shot" src="screenshots/index.jpg" />
<div class="cursor" style="top: 60px; right: 22px;"></div>
</div>
<div class="arrow">
<div class="lbl">ไป busStop</div>
<svg width="100" height="22"><line x1="2" y1="11" x2="92" y2="11" stroke="#4f6dff" stroke-width="3" marker-end="url(#ab)"/></svg>
</div>
<div class="frame">
<div class="cap">busStop.html</div>
<img class="shot" src="screenshots/busStop.jpg" />
</div>
</div>
<div class="row">
<div class="frame">
<div class="cap">index.html (คลิก "หมายเลข 101")</div>
<img class="shot" src="screenshots/index.jpg" />
<div class="cursor" style="top: 360px; left: 110px;"></div>
</div>
<div class="arrow">
<div class="lbl">ไป busDetail</div>
<svg width="100" height="22"><line x1="2" y1="11" x2="92" y2="11" stroke="#4f6dff" stroke-width="3" marker-end="url(#ab)"/></svg>
</div>
<div class="frame">
<div class="cap">busDetail.html</div>
<img class="shot" src="screenshots/busDetail.jpg" />
</div>
</div>
</section>
<section class="lane purple">
<div class="lane-head">
<h2>busStop action flow</h2>
<p>busStop.html → stopDetail.html → busDetail (expanded) → stopDetail (expanded) → busDetail.html</p>
</div>
<div class="row">
<div class="frame">
<div class="cap">busStop.html</div>
<img class="shot" src="screenshots/busStop.jpg" />
</div>
<div class="arrow">
<div class="lbl">คลิก "ป้ายมหาดไทย"</div>
<svg width="100" height="22"><defs><marker id="ap" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="9" markerHeight="9" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#8b5cf6"/></marker></defs><line x1="2" y1="11" x2="92" y2="11" stroke="#8b5cf6" stroke-width="3" marker-end="url(#ap)"/></svg>
</div>
<div class="frame">
<div class="cap">busStop.html (คลิก "ป้าย")</div>
<img class="shot" src="screenshots/busStop.jpg" />
<div class="cursor" style="top: 280px; left: 60px;"></div>
</div>
<div class="arrow">
<div class="lbl">ไป stopDetail</div>
<svg width="100" height="22"><line x1="2" y1="11" x2="92" y2="11" stroke="#8b5cf6" stroke-width="3" marker-end="url(#ap)"/></svg>
</div>
<div class="frame">
<div class="cap">stopDetail.html</div>
<img class="shot" src="screenshots/stopDetail.jpg" />
</div>
<div class="arrow">
<div class="lbl">ไป busDetail (exp)</div>
<svg width="100" height="22"><line x1="2" y1="11" x2="92" y2="11" stroke="#8b5cf6" stroke-width="3" marker-end="url(#ap)"/></svg>
</div>
<div class="frame">
<div class="cap">busDetail (expanded)</div>
<img class="shot" src="screenshots/busDetailExpanded.jpg" />
<div class="cursor" style="top: 260px; left: 100px;"></div>
</div>
<div class="arrow">
<div class="lbl">ไป stopDetail (exp)</div>
<svg width="100" height="22"><line x1="2" y1="11" x2="92" y2="11" stroke="#8b5cf6" stroke-width="3" marker-end="url(#ap)"/></svg>
</div>
<div class="frame">
<div class="cap">stopDetail (expanded)</div>
<img class="shot" src="screenshots/stopDetail.jpg" />
<div class="cursor" style="top: 320px; left: 80px;"></div>
</div>
<div class="arrow">
<div class="lbl">ย้อนสู่ busDetail</div>
<svg width="100" height="22"><line x1="2" y1="11" x2="92" y2="11" stroke="#8b5cf6" stroke-width="3" marker-end="url(#ap)"/></svg>
</div>
<div class="frame">
<div class="cap">busDetail.html</div>
<img class="shot" src="screenshots/busDetail.jpg" />
</div>
</div>
</section>
<section class="lane green">
<div class="lane-head">
<h2>busDetail action flow</h2>
<p>busDetail.html → busDetail (exp) → stopDetail (exp) → stopDetail.html</p>
</div>
<div class="row">
<div class="frame">
<div class="cap">busDetail.html</div>
<img class="shot" src="screenshots/busDetail.jpg" />
</div>
<div class="arrow">
<div class="lbl">ไป busDetail (exp)</div>
<svg width="100" height="22"><defs><marker id="ag" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="9" markerHeight="9" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#10b981"/></marker></defs><line x1="2" y1="11" x2="92" y2="11" stroke="#10b981" stroke-width="3" marker-end="url(#ag)"/></svg>
</div>
<div class="frame">
<div class="cap">busDetail (expanded)</div>
<img class="shot" src="screenshots/busDetailExpanded.jpg" />
</div>
<div class="arrow">
<div class="lbl">ไป stopDetail (exp)</div>
<svg width="100" height="22"><line x1="2" y1="11" x2="92" y2="11" stroke="#10b981" stroke-width="3" marker-end="url(#ag)"/></svg>
</div>
<div class="frame">
<div class="cap">stopDetail (expanded)</div>
<img class="shot" src="screenshots/stopDetail.jpg" />
<div class="cursor" style="top: 340px; left: 90px;"></div>
</div>
<div class="arrow">
<div class="lbl">ย้อนสู่ stopDetail</div>
<svg width="100" height="22"><line x1="2" y1="11" x2="92" y2="11" stroke="#10b981" stroke-width="3" marker-end="url(#ag)"/></svg>
</div>
<div class="frame">
<div class="cap">stopDetail.html</div>
<img class="shot" src="screenshots/stopDetail.jpg" />
</div>
</div>
</section>
</body>
</html>