AndroidCode / 25_8.html
yhzheng1031's picture
Upload folder using huggingface_hub
79228d9 verified
raw
history blame
10.7 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Compose Screen Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #121212;
color: #EDEDED;
font-family: Arial, Helvetica, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
height: 90px;
width: 100%;
display: flex;
align-items: center;
padding: 0 28px;
color: #EDEDED;
font-size: 40px;
}
.sb-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 26px;
}
.icon-sb { width: 48px; height: 48px; opacity: 0.9; }
/* Header */
.header {
position: absolute;
top: 90px;
left: 0;
width: 100%;
height: 150px;
border-bottom: 1px solid #2A2A2A;
display: flex;
align-items: center;
padding: 0 24px;
}
.back-btn {
width: 100px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 6px;
}
.header-title {
font-size: 70px;
font-weight: 600;
letter-spacing: 0.5px;
}
.header-actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 36px;
}
.header-icon {
width: 74px;
height: 74px;
display: inline-flex;
align-items: center;
justify-content: center;
}
/* Fields area */
.content {
position: absolute;
top: 240px;
left: 0;
width: 100%;
}
.field-row {
display: flex;
align-items: center;
padding: 22px 32px;
border-bottom: 1px solid #1E1E1E;
min-height: 120px;
}
.field-label {
width: 120px;
color: #9E9E9E;
font-size: 40px;
}
.field-value {
font-size: 46px;
line-height: 1.2;
}
.chevron {
margin-left: auto;
width: 60px;
height: 60px;
opacity: 0.9;
}
/* Suggestion item */
.suggestion {
display: flex;
align-items: center;
gap: 28px;
padding: 26px 32px;
border-bottom: 1px solid #1E1E1E;
}
.avatar-placeholder {
width: 96px;
height: 96px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
font-size: 24px;
}
.suggest-text {
display: flex;
flex-direction: column;
}
.suggest-name {
font-size: 46px;
}
.suggest-email {
font-size: 34px;
color: #9E9E9E;
margin-top: 6px;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 900px;
background: #1A1A1A;
border-top: 1px solid #2A2A2A;
padding: 18px 22px 36px 22px;
box-sizing: border-box;
}
.kb-toolbar {
height: 110px;
display: flex;
align-items: center;
gap: 26px;
color: #CFCFCF;
}
.kb-tool {
width: 88px;
height: 88px;
border-radius: 18px;
background: #2B2B2B;
border: 1px solid #3A3A3A;
display: flex;
align-items: center;
justify-content: center;
}
.kb-tool-text {
padding: 0 18px;
height: 88px;
display: flex;
align-items: center;
border-radius: 18px;
background: #2B2B2B;
border: 1px solid #3A3A3A;
font-size: 34px;
}
.kb-row {
margin-top: 18px;
display: flex;
justify-content: center;
gap: 14px;
}
.key {
height: 120px;
min-width: 86px;
padding: 0 22px;
border-radius: 22px;
background: #2B2B2B;
border: 1px solid #3A3A3A;
color: #D7D7D7;
font-size: 50px;
display: flex;
align-items: center;
justify-content: center;
}
.key-wide { min-width: 160px; }
.space {
flex: 1;
min-width: 420px;
height: 120px;
border-radius: 22px;
background: #2B2B2B;
border: 1px solid #3A3A3A;
color: #BDBDBD;
font-size: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.enter {
min-width: 120px;
height: 120px;
border-radius: 22px;
background: #A6B1C1;
border: 1px solid #A6B1C1;
color: #121212;
font-weight: 600;
}
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 12px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 10px;
background: #EDEDED;
border-radius: 8px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:18</div>
<div class="sb-right">
<!-- Simple status icons -->
<svg class="icon-sb" viewBox="0 0 24 24">
<rect x="2" y="8" width="20" height="8" rx="2" ry="2" fill="#EDEDED"></rect>
<rect x="22" y="10" width="2" height="4" fill="#EDEDED"></rect>
</svg>
<svg class="icon-sb" viewBox="0 0 24 24">
<path d="M2 18h2a8 8 0 0 1 16 0h2A10 10 0 0 0 2 18z" fill="#EDEDED"></path>
<circle cx="12" cy="18" r="2" fill="#121212"></circle>
</svg>
<svg class="icon-sb" viewBox="0 0 24 24">
<path d="M4 18l16-12v12H4z" fill="#EDEDED"></path>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="back-btn">
<svg width="60" height="60" viewBox="0 0 24 24">
<path d="M15 6l-6 6 6 6" stroke="#EDEDED" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="header-title">Compose</div>
<div class="header-actions">
<div class="header-icon">
<!-- paperclip -->
<svg width="56" height="56" viewBox="0 0 24 24">
<path d="M7 13l7-7a3 3 0 1 1 4 4l-8 8a5 5 0 1 1-7-7l9-9" stroke="#EDEDED" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
<div class="header-icon">
<!-- send -->
<svg width="56" height="56" viewBox="0 0 24 24">
<path d="M3 20l18-8L3 4l4 6 8 2-8 2-4 6z" fill="#EDEDED"></path>
</svg>
</div>
<div class="header-icon">
<!-- more (vertical dots) -->
<svg width="56" height="56" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2" fill="#EDEDED"></circle>
<circle cx="12" cy="12" r="2" fill="#EDEDED"></circle>
<circle cx="12" cy="19" r="2" fill="#EDEDED"></circle>
</svg>
</div>
</div>
</div>
<!-- Content fields -->
<div class="content">
<div class="field-row">
<div class="field-label">From</div>
<div class="field-value">dbwscratch.test.id10@gmail.com</div>
</div>
<div class="field-row">
<div class="field-label">To</div>
<div class="field-value">dbwscratch.test.id9@gmail.com</div>
<svg class="chevron" viewBox="0 0 24 24">
<path d="M6 9l6 6 6-6" stroke="#EDEDED" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
<div class="suggestion">
<div class="avatar-placeholder">[IMG: Avatar]</div>
<div class="suggest-text">
<div class="suggest-name">dbwscratch.test.id9@gmail.com</div>
<div class="suggest-email">dbwscratch.test.id9@gmail.com</div>
</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="kb-toolbar">
<div class="kb-tool">
<svg width="40" height="40" viewBox="0 0 24 24">
<rect x="3" y="3" width="7" height="7" fill="#CFCFCF"></rect>
<rect x="14" y="3" width="7" height="7" fill="#CFCFCF"></rect>
<rect x="3" y="14" width="7" height="7" fill="#CFCFCF"></rect>
<rect x="14" y="14" width="7" height="7" fill="#CFCFCF"></rect>
</svg>
</div>
<div class="kb-tool">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="#CFCFCF"></circle>
<path d="M4 20a8 8 0 0 1 16 0" stroke="#CFCFCF" stroke-width="2" fill="none"></path>
</svg>
</div>
<div class="kb-tool-text">GIF</div>
<div class="kb-tool">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M12 3l9 9-9 9-9-9 9-9z" stroke="#CFCFCF" stroke-width="2" fill="none"></path>
<circle cx="12" cy="12" r="3" fill="#CFCFCF"></circle>
</svg>
</div>
<div class="kb-tool">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M6 6h12v12H6z" stroke="#CFCFCF" stroke-width="2" fill="none"></path>
<path d="M8 12h8" stroke="#CFCFCF" stroke-width="2"></path>
<path d="M12 8v8" stroke="#CFCFCF" stroke-width="2"></path>
</svg>
</div>
<div class="kb-tool">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M4 12l7-7v5h9v4h-9v5z" fill="#CFCFCF"></path>
</svg>
</div>
</div>
<!-- Key rows -->
<div class="kb-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>
<div class="kb-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>
<div class="kb-row">
<div class="key-wide key"></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-wide key">
<svg width="42" height="42" viewBox="0 0 24 24">
<path d="M5 12h14M14 7l5 5-5 5" stroke="#D7D7D7" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
</div>
<div class="kb-row">
<div class="key-wide key">?123</div>
<div class="key">@</div>
<div class="key-wide key">
<svg width="42" height="42" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#D7D7D7" stroke-width="2" fill="none"></circle>
<circle cx="9.5" cy="10" r="1.5" fill="#D7D7D7"></circle>
<circle cx="14.5" cy="10" r="1.5" fill="#D7D7D7"></circle>
</svg>
</div>
<div class="space">space</div>
<div class="key">.</div>
<div class="enter">
<svg width="42" height="42" viewBox="0 0 24 24">
<path d="M4 12h12v-4l4 4-4 4v-4H4z" fill="#121212"></path>
</svg>
</div>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>