AndroidCode / code /10135 /10135_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
6.87 kB
<html>
<head>
<meta charset="utf-8">
<title>Drive - Choose a location</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { margin:0; padding:0; background:transparent; font-family: 'Roboto', Arial, sans-serif; }
#render-target {
width:1080px; height:2400px; position:relative; overflow:hidden;
background:#F3F2F1; color:#222;
}
/* Status bar */
.status-bar {
height:90px; padding:0 36px; display:flex; align-items:center; justify-content:space-between;
background:#ECEEE9;
color:#4a4a4a; font-weight:600; letter-spacing:0.5px; font-size:32px;
}
.status-icons { display:flex; align-items:center; gap:28px; }
.dot { width:16px; height:16px; border-radius:50%; background:#7b7b7b; display:inline-block; }
/* Header */
.header {
background:#ECEEE9;
padding:18px 36px 24px 36px;
border-bottom:1px solid #e0e0e0;
}
.header-top {
display:flex; align-items:center; justify-content:space-between;
padding:8px 0 10px 0;
}
.header-left { display:flex; align-items:center; gap:22px; }
.back-btn, .add-btn {
width:70px; height:70px; border-radius:12px; display:flex; align-items:center; justify-content:center;
color:#37474f;
}
.title {
font-size:60px; color:#1f1f1f; font-weight:700; line-height:1.1;
}
.subtitle {
margin-top:14px; font-size:38px; color:#4b4b4b;
}
/* Toolbar row ("Name" and toggle) */
.toolbar {
background:#F7F6F6; display:flex; align-items:center; justify-content:space-between;
padding:22px 36px; border-top:1px solid #ececec; border-bottom:1px solid #ececec;
}
.sort-label { font-size:36px; color:#4a4a4a; }
.content {
position:absolute; left:0; right:0; top:0; bottom:0;
padding-top:90px; /* status bar */
}
.content-inner {
position:absolute; left:0; right:0; top:228px; bottom:140px; /* below header + toolbar */
overflow:hidden;
}
.grid {
padding:40px 36px 240px 36px;
display:grid; grid-template-columns: 1fr 1fr; column-gap:64px; row-gap:100px;
}
/* Folder tile */
.folder-graphic {
width:360px; height:240px;
}
.folder-graphic svg { width:100%; height:100%; }
.tile-center { display:flex; justify-content:center; }
.label {
margin-top:26px; font-size:42px; color:#2b2b2b; font-weight:600;
}
/* PDF card */
.pdf-card {
width:468px; height:340px; border-radius:28px; background:#FAFAFB; border:2px solid #E3E5E8;
display:flex; align-items:center; justify-content:center;
box-shadow: inset 0 0 0 2px rgba(0,0,0,0.02);
}
.pdf-thumb {
width:370px; height:260px; background:#E0E0E0; border:1px solid #BDBDBD; border-radius:16px;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:28px;
}
.pdf-badge {
position:absolute; margin-top:362px; /* below card top */
width:86px; height:52px; background:#F36C5B; color:#fff; border-radius:14px;
display:flex; align-items:center; justify-content:center; font-weight:800; font-size:30px;
}
.filename {
margin-top:26px; font-size:42px; color:#2b2b2b; font-weight:600; width:468px;
white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
/* Bottom action bar */
.bottom-bar {
position:absolute; left:0; right:0; bottom:0;
height:140px; background:#ECEEE9; border-top:1px solid #dfe3de;
display:flex; align-items:center; justify-content:flex-end; gap:120px; padding:0 64px;
}
.action { font-size:46px; color:#61714A; font-weight:700; }
.action.cancel { color:#546E5D; opacity:0.9; margin-right:auto; margin-left:40px; }
/* Icons */
.icon {
width:48px; height:48px; display:inline-block;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>6:09</div>
<div class="status-icons">
<span class="dot"></span>
<svg class="icon" viewBox="0 0 24 24">
<path fill="#6e6e6e" d="M3 18h18v2H3zM6 10h12v6H6zM8 4h8v5H8z"/>
</svg>
<svg class="icon" viewBox="0 0 24 24">
<path fill="#6e6e6e" d="M20 8h-2V5a3 3 0 0 0-3-3H9A3 3 0 0 0 6 5v3H4v14h16V8zm-6 0H10V5h4v3z"/>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="header-top">
<div class="header-left">
<div class="back-btn">
<svg class="icon" viewBox="0 0 24 24">
<path fill="#2f2f2f" d="M15.5 3.5 7 12l8.5 8.5 1.5-1.5L10 12l7-7-1.5-1.5z"/>
</svg>
</div>
<div class="title">My Drive</div>
</div>
<div class="add-btn">
<svg class="icon" viewBox="0 0 24 24">
<path fill="#2f2f2f" d="M12 2 1 19h10v3h2v-3h10L12 2zm0 3.3L19.6 17H4.4L12 5.3z"/>
<path fill="#2f2f2f" d="M12 10v4m-2 0h4" stroke="#2f2f2f" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="subtitle">Choose a location</div>
</div>
<div class="toolbar">
<div class="sort-label">Name ↑</div>
<svg class="icon" viewBox="0 0 24 24">
<path fill="#505050" d="M4 5h16v2H4zm0 6h10v2H4zm0 6h16v2H4z"/>
</svg>
</div>
<!-- Content grid -->
<div class="content-inner">
<div class="grid">
<!-- Folder: Collections -->
<div>
<div class="tile-center">
<div class="folder-graphic">
<svg viewBox="0 0 120 80">
<path fill="#40464E" d="M10 20h36l8 8h56a8 8 0 0 1 8 8v26a8 8 0 0 1-8 8H10a8 8 0 0 1-8-8V28a8 8 0 0 1 8-8z"/>
<rect x="10" y="12" width="30" height="12" rx="3" fill="#40464E"/>
</svg>
</div>
</div>
<div class="label">Collections</div>
</div>
<!-- Folder: Picture -->
<div>
<div class="tile-center">
<div class="folder-graphic">
<svg viewBox="0 0 120 80">
<path fill="#40464E" d="M10 20h36l8 8h56a8 8 0 0 1 8 8v26a8 8 0 0 1-8 8H10a8 8 0 0 1-8-8V28a8 8 0 0 1 8-8z"/>
<rect x="10" y="12" width="30" height="12" rx="3" fill="#40464E"/>
</svg>
</div>
</div>
<div class="label">Picture</div>
</div>
<!-- PDF 1 -->
<div>
<div class="pdf-card tile-center">
<div class="pdf-thumb">[IMG: PDF Preview]</div>
</div>
<div class="pdf-badge">PDF</div>
<div class="filename">01. A Voyage to the Moo...</div>
</div>
<!-- PDF 2 -->
<div>
<div class="pdf-card tile-center">
<div class="pdf-thumb">[IMG: PDF Preview]</div>
</div>
<div class="pdf-badge" style="left:auto;">PDF</div>
<div class="filename">02. The Gods of Ma...</div>
</div>
</div>
</div>
<!-- Bottom actions -->
<div class="bottom-bar">
<div class="action cancel">Cancel</div>
<div class="action">Select</div>
</div>
</div>
</body>
</html>