AndroidCode / code /10145 /10145_9.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
8.17 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Compose UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #121212;
color: #EDEDED;
}
.status-bar {
height: 100px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #EDEDED;
font-size: 40px;
letter-spacing: 1px;
}
.status-icons svg { width: 42px; height: 42px; margin-left: 28px; fill: #EDEDED; opacity: 0.9; }
.app-bar {
position: relative;
height: 140px;
display: flex;
align-items: center;
padding: 0 24px;
border-bottom: 1px solid #232323;
}
.app-bar .title {
font-size: 54px;
font-weight: 600;
margin-left: 16px;
}
.app-actions {
margin-left: auto;
display: flex;
align-items: center;
}
.app-actions svg { width: 56px; height: 56px; fill: #EDEDED; margin-left: 28px; }
.icon-btn { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.content {
padding: 24px 36px 0 36px;
}
.field {
padding: 18px 0;
border-bottom: 1px solid #292929;
}
.label {
font-size: 30px;
color: #A7A7A7;
margin-bottom: 8px;
}
.value {
font-size: 40px;
color: #EDEDED;
}
.row {
display: flex;
align-items: center;
}
.chip-email {
padding: 10px 14px;
background: #1F1F1F;
border: 1px solid #2B2B2B;
border-radius: 22px;
font-size: 36px;
}
.caret { width: 36px; height: 36px; margin-left: 12px; fill: #A7A7A7; }
.suggestion {
margin-top: 28px;
display: flex;
align-items: center;
padding: 20px 16px;
border-radius: 18px;
}
.avatar {
width: 92px;
height: 92px;
border-radius: 50%;
background: #6E8C94;
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 44px;
margin-right: 22px;
}
.suggestion .primary { font-size: 40px; }
.suggestion .secondary { font-size: 30px; color: #B5B5B5; margin-top: 6px; }
/* Keyboard mock */
.kb {
position: absolute;
left: 0; right: 0; bottom: 90px;
height: 920px;
background: #1B1B1B;
border-top: 1px solid #2A2A2A;
padding: 18px 22px 28px 22px;
}
.kb-tools {
display: flex;
justify-content: space-between;
padding: 8px 40px 18px 40px;
}
.kb-tools svg { width: 46px; height: 46px; fill: #D0D0D0; opacity: 0.9; }
.kb-row {
display: grid;
grid-auto-flow: column;
grid-gap: 14px;
margin: 16px 10px;
}
.key {
background: #2A2A2A;
border-radius: 18px;
text-align: center;
padding: 26px 0;
color: #EDEDED;
font-size: 42px;
border: 1px solid #303030;
}
.key.small { font-size: 36px; }
.key.wide { grid-column: span 2; }
.key.space { grid-column: span 6; }
.key.icon { display: flex; align-items: center; justify-content: center; }
.key.pill {
background: #C7B7D9;
color: #1B1B1B;
border-color: #C7B7D9;
}
.gesture {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 10px;
background: #E6E6E6;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:31</div>
<div class="status-icons">
<!-- simple placeholders -->
<svg viewBox="0 0 24 24"><path d="M12 2l4 8H8l4-8zm0 20a6 6 0 006-6H6a6 6 0 006 6z"/></svg>
<svg viewBox="0 0 24 24"><path d="M4 6h16v2H4zm0 5h16v2H4zm0 5h10v2H4z"/></svg>
<svg viewBox="0 0 24 24"><path d="M7 20h10V4H7v16zm-2 2h14a2 2 0 002-2V4a2 2 0 00-2-2H5a2 2 0 00-2 2v16a2 2 0 002 2z"/></svg>
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="2"/></svg>
<svg viewBox="0 0 24 24"><path d="M20 7v10a2 2 0 01-2 2h-3v-2h3V7h-3V5h3a2 2 0 012 2zM4 17h10V7H4v10zm-2 2V5h14v14H2z"/></svg>
<svg viewBox="0 0 24 24"><path d="M11 21h2V3h-2v18z"/></svg>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="icon-btn">
<svg viewBox="0 0 24 24" width="64" height="64" fill="#EDEDED"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>
</div>
<div class="title">Compose</div>
<div class="app-actions">
<!-- attach -->
<svg viewBox="0 0 24 24"><path d="M16.5 6.5v8a4.5 4.5 0 11-9 0v-9a3 3 0 016 0v8a1.5 1.5 0 11-3 0V7h-2v6.5a3.5 3.5 0 107 0v-8h-2z"/></svg>
<!-- send -->
<svg viewBox="0 0 24 24"><path d="M2 21l21-9L2 3v7l15 2-15 2z"/></svg>
<!-- more -->
<svg viewBox="0 0 24 24"><path d="M12 6a2 2 0 110-4 2 2 0 010 4zm0 8a2 2 0 110-4 2 2 0 010 4zm0 8a2 2 0 110-4 2 2 0 010 4z"/></svg>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="field">
<div class="label">From</div>
<div class="row">
<div class="value">dbwscratch.test.id4@gmail.com</div>
</div>
</div>
<div class="field">
<div class="label">To</div>
<div class="row">
<div class="chip-email">vadubey@google.com</div>
<svg class="caret" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>
</div>
</div>
<div class="suggestion">
<div class="avatar">v</div>
<div>
<div class="primary">vadubey@google.com</div>
<div class="secondary">vadubey@google.com</div>
</div>
</div>
</div>
<!-- Keyboard mock -->
<div class="kb">
<div class="kb-tools">
<svg viewBox="0 0 24 24"><path d="M12 15.5A3.5 3.5 0 108.5 12 3.5 3.5 0 0012 15.5zm0-13a9.5 9.5 0 109.5 9.5A9.51 9.51 0 0012 2.5z"/></svg>
<svg viewBox="0 0 24 24"><path d="M3 5h18v4H3zm0 5h12v9H3z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2l3 6 6 .9-4.5 4.4 1 6.3L12 17l-5.5 2.6 1-6.3L3 8.9 9 8z"/></svg>
<svg viewBox="0 0 24 24"><path d="M8 4h8v2H8zM8 9h8v2H8zM8 14h8v2H8z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 3a4 4 0 00-4 4v2H6v12h12V9h-2V7a4 4 0 00-4-4zm-2 6V7a2 2 0 114 0v2H10z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 3v18M3 12h18" /></svg>
</div>
<!-- Row 1 -->
<div class="kb-row" style="grid-template-columns: repeat(10, 1fr);">
<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="kb-row" style="grid-template-columns: repeat(9, 1fr);">
<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>
<!-- Row 3 -->
<div class="kb-row" style="grid-template-columns: 1.6fr repeat(7, 1fr) 1.8fr;">
<div class="key icon small">
<svg viewBox="0 0 24 24" width="44" height="44" fill="#EDEDED"><path d="M7 14l5-5 5 5H7z"/></svg>
</div>
<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" width="52" height="52" fill="#EDEDED"><path d="M20 7H8l5-5-1.4-1.4L4.2 8l7.4 7.4L13 14l-5-5h12V7z"/></svg>
</div>
</div>
<!-- Row 4 -->
<div class="kb-row" style="grid-template-columns: 1.8fr 1.4fr 6fr 1.2fr 1.8fr;">
<div class="key pill small">?123</div>
<div class="key small">@</div>
<div class="key space"></div>
<div class="key small">.</div>
<div class="key pill icon">
<svg viewBox="0 0 24 24" width="50" height="50" fill="#1B1B1B"><path d="M3 12l18-9-6 9 6 9z"/></svg>
</div>
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>