AndroidCode / code /10177 /10177_9.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
8.59 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Compose Email UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #1A1A1A;
color: #EDEDED;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 96px;
padding: 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 36px;
color: #FFFFFF;
}
.status-icons {
display: flex;
align-items: center;
gap: 24px;
}
.status-icons svg { fill: none; stroke: #FFFFFF; stroke-width: 3; }
/* Header */
.header {
position: absolute;
top: 96px;
left: 0;
width: 1080px;
height: 160px;
border-bottom: 1px solid #2A2A2A;
display: flex;
align-items: center;
padding: 0 24px;
gap: 24px;
}
.header-title {
font-size: 48px;
font-weight: 600;
flex: 1;
}
.header-actions {
display: flex;
align-items: center;
gap: 30px;
}
.icon-button {
width: 72px;
height: 72px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 36px;
}
.icon-button svg { stroke: #EDEDED; fill: none; stroke-width: 4; }
/* Fields */
.fields {
position: absolute;
top: 256px;
left: 0;
width: 1080px;
padding: 0 32px;
}
.row {
padding: 28px 0;
border-bottom: 1px solid #2A2A2A;
display: flex;
align-items: center;
}
.label {
width: 140px;
font-size: 34px;
color: #B0B0B0;
}
.value {
font-size: 36px;
color: #EDEDED;
flex: 1;
}
.dropdown {
width: 48px;
height: 48px;
}
.subject {
font-size: 40px;
padding: 32px 0;
border-bottom: 1px solid #2A2A2A;
}
.body-text {
font-size: 36px;
line-height: 1.5;
color: #EDEDED;
padding: 32px 0 24px 0;
white-space: pre-wrap;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
bottom: 96px; /* leave space for gesture pill */
width: 1080px;
height: 880px;
background: #2B2B2B;
border-top: 1px solid #3A3A3A;
}
.kbd-topbar {
height: 110px;
display: flex;
align-items: center;
gap: 24px;
padding: 0 24px;
}
.kbd-top-icon {
width: 84px;
height: 84px;
background: #3A3A3A;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
color: #DADADA;
font-size: 28px;
}
.keys {
padding: 12px 18px 18px 18px;
display: flex;
flex-direction: column;
gap: 18px;
}
.row-keys {
display: grid;
grid-template-columns: repeat(10, 1fr);
gap: 16px;
}
.row-keys.nine { grid-template-columns: repeat(9, 1fr); }
.row-keys.bottom { grid-template-columns: 1.4fr 1fr 1fr 6fr 1fr 1.6fr; }
.key {
height: 120px;
border-radius: 18px;
background: #3A3A3A;
color: #EDEDED;
font-size: 44px;
display: flex;
align-items: center;
justify-content: center;
}
.key.special { background: #4A4A4A; color: #FFFFFF; }
.key.space { background: #3A3A3A; color: #D0D0D0; font-size: 36px; }
.key svg { stroke: #EDEDED; fill: none; stroke-width: 4; }
/* Gesture pill */
.gesture-pill {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: 220px;
height: 12px;
border-radius: 12px;
background: #E6E6E6;
opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>12:25</div>
<div class="status-icons">
<!-- Signal -->
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M6 30h4M12 26h4M18 22h4M24 18h4M30 14h4"></path>
</svg>
<!-- Wifi -->
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M6 14c8-6 20-6 28 0"></path>
<path d="M10 20c6-4 14-4 20 0"></path>
<path d="M14 26c4-3 8-3 12 0"></path>
<circle cx="20" cy="30" r="2"></circle>
</svg>
<!-- Battery -->
<svg width="56" height="40" viewBox="0 0 56 40">
<rect x="4" y="8" width="42" height="24" rx="4" stroke="#FFFFFF"></rect>
<rect x="46" y="14" width="6" height="12" rx="2" stroke="#FFFFFF"></rect>
<rect x="8" y="12" width="32" height="16" fill="#FFFFFF" stroke="none"></rect>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<!-- Back -->
<div class="icon-button">
<svg width="60" height="60" viewBox="0 0 60 60">
<path d="M36 12 L18 30 L36 48"></path>
</svg>
</div>
<div class="header-title">Compose</div>
<div class="header-actions">
<!-- Attach -->
<div class="icon-button">
<svg width="60" height="60" viewBox="0 0 60 60">
<path d="M20 34c0 8 6 12 12 12s12-4 12-12V22c0-6-4-10-10-10s-10 4-10 10v16"></path>
</svg>
</div>
<!-- Send -->
<div class="icon-button">
<svg width="60" height="60" viewBox="0 0 60 60">
<path d="M10 30 L50 14 L40 30 L50 46 Z"></path>
</svg>
</div>
<!-- Kebab -->
<div class="icon-button">
<svg width="16" height="60" viewBox="0 0 16 60">
<circle cx="8" cy="14" r="4" fill="#EDEDED" stroke="none"></circle>
<circle cx="8" cy="30" r="4" fill="#EDEDED" stroke="none"></circle>
<circle cx="8" cy="46" r="4" fill="#EDEDED" stroke="none"></circle>
</svg>
</div>
</div>
</div>
<!-- Fields -->
<div class="fields">
<div class="row">
<div class="label">From</div>
<div class="value">dbwscratch.test.id8@gmail.com</div>
</div>
<div class="row">
<div class="label">To</div>
<div class="value"></div>
<svg class="dropdown" viewBox="0 0 24 24">
<path d="M4 9 L12 15 L20 9" stroke="#B0B0B0" stroke-width="3" fill="none"></path>
</svg>
</div>
<div class="subject">Check out 'Chill List' on JioSaavn!</div>
<div class="body-text">
Listen to 'Chill List' on JioSaavn at
https://www.saavn.com/s/playlist/afd8554d0e2a42a63cf0e911da93fb28/chill_list/OA1Bzp2RN99zUTe4uMO3Gg__?referrer=svn_source=share&svn_medium=system&utm_source=share&utm_medium=system
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="kbd-topbar">
<div class="kbd-top-icon"></div>
<div class="kbd-top-icon"></div>
<div class="kbd-top-icon">GIF</div>
<div class="kbd-top-icon"></div>
<div class="kbd-top-icon">G↔︎</div>
<div class="kbd-top-icon">🎨</div>
<div class="kbd-top-icon">🎤</div>
</div>
<div class="keys">
<div class="row-keys">
<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="row-keys nine">
<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="row-keys">
<div class="key special">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M20 30 V10 M10 20 L20 10 L30 20"></path>
</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 special">
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M10 12 L30 28"></path>
<path d="M30 12 L10 28"></path>
</svg>
</div>
</div>
<div class="row-keys bottom">
<div class="key special">?123</div>
<div class="key">@</div>
<div class="key"></div>
<div class="key space">space</div>
<div class="key">.</div>
<div class="key special">
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M14 10 L30 24 L14 38"></path>
</svg>
</div>
</div>
</div>
</div>
<!-- Gesture pill -->
<div class="gesture-pill"></div>
</div>
</body>
</html>