AndroidCode / code /10138 /10138_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
11.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>UI Recreation - Rename Dialog</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: Arial, Helvetica, sans-serif;
color: #222;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #0f5fae;
border-radius: 0;
box-shadow: none;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 90px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 24px;
color: #fff;
font-size: 36px;
letter-spacing: 0.5px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
}
.status-dot {
width: 24px;
height: 24px;
background: #fff;
border-radius: 50%;
opacity: 0.9;
}
.wifi-icon, .battery-icon {
width: 44px;
height: 24px;
}
/* App header */
.header {
position: absolute;
top: 90px;
left: 0;
width: 1080px;
height: 360px;
padding: 0 32px;
box-sizing: border-box;
color: #ffffff;
}
.header-title {
margin-top: 100px;
font-size: 76px;
font-weight: 600;
opacity: 0.95;
}
.header-actions {
position: absolute;
right: 20px;
top: 120px;
display: flex;
gap: 34px;
}
.action-btn {
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.95;
}
.tabs {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 90px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 60px;
box-sizing: border-box;
color: #cbe0ff;
letter-spacing: 3px;
font-weight: 700;
}
/* Carousel strip */
.carousel {
position: absolute;
top: 450px;
left: 0;
width: 1080px;
height: 210px;
background: #0f5fae;
display: flex;
align-items: center;
gap: 18px;
padding: 0 24px;
box-sizing: border-box;
}
.thumb {
width: 180px;
height: 160px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 28px;
text-align: center;
}
.price {
margin-top: 6px;
color: #ffffff;
font-size: 28px;
text-align: center;
opacity: 0.9;
}
/* Main content area below header (dim blue) */
.content-bg {
position: absolute;
top: 360px;
left: 0;
width: 1080px;
height: 900px;
background: #0f5fae;
}
/* Modal overlay */
.overlay {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 2400px;
background: rgba(0,0,0,0.25);
z-index: 5;
}
.dialog {
position: absolute;
left: 60px;
top: 820px;
width: 960px;
background: #ffffff;
border-radius: 22px;
box-shadow: 0 20px 40px rgba(0,0,0,0.35);
z-index: 6;
}
.dialog-header {
padding: 36px 40px 20px 40px;
font-size: 46px;
color: #333;
}
.input-row {
display: flex;
align-items: center;
gap: 18px;
padding: 0 40px 20px 40px;
}
.input-field {
flex: 1;
height: 110px;
border: 2px solid #1976D2;
border-radius: 14px;
display: flex;
align-items: center;
padding: 0 24px;
box-sizing: border-box;
font-size: 40px;
color: #222;
}
.extension-label {
font-size: 40px;
color: #777;
}
.clear-btn {
width: 64px;
height: 64px;
border-radius: 50%;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #555;
}
.dialog-actions {
display: flex;
justify-content: flex-end;
gap: 40px;
padding: 30px 40px 40px 40px;
}
.action-text {
font-size: 38px;
color: #1976D2;
font-weight: 700;
letter-spacing: 2px;
}
/* Keyboard */
.keyboard {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 930px;
background: #F3EFF8;
z-index: 8;
box-sizing: border-box;
padding-top: 20px;
}
.suggestions {
height: 110px;
margin: 0 20px 10px 20px;
background: #F3EFF8;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 24px;
color: #4a4a4a;
font-size: 34px;
}
.suggestions .words {
display: flex;
gap: 36px;
color: #4a4a4a;
}
.key-row {
display: flex;
gap: 18px;
padding: 14px 24px;
}
.key {
flex: 1;
height: 120px;
background: #ffffff;
border-radius: 26px;
box-shadow: 0 1px 0 rgba(0,0,0,0.06);
display: flex;
align-items: center;
justify-content: center;
font-size: 44px;
color: #333;
}
.key.small {
flex: 0 0 90px;
}
.key.medium {
flex: 0 0 140px;
}
.key.wide {
flex: 1 1 100%;
}
.key.special {
background: #F7DDE4;
color: #333;
}
.key.confirm {
background: #B9E7B9;
color: #1C6B1C;
font-weight: 700;
}
.space {
flex: 1;
}
.gesture-bar {
position: absolute;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 10px;
background: #BDBDBD;
border-radius: 8px;
opacity: 0.8;
}
/* Utility SVG styles */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>2:34</div>
<div class="status-right">
<div class="status-dot"></div>
<div class="status-dot"></div>
<svg class="wifi-icon" viewBox="0 0 24 24">
<path fill="#fff" d="M2 8c5-4 15-4 20 0l-2 2c-4-3-12-3-16 0L2 8zm4 5c3-2 9-2 12 0l-2 2c-2-1-6-1-8 0l-2-2zm6 6l-3-3 3-3 3 3-3 3z"/>
</svg>
<svg class="battery-icon" viewBox="0 0 36 20">
<rect x="1" y="3" width="30" height="14" rx="3" fill="none" stroke="#fff" stroke-width="2"/>
<rect x="3" y="5" width="22" height="10" rx="2" fill="#fff"/>
<rect x="32" y="7" width="3" height="6" rx="1" fill="#fff"/>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="header-title">Playback paused</div>
<div class="header-actions">
<div class="action-btn">
<svg width="40" height="40" viewBox="0 0 24 24">
<path fill="#fff" d="M10 18l6-6-6-6v12z"/>
<circle cx="10" cy="12" r="8" fill="none"/>
<path fill="#fff" d="M10 4a8 8 0 1 0 0 16h0"/>
</svg>
</div>
<div class="action-btn">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#fff" stroke-width="2" fill="none"/>
<line x1="17" y1="17" x2="22" y2="22" stroke="#fff" stroke-width="2"/>
</svg>
</div>
<div class="action-btn">
<svg width="40" height="40" viewBox="0 0 24 24">
<path fill="#fff" d="M4 7h16v2H4zM4 11h12v2H4zM4 15h10v2H4z"/>
</svg>
</div>
<div class="action-btn">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2" fill="#fff"/>
<circle cx="12" cy="12" r="2" fill="#fff"/>
<circle cx="12" cy="19" r="2" fill="#fff"/>
</svg>
</div>
</div>
<div class="tabs">
<div>RECORD</div>
<div>LISTEN</div>
</div>
</div>
<!-- Carousel -->
<div class="carousel">
<div>
<div class="thumb">[IMG: App Icon]</div>
<div class="price">₹436</div>
</div>
<div>
<div class="thumb">[IMG: Microwave]</div>
<div class="price">₹108</div>
</div>
<div>
<div class="thumb">[IMG: Blue Chair]</div>
<div class="price">₹543</div>
</div>
<div>
<div class="thumb">[IMG: TV Screen]</div>
<div class="price">₹1 126</div>
</div>
<div>
<div class="thumb">[IMG: Cabinet]</div>
<div class="price">₹108</div>
</div>
<div>
<div class="thumb">[IMG: Sofa Bed]</div>
<div class="price">₹326</div>
</div>
</div>
<!-- Background filler -->
<div class="content-bg"></div>
<!-- Overlay and Dialog -->
<div class="overlay"></div>
<div class="dialog">
<div class="dialog-header">Rename</div>
<div class="input-row">
<div class="input-field">renewable energy lecture</div>
<div class="extension-label">.m4a</div>
<div class="clear-btn">
<svg width="28" height="28" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="11" fill="none"/>
<path d="M7 7l10 10M17 7L7 17" stroke="#666" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="dialog-actions">
<div class="action-text">CANCEL</div>
<div class="action-text">RENAME</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="suggestions">
<div class="words">
<span>lecture</span>
<span>|</span>
<span>lecturer</span>
<span>|</span>
<span>lectures</span>
</div>
<div style="display:flex;align-items:center;gap:16px;">
<svg width="38" height="38" viewBox="0 0 24 24">
<path d="M12 3a4 4 0 0 1 4 4v5a4 4 0 1 1-8 0V7a4 4 0 0 1 4-4zm-5 14h10v2H7z" fill="#666"/>
</svg>
</div>
</div>
<!-- Row 1 -->
<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>
<!-- Row 2 -->
<div class="key-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>
<!-- Row 3 -->
<div class="key-row">
<div class="key special medium"></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 medium">
<svg width="36" height="36" viewBox="0 0 24 24">
<path d="M16 8l-6 6h4v4l6-6h-4V8z" fill="#333"/>
</svg>
</div>
</div>
<!-- Row 4 -->
<div class="key-row">
<div class="key special medium">?123</div>
<div class="key special small">,</div>
<div class="key special small">
<svg width="32" height="32" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="#333"/>
<rect x="11" y="5" width="2" height="14" fill="#fff"/>
</svg>
</div>
<div class="key wide">space</div>
<div class="key special small">.</div>
<div class="key confirm medium"></div>
</div>
<div class="gesture-bar"></div>
</div>
</div>
</body>
</html>