AndroidCode / code /10091 /10091_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Mobile UI - Search Results</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #121212;
color: #FFFFFF;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 120px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #fff;
font-size: 42px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
font-size: 34px;
color: #cfcfcf;
}
.icon-battery {
width: 70px; height: 36px; border: 3px solid #cfcfcf; border-radius: 6px; position: relative;
}
.icon-battery::after {
content: "";
position: absolute; right: -10px; top: 10px;
width: 8px; height: 16px; background: #cfcfcf; border-radius: 2px;
}
.icon-battery-fill { width: 50px; height: 28px; background: #cfcfcf; margin: 4px; border-radius: 4px; }
/* Search header */
.search-header {
position: absolute;
top: 120px;
left: 0;
width: 100%;
height: 120px;
display: flex;
align-items: center;
padding: 0 24px;
background: #1a1a1a;
box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
}
.back-btn, .close-btn {
width: 96px; height: 96px; display: flex; align-items: center; justify-content: center;
}
.search-field {
flex: 1;
height: 90px;
margin: 0 10px;
display: flex;
align-items: center;
color: #eaeaea;
font-size: 46px;
letter-spacing: 0.2px;
}
/* Content list */
.content {
position: absolute;
top: 240px;
left: 0;
width: 100%;
bottom: 930px; /* leave room for keyboard */
overflow: hidden;
padding: 10px 24px;
}
.list-row {
height: 140px;
display: flex;
align-items: center;
padding: 0 6px;
border-bottom: 1px solid rgba(255,255,255,0.06);
}
.list-row .left-icon {
width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; margin-right: 20px;
}
.list-row .right-icon {
margin-left: auto;
width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
}
.row-title {
font-size: 48px;
color: #f5f5f5;
}
.row-subtitle {
font-size: 34px;
color: #9e9e9e;
margin-top: 10px;
}
.pdf-row {
height: 180px;
display: flex;
align-items: center;
padding: 0 6px;
border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pdf-icon {
width: 88px; height: 88px;
background: #E57373;
border-radius: 12px;
color: #1b1b1b;
font-weight: 700;
display: flex; align-items: center; justify-content: center;
margin-right: 26px;
font-size: 30px;
}
.pdf-text { flex: 1; }
.pdf-title {
font-size: 44px; color: #ffffff; line-height: 1.25;
}
.pdf-title .bold { font-weight: 700; }
.pdf-meta { font-size: 34px; color: #9e9e9e; margin-top: 12px; }
/* Floating search button */
.fab {
position: absolute;
right: 36px;
bottom: 1040px; /* sits above keyboard edge */
width: 120px; height: 120px;
background: #C8FF7E;
border-radius: 60px;
box-shadow: 0 6px 16px rgba(0,0,0,0.35);
display: flex; align-items: center; justify-content: center;
}
/* Keyboard */
.keyboard {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 930px;
background: #1b1b1b;
border-top-left-radius: 18px;
border-top-right-radius: 18px;
padding: 40px 28px 24px;
box-shadow: 0 -6px 24px rgba(0,0,0,0.45);
}
.suggestions {
display: flex; gap: 28px; color: #e0e0e0; font-size: 40px; margin-bottom: 26px; align-items: center;
}
.sugg-pill { padding: 12px 22px; background: #262626; border-radius: 18px; }
.keys-row {
display: grid;
grid-template-columns: repeat(10, 1fr);
gap: 20px;
margin-bottom: 24px;
}
.keys-row.short { grid-template-columns: repeat(9, 1fr); }
.keys-row.bottom { grid-template-columns: 1.2fr 7fr 1.2fr; }
.key {
height: 120px; background: #2a2a2a; border-radius: 22px;
color: #ffffff; display: flex; align-items: center; justify-content: center;
font-size: 48px;
box-shadow: inset 0 -3px 0 rgba(255,255,255,0.05);
}
.key.small { font-size: 40px; }
.space { height: 120px; background: #2a2a2a; border-radius: 22px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>9:37</div>
<div class="status-right">
<span>LR</span>
<span>N</span>
<span></span>
<span>100%</span>
<div class="icon-battery"><div class="icon-battery-fill"></div></div>
</div>
</div>
<!-- Search Header -->
<div class="search-header">
<div class="back-btn">
<svg width="60" height="60" viewBox="0 0 100 100">
<path d="M70 15 L30 50 L70 85" stroke="#E0E0E0" stroke-width="12" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="search-field">JRR Tolkien</div>
<div class="close-btn">
<svg width="60" height="60" viewBox="0 0 100 100">
<path d="M20 20 L80 80 M80 20 L20 80" stroke="#E0E0E0" stroke-width="12" stroke-linecap="round"></path>
</svg>
</div>
</div>
<!-- Content / Results -->
<div class="content">
<!-- Suggestion row -->
<div class="list-row">
<div class="left-icon">
<svg width="70" height="70" viewBox="0 0 100 100">
<circle cx="42" cy="42" r="28" stroke="#BDBDBD" stroke-width="8" fill="none"></circle>
<line x1="66" y1="66" x2="90" y2="90" stroke="#BDBDBD" stroke-width="8" stroke-linecap="round"></line>
</svg>
</div>
<div>
<div class="row-title">JRR Tolkien</div>
</div>
<div class="right-icon">
<svg width="70" height="70" viewBox="0 0 100 100">
<path d="M30 70 L70 30" stroke="#9E9E9E" stroke-width="10" stroke-linecap="round"></path>
<path d="M70 30 L70 55 L45 55" stroke="#9E9E9E" stroke-width="10" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<!-- PDF result row 1 -->
<div class="pdf-row">
<div class="pdf-icon">PDF</div>
<div class="pdf-text">
<div class="pdf-title">Copy of <span class="bold">JRR Tolkien</span> - Lord of the Rings Co...</div>
<div class="pdf-meta">Modified Oct 6</div>
</div>
</div>
<!-- PDF result row 2 -->
<div class="pdf-row">
<div class="pdf-icon">PDF</div>
<div class="pdf-text">
<div class="pdf-title"><span class="bold">JRR Tolkien</span> - Lord of the Rings Collection....</div>
<div class="pdf-meta">Modified Oct 6</div>
</div>
</div>
</div>
<!-- Floating search button -->
<div class="fab">
<svg width="64" height="64" viewBox="0 0 100 100">
<circle cx="42" cy="42" r="28" stroke="#2E2E2E" stroke-width="8" fill="none"></circle>
<line x1="66" y1="66" x2="90" y2="90" stroke="#2E2E2E" stroke-width="8" stroke-linecap="round"></line>
</svg>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="suggestions">
<div class="sugg-pill">Tolkien</div>
<div class="sugg-pill">Tolkien's</div>
<div style="margin-left:auto;">
<svg width="60" height="60" viewBox="0 0 100 100">
<circle cx="42" cy="42" r="28" stroke="#BDBDBD" stroke-width="8" fill="none"></circle>
<line x1="66" y1="66" x2="90" y2="90" stroke="#BDBDBD" stroke-width="8" stroke-linecap="round"></line>
</svg>
</div>
</div>
<div class="keys-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="keys-row short">
<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="keys-row short">
<div class="key small">z</div><div class="key small">x</div><div class="key small">c</div><div class="key small">v</div>
<div class="key small">b</div><div class="key small">n</div><div class="key small">m</div>
<div class="key small"></div><div class="key small"></div>
</div>
<div class="keys-row bottom">
<div class="key small">?123</div>
<div class="space"></div>
<div class="key small">.</div>
</div>
</div>
</div>
</body>
</html>