AndroidCode / code /10175 /10175_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
10.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1440, initial-scale=1.0">
<title>Rename Dialog UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, sans-serif; }
#render-target {
position: relative;
overflow: hidden;
width: 1440px;
height: 3120px;
background: #101214;
border-radius: 0;
box-shadow: none;
color: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1440px;
height: 120px;
background: #0B0C0E;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
font-size: 44px;
letter-spacing: 0.5px;
}
.status-right {
display: flex;
align-items: center;
gap: 30px;
color: #EAEAEA;
}
.icon {
display: inline-flex;
width: 54px;
height: 54px;
fill: #EAEAEA;
}
/* App bar */
.app-bar {
position: absolute;
top: 120px;
left: 0;
width: 1440px;
height: 180px;
background: #14161A;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 0 40px;
border-bottom: 1px solid #20232A;
}
.app-title {
font-size: 72px;
font-weight: 600;
color: #D0D3DA;
}
.app-actions {
display: flex;
align-items: center;
gap: 50px;
}
.action-btn {
width: 88px;
height: 88px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
}
.action-btn svg { width: 64px; height: 64px; fill: #C7CCD4; }
/* File list area */
.content {
position: absolute;
top: 300px;
left: 0;
width: 1440px;
height: 1140px;
background: #0F1216;
}
.file-row {
margin: 40px;
height: 260px;
background: #9EC3FF;
border-radius: 12px;
display: flex;
align-items: center;
padding: 40px;
box-sizing: border-box;
color: #0A1A33;
position: relative;
}
.file-icon {
width: 140px;
height: 140px;
border-radius: 16px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
margin-right: 40px;
}
.file-texts {
flex: 1;
}
.file-name { font-size: 58px; font-weight: 700; color: #0A1A33; }
.file-meta { margin-top: 18px; font-size: 40px; color: #233A61; }
.file-check {
width: 84px;
height: 84px;
border-radius: 10px;
background: #1A1D22;
display: flex;
align-items: center;
justify-content: center;
}
.file-check svg { width: 60px; height: 60px; fill: #9EC3FF; }
/* Dim overlay (above content, not covering keyboard) */
.overlay {
position: absolute;
top: 0;
left: 0;
width: 1440px;
height: 1920px; /* leave keyboard visible */
background: rgba(0,0,0,0.55);
z-index: 10;
pointer-events: none;
}
/* Modal dialog */
.modal {
position: absolute;
top: 740px;
left: 50%;
transform: translateX(-50%);
width: 980px;
background: #EFEFEF;
color: #1B1B1B;
border-radius: 34px;
box-shadow: 0 20px 60px rgba(0,0,0,0.6);
padding: 50px 60px 40px;
box-sizing: border-box;
z-index: 20;
}
.modal-title {
font-size: 68px;
font-weight: 700;
margin-bottom: 60px;
}
.modal-input {
font-size: 58px;
border: none;
outline: none;
background: transparent;
width: 100%;
color: #1B1B1B;
padding: 0 0 16px 0;
border-bottom: 4px solid #B8B8B8;
box-sizing: border-box;
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 60px;
margin-top: 50px;
}
.modal-link {
font-size: 64px;
color: #64A4FF;
}
/* Keyboard */
.keyboard {
position: absolute;
bottom: 90px; /* leave room for navigation pill */
left: 0;
width: 1440px;
height: 1200px;
background: #0E0F11;
border-top: 1px solid #202225;
box-sizing: border-box;
padding: 36px 40px;
z-index: 5;
}
.suggestions {
display: flex;
align-items: center;
justify-content: center;
gap: 36px;
margin-bottom: 36px;
}
.chip {
padding: 18px 34px;
border-radius: 36px;
background: #1A1C1F;
color: #E6E6E6;
font-size: 46px;
}
.suggest-right {
position: absolute;
right: 40px;
top: 36px;
display: flex;
align-items: center;
gap: 30px;
}
.kb-grid {
display: grid;
grid-template-columns: repeat(10, 1fr);
gap: 22px;
}
.key {
height: 128px;
background: #1A1C1F;
border-radius: 22px;
display: flex;
align-items: center;
justify-content: center;
color: #EDEDED;
font-size: 54px;
}
.row { margin-top: 22px; }
.key.shift { width: 160px; }
.bottom-row {
display: grid;
grid-template-columns: 200px 1fr 200px 200px;
gap: 22px;
margin-top: 22px;
}
.key.light {
background: #CFE9C8;
color: #0E0F11;
}
.key.circle {
border-radius: 50%;
}
.key.enter {
background: #D7F5C8;
color: #0E0F11;
}
.key.mic svg,
.key.backspace svg { fill: #EDEDED; width: 52px; height: 52px; }
/* Navigation pill */
.nav-pill {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 18px;
background: #FFFFFF;
border-radius: 12px;
opacity: 0.9;
z-index: 6;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">3:52</div>
<div class="status-right">
<!-- WiFi icon -->
<svg class="icon" viewBox="0 0 24 24"><path d="M12 18c.9 0 1.7.8 1.7 1.7S12.9 21.4 12 21.4s-1.7-.8-1.7-1.7S11.1 18 12 18zm7.4-6.3l-1.6 1.6C16.1 11.6 13.9 10.9 12 10.9s-4.1.7-5.8 2.3l-1.6-1.6C6.7 9.8 9.2 8.9 12 8.9s5.3.9 7.4 2.8zm3-3.1l-1.6 1.6C18.6 8.1 15.4 7 12 7S5.4 8.1 3.2 10.2L1.6 8.6C4.3 6.1 8 4.8 12 4.8s7.7 1.3 10.4 3.8z"/></svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 24 24"><path d="M20 7h-1V5h-2v2H7c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V9zm-2 8H7V9h11v6z"/></svg>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="app-title">(2)</div>
<div class="app-actions">
<div class="action-btn">
<!-- Search -->
<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.5 6.5 0 1 0 14 15.5l.27.28v.79L20 21l1-1-5.5-5.5zM10 15a5 5 0 1 1 0-10 5 5 0 0 1 0 10z"/></svg>
</div>
<div class="action-btn">
<!-- Scissors -->
<svg viewBox="0 0 24 24"><path d="M9.64 7L3 3l1-1 8 4.5L20 2l1 1-8.5 4.6L12 9l4 7-1.2.7L11 10.6 8.2 12c.5.9.3 2-.5 2.6a2.3 2.3 0 1 1-.8-4.5L9.64 7z"/></svg>
</div>
<div class="action-btn">
<!-- Pencil -->
<svg viewBox="0 0 24 24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zm19.71-11.04a1 1 0 0 0 0-1.41l-2.5-2.5a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.99-1.67z"/></svg>
</div>
<div class="action-btn">
<!-- Hamburger -->
<svg viewBox="0 0 24 24"><path d="M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z"/></svg>
</div>
</div>
</div>
<!-- Content with selected file -->
<div class="content">
<div class="file-row">
<div class="file-icon">[IMG: Music File]</div>
<div class="file-texts">
<div class="file-name">2023_12_08_12_46_58_1_...</div>
<div class="file-meta">2023-12-08 13:31, 234.3 KB &nbsp;&nbsp;00:14s</div>
</div>
<div class="file-check">
<svg viewBox="0 0 24 24"><path d="M9 16.2l-3.5-3.5L4 13.2l5 5 11-11-1.5-1.5z"/></svg>
</div>
</div>
</div>
<!-- Dim Overlay -->
<div class="overlay"></div>
<!-- Modal dialog -->
<div class="modal">
<div class="modal-title">Insert new file name</div>
<div class="modal-input">Quentin Clark</div>
<div class="modal-actions">
<div class="modal-link">Cancel</div>
<div class="modal-link">OK</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="suggestions">
<div class="chip">Clark</div>
<div class="chip">Clarke</div>
<div class="chip">Clarks</div>
</div>
<div class="suggest-right">
<div class="key mic" style="width:120px;height:120px;border-radius:60px;background:#1A1C1F;">
<svg viewBox="0 0 24 24"><path d="M12 14a3 3 0 0 0 3-3V6a3 3 0 0 0-6 0v5a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.92V21h2v-3.08A7 7 0 0 0 19 11h-2z"/></svg>
</div>
</div>
<!-- Row 1 -->
<div class="kb-grid">
<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="kb-grid row" style="grid-template-columns: repeat(9, 1fr); margin-left: 70px; margin-right: 70px;">
<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="kb-grid row" style="grid-template-columns: 160px repeat(7, 1fr) 160px;">
<div class="key"></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">
<svg viewBox="0 0 24 24"><path d="M22 6H9L2 12l7 6h13V6zm-3 8h-8v-4h8v4z"/></svg>
</div>
</div>
<!-- Bottom Row -->
<div class="bottom-row">
<div class="key circle light" style="height:128px;">?123</div>
<div class="key" style="height:128px;">space</div>
<div class="key" style="height:128px;">.</div>
<div class="key circle enter" style="height:128px;">
<svg viewBox="0 0 24 24"><path d="M9 16.2l-3.5-3.5L4 13.2l5 5 11-11-1.5-1.5z"/></svg>
</div>
</div>
</div>
<!-- Navigation pill -->
<div class="nav-pill"></div>
</div>
</body>
</html>