AndroidCode / code /10145 /10145_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Compose - Dark UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
/* Root screen */
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #1E1B22; /* dark, Gmail-like */
color: #EDE7F6;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 84px;
padding: 0 28px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
color: #E0E0E0;
font-size: 36px;
letter-spacing: 1px;
}
.status-icons {
display: flex;
align-items: center;
gap: 18px;
}
.icon-small {
width: 36px;
height: 36px;
fill: #E0E0E0;
opacity: 0.9;
}
/* App bar */
.app-bar {
position: absolute;
top: 84px;
left: 0;
right: 0;
height: 120px;
display: flex;
align-items: center;
padding: 0 20px;
box-sizing: border-box;
}
.app-bar .left,
.app-bar .right {
display: flex;
align-items: center;
}
.app-bar .left { gap: 10px; }
.app-bar .right { margin-left: auto; gap: 24px; }
.app-title {
font-size: 48px;
color: #F5F5F5;
margin-left: 8px;
}
.icon-btn {
width: 72px;
height: 72px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 36px;
color: #F5F5F5;
}
.icon-btn svg { width: 42px; height: 42px; fill: #F5F5F5; }
/* Content area */
.content {
position: absolute;
top: 84px; /* start at status bar bottom */
left: 0;
right: 0;
bottom: 920px; /* leave space for keyboard + toolbar + gesture */
padding-top: 120px; /* account for app bar */
overflow: hidden;
}
.fields {
padding: 0 28px;
}
.field-row {
padding: 28px 0;
border-top: 1px solid #343138;
display: flex;
align-items: center;
min-height: 96px;
}
.field-row:first-child { border-top: none; }
.label {
width: 120px;
font-size: 34px;
color: #BDB5C7;
}
.value {
flex: 1;
font-size: 38px;
color: #EDE7F6;
}
.caret {
width: 28px;
height: 28px;
margin-left: 8px;
opacity: 0.8;
}
.subject-row .value { color: #EDE7F6; }
.divider {
height: 1px;
background: #343138;
margin: 8px 0 0 0;
}
.body-area {
margin: 22px 28px 0 28px;
padding-top: 24px;
border-top: 1px solid #343138;
color: #E0DCE7;
font-size: 38px;
line-height: 58px;
word-break: break-word;
}
/* Keyboard accessory row */
.kb-toolbar {
position: absolute;
left: 0;
right: 0;
bottom: 820px;
height: 88px;
border-top: 1px solid #2F2B34;
background: #1E1B22;
display: flex;
align-items: center;
padding: 0 16px;
gap: 22px;
color: #D1C4E9;
}
.pill-btn {
width: 84px;
height: 84px;
border-radius: 42px;
background: #D1C4E9;
color: #2B2137;
display: flex;
align-items: center;
justify-content: center;
}
.kb-icon {
width: 48px;
height: 48px;
fill: #C7B8EA;
}
.kb-toolbar .spacer { flex: 1; }
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
right: 0;
bottom: 54px;
height: 766px;
background: #1F1A24;
border-top: 1px solid #2D2733;
padding: 16px 18px 22px 18px;
box-sizing: border-box;
}
.key-row {
display: flex;
gap: 14px;
margin-bottom: 18px;
justify-content: space-between;
}
.key {
flex: 1;
height: 120px;
background: #332B3B;
color: #EDE7F6;
display: flex;
align-items: center;
justify-content: center;
border-radius: 22px;
font-size: 46px;
box-shadow: inset 0 -2px 0 rgba(255,255,255,0.05);
}
.key.small {
flex: 0.9;
}
.key.wide {
flex: 1.3;
}
.key.extra-wide {
flex: 3.4;
}
.key.func {
background: #3B3343;
color: #E9DDF7;
font-size: 38px;
}
.key.icon svg { width: 46px; height: 46px; fill: #EEE5FF; }
/* Gesture bar */
.gesture {
position: absolute;
bottom: 18px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 10px;
background: #E0E0E0;
border-radius: 6px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-time">8:27</div>
<div class="status-icons">
<!-- Simple status icons -->
<svg class="icon-small" viewBox="0 0 24 24"><path d="M2 12l8 8V4z"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><path d="M4 12h16l-8 8z"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><path d="M17 7H7v10h10V7zm2-2v14H5V5h14z"/></svg>
<svg class="icon-small" viewBox="0 0 24 24"><path d="M17 4h-3V2h-4v2H7C5.9 4 5 4.9 5 6v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H7V8h10v10z"/></svg>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="left">
<div class="icon-btn">
<svg viewBox="0 0 24 24"><path d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>
</div>
<div class="app-title">Compose</div>
</div>
<div class="right">
<div class="icon-btn" title="Attach">
<svg viewBox="0 0 24 24"><path d="M16.5 6.5v7a4.5 4.5 0 1 1-9 0V5a3 3 0 1 1 6 0v7a1.5 1.5 0 1 1-3 0V6.5h-2V12a3.5 3.5 0 1 0 7 0V5a5 5 0 1 0-10 0v8.5a6.5 6.5 0 1 0 13 0v-7h-2z"/></svg>
</div>
<div class="icon-btn" title="Send">
<svg viewBox="0 0 24 24"><path d="M2 21 23 12 2 3v7l15 2-15 2z"/></svg>
</div>
<div class="icon-btn" title="More">
<svg viewBox="0 0 24 24"><path d="M12 6a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></svg>
</div>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="fields">
<div class="field-row">
<div class="label">From</div>
<div class="value">dbwscratch.test.id4@gmail.com</div>
</div>
<div class="field-row">
<div class="label">To</div>
<div class="value" style="color:#8F8899;"> </div>
<svg class="caret" viewBox="0 0 24 24"><path fill="#BDB5C7" d="M7 10l5 5 5-5z"/></svg>
</div>
<div class="field-row subject-row">
<div class="label" style="visibility:hidden;">Sub</div>
<div class="value">Look at this on eBay</div>
</div>
<div class="body-area">
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 accessory row -->
<div class="kb-toolbar">
<div class="pill-btn">
<svg viewBox="0 0 24 24"><path d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>
</div>
<svg class="kb-icon" viewBox="0 0 24 24" title="Settings"><path d="M19.14 12.94a7.48 7.48 0 0 0 .05-.94c0-.32-.02-.63-.05-.94l2.03-1.58a.5.5 0 0 0 .12-.64l-1.92-3.32a.5.5 0 0 0-.6-.22l-2.39.96a7.42 7.42 0 0 0-1.63-.94l-.36-2.55A.5.5 0 0 0 13 1h-4a.5.5 0 0 0-.49.42l-.36 2.55c-.58.22-1.13.52-1.63.94l-2.39-.96a.5.5 0 0 0-.6.22L1.1 7.99a.5.5 0 0 0 .12.64l2.03 1.58c-.03.31-.05.62-.05.94s.02.63.05.94L1.22 14.67a.5.5 0 0 0-.12.64l1.92 3.32c.13.22.4.31.62.22l2.39-.96c.5.42 1.05.72 1.63.94l.36 2.55c.04.24.25.42.49.42h4c.24 0 .45-.18.49-.42l.36-2.55c.58-.22 1.13-.52 1.63-.94l2.39.96c.22.09.49 0 .6-.22l1.92-3.32a.5.5 0 0 0-.12-.64l-2.03-1.58zM11 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/></svg>
<svg class="kb-icon" viewBox="0 0 24 24" title="Translate"><path d="M4 4h9v2H6v4H4zm11 0h5v2h-2v12h-2zm-2 5H7v2h3v7h2z"/></svg>
<svg class="kb-icon" viewBox="0 0 24 24" title="Theme"><path d="M9 2a7 7 0 1 0 7 7c0-3.87-3.13-7-7-7zm0 12a5 5 0 1 1 0-10v10z"/></svg>
<svg class="kb-icon" viewBox="0 0 24 24" title="Clipboard"><path d="M16 2H8l-2 2H3v16h18V4h-3l-2-2zM12 4c.55 0 1 .45 1 1h-2c0-.55.45-1 1-1zm6 16H6V6h12v14z"/></svg>
<svg class="kb-icon" viewBox="0 0 24 24" title="More"><path d="M6 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm6 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm6 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"/></svg>
<svg class="kb-icon" viewBox="0 0 24 24" title="Mic Off"><path d="M12 14a3 3 0 0 0 3-3V5a3 3 0 1 0-6 0v6a3 3 0 0 0 3 3zm5.3 1.9 1.4 1.4A8.97 8.97 0 0 0 21 12h-2c0 1.61-.49 3.11-1.33 4.34zM3 4.27 4.28 3 21 19.72 19.72 21l-3.2-3.2A8.92 8.92 0 0 1 12 21a9 9 0 0 1-9-9h2a7 7 0 0 0 7 7c1.46 0 2.82-.44 3.94-1.2L3 4.27z"/></svg>
<div class="spacer"></div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<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>
<div class="key-row">
<div class="key small">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 small">l</div>
</div>
<div class="key-row">
<div class="key wide func icon">
<svg viewBox="0 0 24 24"><path d="M6 12l6-6v4h6v4h-6v4z"/></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 wide func icon" title="Backspace">
<svg viewBox="0 0 24 24"><path d="M22 6H9L3 12l6 6h13V6zm-3.41 9.59L17.17 12l1.42-1.41L20 12l-1.41 1.59z"/></svg>
</div>
</div>
<div class="key-row">
<div class="key func wide">?123</div>
<div class="key func">@</div>
<div class="key func"></div>
<div class="key extra-wide">space</div>
<div class="key func">.</div>
<div class="key func wide icon" title="Enter">
<svg viewBox="0 0 24 24"><path d="M19 7v6H8l3.5-3.5L10 8l-6 6 6 6 1.5-1.5L8 15h13V7z"/></svg>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>