AndroidCode / code /10145 /10145_10.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
9.1 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Compose - Mock UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #121212; color: #EDEDED;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 88px; padding: 0 32px;
display: flex; align-items: center; justify-content: space-between;
color: #EDEDED; font-weight: 600; font-size: 34px;
}
.status-right { display: flex; align-items: center; gap: 28px; }
.status-icon svg { width: 40px; height: 40px; fill: none; stroke: #EDEDED; stroke-width: 3; }
/* App bar */
.app-bar {
position: absolute; top: 88px; left: 0; right: 0;
height: 140px; padding: 0 24px;
display: flex; align-items: center; gap: 24px;
border-bottom: 1px solid #232323;
}
.app-title { font-size: 44px; font-weight: 600; flex: 1; }
.app-ic { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; border-radius: 18px; }
.app-ic svg { width: 52px; height: 52px; }
.accent { color: #CDB7FF; }
.app-ic svg path, .app-ic svg circle { stroke: currentColor; fill: none; stroke-width: 4; }
/* Fields */
.content { position: absolute; top: 228px; left: 0; right: 0; padding: 24px 36px; }
.field { padding: 22px 0; border-bottom: 1px solid #232323; }
.label { color: #B7B7B7; font-size: 36px; margin-bottom: 14px; }
.value { font-size: 40px; color: #EDEDED; }
.to-row { display: flex; align-items: center; gap: 18px; }
.chip {
display: inline-flex; align-items: center; gap: 16px;
background: #1E1E1E; border: 1px solid #343434;
padding: 12px 18px; border-radius: 32px;
font-size: 34px; color: #EDEDED;
}
.avatar {
width: 56px; height: 56px; border-radius: 50%;
background: #78909C; display: flex; align-items: center; justify-content: center;
color: #121212; font-weight: 700;
}
.caret { margin-left: auto; }
.caret svg { width: 40px; height: 40px; fill: none; stroke: #B7B7B7; stroke-width: 4; }
/* Message body */
.body-block { padding-top: 28px; }
.msg-line { font-size: 42px; margin: 18px 0; }
.link-box {
margin-top: 12px; padding: 24px;
background: #1A1A1A; border: 1px solid #2E2E2E; border-radius: 16px;
color: #CFCFCF; font-size: 36px; line-height: 1.4;
}
/* Keyboard toolbar above keys */
.kb-toolbar {
position: absolute; left: 0; right: 0;
bottom: 950px; height: 100px;
display: flex; align-items: center; gap: 24px;
padding: 0 24px; color: #DADADA;
}
.tool-btn {
width: 72px; height: 72px; border-radius: 18px;
background: #1F1F1F; border: 1px solid #333; display: flex; align-items: center; justify-content: center;
}
.tool-btn svg { width: 40px; height: 40px; stroke: #DADADA; stroke-width: 3; fill: none; }
/* Keyboard */
.keyboard {
position: absolute; left: 0; right: 0; bottom: 120px;
height: 830px; padding: 22px 20px;
background: #141414; border-top: 1px solid #222;
}
.key-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; margin-bottom: 22px; }
.key {
background: #2B2B2B; border: 1px solid #3A3A3A;
height: 110px; border-radius: 22px;
display: flex; align-items: center; justify-content: center;
color: #EDEDED; font-size: 44px; font-weight: 500;
}
.key.small { font-size: 36px; }
.key.wide { grid-column: span 3; }
.key.space { grid-column: span 4; }
.key.accent { background: #E2D6FF; color: #2B2B2B; border-color: #E2D6FF; }
.key.icon svg { width: 44px; height: 44px; stroke: #EDEDED; stroke-width: 4; fill: none; }
.key.icon.accent svg { stroke: #2B2B2B; }
/* Gesture bar */
.gesture {
position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
width: 320px; height: 10px; border-radius: 20px; background: #D7D7D7;
opacity: 0.7;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:31</div>
<div class="status-right">
<div class="status-icon">
<svg viewBox="0 0 24 24">
<path d="M2 18l10-10 10 10" />
<path d="M7 18l5-5 5 5" />
</svg>
</div>
<div class="status-icon">
<svg viewBox="0 0 24 24">
<rect x="2" y="7" width="20" height="10" rx="2" />
<rect x="20" y="9" width="2" height="6" />
</svg>
</div>
<div class="status-icon">
<svg viewBox="0 0 24 24">
<rect x="3" y="6" width="18" height="12" rx="2" />
<rect x="5" y="8" width="10" height="8" rx="1" />
</svg>
</div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="app-ic accent">
<svg viewBox="0 0 24 24">
<path d="M15 6l-6 6 6 6" />
</svg>
</div>
<div class="app-title">Compose</div>
<div class="app-ic">
<svg viewBox="0 0 24 24">
<path d="M7 7c2.5-2.5 7-2.5 9.5 0 2.5 2.5 2.5 6.5 0 9l-4.5 4.5c-2 2-5.5.5-5.5-2v-7c0-2.2 2.7-3.4 4.3-1.8l4.2 4.2" />
</svg>
</div>
<div class="app-ic accent">
<svg viewBox="0 0 24 24">
<path d="M3 20l18-8-18-8v6l10 2-10 2z" />
</svg>
</div>
<div class="app-ic">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="4" r="2" />
<circle cx="12" cy="12" r="2" />
<circle cx="12" cy="20" r="2" />
</svg>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="field">
<div class="label">From</div>
<div class="value">dbwscratch.test.id4@gmail.com</div>
</div>
<div class="field">
<div class="label">To</div>
<div class="to-row">
<div class="chip">
<div class="avatar">V</div>
vadubey@google.com
</div>
<div class="caret">
<svg viewBox="0 0 24 24"><path d="M6 9l6 6 6-6"/></svg>
</div>
</div>
</div>
<div class="body-block">
<div class="msg-line">Look at this on eBay</div>
<div class="link-box">
https://www.ebay.com/itm/iPhone-14-Pro-Max-Unlocked-128GB-Black-Excellent-/275550774521?mkcid=16&amp;mkevt=1&amp;_trksid=p4429486.m46890.l6249&amp;mkrid=711-127632-2357-0
</div>
</div>
</div>
<!-- Keyboard toolbar -->
<div class="kb-toolbar">
<div class="tool-btn">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="8"/></svg>
</div>
<div class="tool-btn">
<svg viewBox="0 0 24 24"><path d="M4 12h16M12 4v16"/></svg>
</div>
<div class="tool-btn">
<svg viewBox="0 0 24 24"><path d="M4 20l16-8-16-8v6l10 2-10 2z"/></svg>
</div>
<div class="tool-btn">
<svg viewBox="0 0 24 24"><rect x="5" y="6" width="14" height="12" rx="2"/><path d="M8 9h8M8 13h6"/></svg>
</div>
<div class="tool-btn">
<svg viewBox="0 0 24 24"><path d="M5 5l14 14M19 5L5 19"/></svg>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<!-- Row 1 -->
<div class="key-row">
<div class="key">q</div>
<div class="key">w</div>
<div class="key">e</div>
<div class="key">r</div>
<div class="key">t</div>
<div class="key">y</div>
<div class="key">u</div>
<div class="key">i</div>
<div class="key">o</div>
<div class="key">p</div>
</div>
<!-- Row 2 -->
<div class="key-row">
<div class="key">a</div>
<div class="key">s</div>
<div class="key">d</div>
<div class="key">f</div>
<div class="key">g</div>
<div class="key">h</div>
<div class="key">j</div>
<div class="key">k</div>
<div class="key">l</div>
<div class="key icon accent">
<svg viewBox="0 0 24 24"><path d="M18 6l-6 6-6-6"/></svg>
</div>
</div>
<!-- Row 3 -->
<div class="key-row">
<div class="key">z</div>
<div class="key">x</div>
<div class="key">c</div>
<div class="key">v</div>
<div class="key">b</div>
<div class="key">n</div>
<div class="key">m</div>
<div class="key icon"><svg viewBox="0 0 24 24"><path d="M15 12H6"/><path d="M10 7l-5 5 5 5"/></svg></div>
<div class="key"></div>
<div class="key icon accent">
<svg viewBox="0 0 24 24"><path d="M6 12h12M12 6l6 6-6 6"/></svg>
</div>
</div>
<!-- Row 4 -->
<div class="key-row">
<div class="key accent small">?123</div>
<div class="key small">@</div>
<div class="key small"></div>
<div class="key space"> </div>
<div class="key small">.</div>
<div class="key icon accent">
<svg viewBox="0 0 24 24"><path d="M3 12h14"/><path d="M12 5l7 7-7 7"/></svg>
</div>
<div class="key small">,</div>
<div class="key small">:</div>
<div class="key small">;</div>
<div class="key small">?</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>