AndroidCode / code /10138 /10138_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
10.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>UI Recreation - Rename Dialog</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: #0E5FA9;
border-radius: 0;
box-shadow: none;
}
/* Status bar */
.status-bar {
position: absolute;
top: 20px;
left: 24px;
right: 24px;
height: 48px;
color: #ffffff;
font-size: 34px;
display: flex;
align-items: center;
justify-content: space-between;
opacity: 0.95;
}
.status-icons {
display: flex;
align-items: center;
gap: 22px;
}
.sb-icon {
width: 34px; height: 34px;
}
/* App bar content */
.app-header {
position: absolute;
top: 92px;
left: 24px;
right: 24px;
height: 260px;
display: flex;
align-items: flex-start;
justify-content: space-between;
color: #cfe6ff;
}
.title {
font-size: 66px;
font-weight: 500;
letter-spacing: 0.2px;
color: #e3f1ff;
}
.header-actions {
display: flex;
align-items: center;
gap: 36px;
margin-top: 12px;
}
.action-icon {
width: 54px; height: 54px; fill: #e3f1ff;
}
.tabs {
position: absolute;
top: 316px;
left: 24px;
right: 24px;
display: flex;
justify-content: space-between;
color: #cfe6ff;
letter-spacing: 6px;
font-size: 38px;
font-weight: 700;
}
/* Horizontal cards preview area */
.cards-strip {
position: absolute;
top: 380px;
left: 0;
right: 0;
height: 220px;
background: #0b5394;
display: flex;
align-items: center;
overflow: hidden;
padding-left: 20px;
gap: 18px;
}
.card {
width: 200px;
height: 200px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 16px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #757575;
font-size: 26px;
box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}
.price {
position: absolute;
bottom: 8px;
right: 12px;
color: #333;
font-size: 28px;
font-weight: 700;
}
/* Dim overlay behind dialog */
.dim {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.35);
}
/* Rename dialog */
.dialog {
position: absolute;
left: 90px;
top: 930px;
width: 900px;
background: #ffffff;
border-radius: 18px;
box-shadow: 0 16px 50px rgba(0,0,0,0.35);
padding: 40px;
color: #000;
}
.dialog-title {
font-size: 48px;
font-weight: 600;
margin-bottom: 34px;
color: #222;
}
.input-row {
position: relative;
border: 2px solid #1976d2;
border-radius: 12px;
padding: 22px 80px 22px 22px;
font-size: 40px;
line-height: 1.3;
color: #222;
}
.selection {
position: absolute;
top: 10px;
left: 22px;
height: 64px;
background: #a4cdfc;
opacity: 0.9;
border-radius: 6px;
width: 650px; /* simulate selected text width */
z-index: 1;
}
.input-text {
position: relative;
z-index: 2;
}
.suffix {
color: #777;
}
.clear-btn {
position: absolute;
right: 18px;
top: 18px;
width: 54px;
height: 54px;
border-radius: 27px;
background: #f1f3f6;
border: 1px solid #d9dde3;
display: flex;
align-items: center;
justify-content: center;
}
.dialog-actions {
margin-top: 36px;
display: flex;
justify-content: flex-end;
gap: 36px;
font-size: 38px;
font-weight: 700;
}
.action-text {
color: #1976d2;
letter-spacing: 2px;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 900px;
background: #f6f4fb;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
padding-top: 30px;
}
.kb-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
margin-bottom: 24px;
}
.tool {
width: 66px; height: 66px; border-radius: 16px;
background: #ffffff; border: 1px solid #e1e3ea;
display: flex; align-items: center; justify-content: center;
}
.tool.green { background: #d9f2d6; border-color: #c5e7c1; }
.tool svg { width: 36px; height: 36px; fill: #333; }
.kb-rows {
padding: 0 24px;
}
.key-row {
display: flex;
justify-content: center;
gap: 18px;
margin-bottom: 22px;
}
.key {
width: 88px; height: 110px;
background: #ffffff;
border: 1px solid #e1e3ea;
border-radius: 22px;
display: flex; align-items: center; justify-content: center;
font-size: 42px; color: #000;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.04);
}
.key.wide { width: 120px; }
.key.pink { background: #ffd8e2; }
.key.backspace { background: #ffd8e2; }
.key.enter {
width: 120px; height: 120px; border-radius: 60px;
background: #b9e8b7; font-weight: 700;
}
.spacebar {
width: 540px; height: 110px; background: #ffffff; border: 1px solid #e1e3ea; border-radius: 22px;
}
.mic-wrap {
width: 110px; height: 110px; border-radius: 55px; background: #ffffff; border: 1px solid #e1e3ea;
display: flex; align-items: center; justify-content: center;
}
.gesture {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
width: 220px; height: 12px; border-radius: 6px;
background: #bdbdbd;
opacity: 0.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>2:33</div>
<div class="status-icons">
<svg class="sb-icon" viewBox="0 0 24 24"><path fill="#fff" d="M12 4a8 8 0 100 16 8 8 0 000-16zM11 11V7h2v4h-2zm0 6v-2h2v2h-2z"/></svg>
<svg class="sb-icon" viewBox="0 0 24 24"><path fill="#fff" d="M12 2l4 4h-3v12h-2V6H8l4-4z"/></svg>
<svg class="sb-icon" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3" fill="#fff"/></svg>
</div>
</div>
<!-- App Header -->
<div class="app-header">
<div class="title">Playback paused</div>
<div class="header-actions">
<!-- Search -->
<svg class="action-icon" viewBox="0 0 24 24"><path d="M10 3a7 7 0 105.29 12.29l3.7 3.7 1.41-1.41-3.7-3.7A7 7 0 0010 3zm0 2a5 5 0 110 10 5 5 0 010-10z"/></svg>
<!-- Filter -->
<svg class="action-icon" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6zm4 5h10v2H7v-2zm3 5h4v2h-4v-2z"/></svg>
<!-- More -->
<svg class="action-icon" viewBox="0 0 24 24"><path d="M12 5a2 2 0 110 4 2 2 0 010-4zm0 5a2 2 0 110 4 2 2 0 010-4zm0 5a2 2 0 110 4 2 2 0 010-4z"/></svg>
</div>
</div>
<div class="tabs">
<div>RECORD</div>
<div>LISTEN</div>
</div>
<!-- Content cards preview -->
<div class="cards-strip">
<div class="card">
<div>[IMG: App icon]</div>
<div class="price">₹436</div>
</div>
<div class="card">
<div>[IMG: Microwave]</div>
<div class="price">₹108</div>
</div>
<div class="card">
<div>[IMG: Blue Chair]</div>
<div class="price">₹543</div>
</div>
<div class="card">
<div>[IMG: Landscape Photo]</div>
<div class="price">₹1 126</div>
</div>
<div class="card">
<div>[IMG: Smart TV]</div>
<div class="price">₹1 126</div>
</div>
<div class="card">
<div>[IMG: Drawer Unit]</div>
<div class="price">₹108</div>
</div>
<div class="card">
<div>[IMG: Daybed]</div>
<div class="price">₹326</div>
</div>
</div>
<!-- Overlay for dialog -->
<div class="dim"></div>
<!-- Rename Dialog -->
<div class="dialog">
<div class="dialog-title">Rename</div>
<div class="input-row">
<div class="selection"></div>
<div class="input-text">able energy lecture practice<span class="suffix">.m4a</span></div>
<div class="clear-btn">
<svg viewBox="0 0 24 24"><path d="M6 6l12 12M18 6L6 18" stroke="#606b75" stroke-width="2" fill="none" 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="kb-toolbar">
<div class="tool green">
<svg viewBox="0 0 24 24"><path d="M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm10 0h8v8h-8v-8z"/></svg>
</div>
<div class="tool">
<svg viewBox="0 0 24 24"><path d="M12 2a5 5 0 00-5 5c0 2.76 2.24 6 5 6s5-3.24 5-6a5 5 0 00-5-5zm0 13c-4 0-7 2-7 4v2h14v-2c0-2-3-4-7-4z"/></svg>
</div>
<div class="tool"><span style="font-weight:700;font-size:24px;">GIF</span></div>
<div class="tool">
<svg viewBox="0 0 24 24"><path d="M12 3l9 6-9 6-9-6 9-6zm0 15l9-6v9H3v-9l9 6z"/></svg>
</div>
<div class="tool">
<svg viewBox="0 0 24 24"><path d="M4 5h9v2H4V5zm0 4h13v2H4V9zm0 4h9v2H4v-2zm0 4h13v2H4v-2z"/></svg>
</div>
<div class="tool">
<svg viewBox="0 0 24 24"><path d="M12 2l2 4 4 .6-3 2.9.8 4.5-3.8-2-3.8 2 .8-4.5-3-2.9 4-.6 2-4z"/></svg>
</div>
<div class="mic-wrap">
<svg viewBox="0 0 24 24"><path d="M12 3a3 3 0 013 3v6a3 3 0 11-6 0V6a3 3 0 013-3zm-6 9h2a6 6 0 0012 0h2a8 8 0 01-7 7v3h-4v-3a8 8 0 01-7-7z"/></svg>
</div>
</div>
<div class="kb-rows">
<!-- 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 pink wide">?123</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 backspace wide"></div>
</div>
<!-- Row 4 -->
<div class="key-row">
<div class="key wide">,</div>
<div class="key wide">🙂</div>
<div class="spacebar"></div>
<div class="key">.</div>
<div class="key enter"></div>
</div>
</div>
<div class="gesture"></div>
</div>
</div>
</body>
</html>