layout-stage
頁面外殼 應用程式喺入面起嘅頁面框架:一條欄、一條頂欄、一條側欄、一個控制台同一個舞台。每個都以全闊打開。
一張卡片擺喺鋪滿成頁嘅背景正中,畀獨立成頁嘅畫面用。佢就係為登入畫面而設。
每個例子都真係用得,不過入面啲連結唔會帶你去邊度。 HTML 顯示可以複製嘅標記。
<!doctype html>
<html lang ="yue" dir ="ltr" >
<head >
<meta charset ="utf-8" >
<meta name ="viewport" content ="width=device-width" >
<script src ="../../js/transition.js" ></script >
<title >layout-stage</title >
<link rel ="stylesheet" href ="../../css/core.css" >
<link rel ="stylesheet" href ="../../css/extras.css" >
<link rel ="stylesheet" href ="../../css/themes/day.css" >
<script defer src ="../../js/fiesta.js" ></script >
<script defer src ="../../js/busy.js" ></script >
<script defer src ="../../js/light.js" ></script >
<script defer src ="../../js/anchor.js" ></script >
</head >
<body rst-stage >
<a rst-skip href ="#main" >跳到內容</a >
<div rst-stage-scene aria-hidden ="true" >
<svg rst-stage-art aria-hidden ="true" focusable ="false" viewBox ="0 0 1200 800" preserveAspectRatio ="xMidYMid slice" ><g rst-stage-art-glow ><circle cx ="466" cy ="310" r ="420" /><circle cx ="466" cy ="310" r ="350" /><circle cx ="466" cy ="310" r ="280" /><circle cx ="466" cy ="310" r ="210" /><circle cx ="466" cy ="310" r ="140" /><circle cx ="466" cy ="310" r ="70" /></g ><g rst-stage-art-lines transform ="rotate(5 600 400)" ><path d ="M-272 80q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /><path d ="M-272 160q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /><path d ="M-272 240q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /><path d ="M-272 320q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /><path d ="M-272 400q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /><path d ="M-272 480q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /><path d ="M-272 560q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /><path d ="M-272 640q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /><path d ="M-272 720q68 -16 136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0t136 0" /></g ></svg >
</div >
<main rst-page id ="main" >
<!-- fiesta:slot --><section rst-signin aria-labelledby ="rst-signin-heading" >
<div rst-signin-brand >
<div rst-signin-mark >
<svg viewBox ="0 0 48 48" aria-hidden ="true" focusable ="false" ><circle cx ="24" cy ="24" r ="21" fill ="none" stroke ="currentColor" stroke-width ="3" /><path d ="M11 29c4.5 0 4.5-4 9-4s4.5 4 9 4 4.5-4 9-4" fill ="none" stroke ="currentColor" stroke-width ="3" stroke-linecap ="round" /><path d ="M24 11v11" fill ="none" stroke ="currentColor" stroke-width ="3" stroke-linecap ="round" /></svg >
</div >
<p rst-signin-name >Harbour</p >
<p rst-signin-pitch >泊位同碼頭位,一分鐘訂好。</p >
</div >
<div rst-signin-door >
<h1 id ="rst-signin-heading" >登入 Harbour</h1 >
<form rst-signin-form method ="post" action ="/signin" >
<div rst-field >
<label rst-field-label for ="rst-signin-email" >電郵</label >
<input rst-input type ="email" id ="rst-signin-email" name ="address" required autofocus autocomplete ="email" >
</div >
<button rst-btn ="primary block" type ="submit" >繼續</button >
</form >
</div >
</section ><!-- /fiesta:slot -->
</main >
<footer rst-stage-foot >
<a style ="align-items: center; display: inline-flex; min-block-size: var(--rst-target);" href ="/" >返去設計系統</a >
</footer >
</body >
</html >
喺應用程式入面,呢個會去到 /, /signin。喺呢度,佢嘅連結同表格都唔會去任何地方。