AndroidCode / code /10091 /10091_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Mobile UI - Drive</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:#111316; color:#e8e8e8;
}
/* Status bar */
.status-bar {
position:absolute; top:0; left:0; width:100%; height:90px;
display:flex; align-items:center; justify-content:space-between;
padding:0 30px; font-size:40px; color:#eaeaea;
}
.status-right { display:flex; align-items:center; gap:24px; }
.dot { width:10px; height:10px; background:#bdbdbd; border-radius:50%; margin:0 8px; display:inline-block; }
/* Search bar header */
.search-header {
position:absolute; top:90px; left:30px; right:30px; height:120px;
background:#1b241f; border-radius:60px; display:flex; align-items:center;
padding:0 30px; box-sizing:border-box;
}
.hamburger { width:70px; height:70px; display:flex; align-items:center; justify-content:center; }
.hamburger svg { fill:#c7d2c3; }
.search-text { flex:1; color:#c7d2c3; font-size:42px; }
.avatar {
width:90px; height:90px; background:#2b382f; border-radius:50%;
display:flex; align-items:center; justify-content:center; font-weight:bold; color:#8fd1a2; font-size:46px;
margin-left:20px;
}
/* Tabs */
.tabs {
position:absolute; top:230px; left:30px; right:30px; height:90px;
display:flex; gap:60px; align-items:flex-end; font-size:46px;
}
.tab { color:#9fd59b; }
.tab.inactive { color:#bfbfbf; }
/* Divider */
.divider { position:absolute; top:320px; left:0; right:0; height:2px; background:#202225; }
/* Header row */
.header-row {
position:absolute; top:340px; left:30px; right:30px; height:80px;
display:flex; align-items:center; justify-content:space-between; font-size:40px; color:#cfcfcf;
}
.sort { display:flex; align-items:center; gap:12px; }
.view-toggle { width:70px; height:70px; display:flex; align-items:center; justify-content:center; }
.view-toggle svg { fill:#b5b5b5; }
/* Grid of folders */
.grid {
position:absolute; top:420px; left:30px; right:30px; bottom:320px;
display:flex; flex-wrap:wrap; gap:60px 60px; padding-top:20px;
}
.folder-item {
width:450px;
}
.folder-ico {
position:relative;
width:450px; height:270px; background:#cfcfcf; border-radius:28px;
}
.folder-ico:before {
content:""; position:absolute; left:40px; top:-36px; width:140px; height:90px;
background:#cfcfcf; border-top-left-radius:24px; border-top-right-radius:24px;
}
.folder-name {
margin-top:20px; font-size:44px; color:#e6e6e6; line-height:1.2;
}
.dots {
position:absolute; right:0; top:50%; transform:translateY(-50%);
display:flex; flex-direction:column; gap:12px;
}
.dot-small { width:12px; height:12px; background:#cfcfcf; border-radius:50%; }
/* Floating add button */
.fab {
position:absolute; right:36px; bottom:220px;
width:160px; height:160px; background:#2e3c2f; border-radius:40px;
display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(0,0,0,0.5);
}
.fab .plus {
width:90px; height:90px; border-radius:24px; background:#3e523f;
display:flex; align-items:center; justify-content:center;
}
.fab svg { stroke:#d7e8d3; stroke-width:20; }
/* Bottom navigation */
.bottom-nav {
position:absolute; left:0; right:0; bottom:0; height:190px;
background:#172019; display:flex; justify-content:space-around; align-items:center;
padding-bottom:10px;
}
.nav-item { display:flex; flex-direction:column; align-items:center; gap:10px; color:#cfd4cf; font-size:40px; }
.nav-icon { width:84px; height:84px; display:flex; align-items:center; justify-content:center; }
.nav-icon svg { fill:#cfd4cf; }
.active {
background:#223423; border-radius:48px; padding:12px 28px;
color:#9bd49b;
}
.active .nav-icon svg { fill:#9bd49b; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>9:36</div>
<div class="status-right">
<span style="font-size:32px; background:#2a2a2a; padding:8px 14px; border-radius:12px; color:#dcdcdc;">LR</span>
<span style="font-size:32px; background:#2a2a2a; padding:8px 14px; border-radius:12px; color:#dcdcdc;">N</span>
<span class="dot"></span>
<span style="font-size:36px;">📶</span>
<span style="font-size:36px;">🔋100%</span>
</div>
</div>
<!-- Search bar / header -->
<div class="search-header">
<div class="hamburger">
<svg viewBox="0 0 100 100" width="70" height="70">
<rect x="10" y="18" width="80" height="12"></rect>
<rect x="10" y="44" width="80" height="12"></rect>
<rect x="10" y="70" width="80" height="12"></rect>
</svg>
</div>
<div class="search-text">Search in Drive</div>
<div class="avatar">K</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab">My Drive</div>
<div class="tab inactive">Computers</div>
</div>
<div class="divider"></div>
<!-- Header row -->
<div class="header-row">
<div class="sort">Name ↑</div>
<div class="view-toggle">
<svg viewBox="0 0 100 100" width="70" height="70">
<rect x="10" y="16" width="28" height="28"></rect>
<rect x="62" y="16" width="28" height="28"></rect>
<rect x="10" y="56" width="28" height="28"></rect>
<rect x="62" y="56" width="28" height="28"></rect>
</svg>
</div>
</div>
<!-- Grid of folders -->
<div class="grid">
<!-- Item 1 -->
<div class="folder-item">
<div class="folder-ico"></div>
<div class="folder-name">favourite<br>books</div>
<div class="dots">
<div class="dot-small"></div>
<div class="dot-small"></div>
<div class="dot-small"></div>
</div>
</div>
<!-- Item 2 -->
<div class="folder-item">
<div class="folder-ico"></div>
<div class="folder-name">Favourite<br>Books Pdf</div>
<div class="dots">
<div class="dot-small"></div>
<div class="dot-small"></div>
<div class="dot-small"></div>
</div>
</div>
<!-- Item 3 -->
<div class="folder-item">
<div class="folder-ico"></div>
<div class="folder-name">JRR book</div>
<div class="dots">
<div class="dot-small"></div>
<div class="dot-small"></div>
<div class="dot-small"></div>
</div>
</div>
<!-- Item 4 -->
<div class="folder-item">
<div class="folder-ico"></div>
<div class="folder-name">JRR book</div>
<div class="dots">
<div class="dot-small"></div>
<div class="dot-small"></div>
<div class="dot-small"></div>
</div>
</div>
<!-- Item 5 -->
<div class="folder-item">
<div class="folder-ico"></div>
<div class="folder-name">Karin's<br>Favorite Bo...</div>
<div class="dots">
<div class="dot-small"></div>
<div class="dot-small"></div>
<div class="dot-small"></div>
</div>
</div>
<!-- Placeholder for 6th tile spacing -->
<div class="folder-item">
<div style="width:450px; height:270px; background:#202225; border-radius:28px; border:1px dashed #333;
display:flex; align-items:center; justify-content:center; color:#7c7c7c; font-size:36px;">
Empty slot
</div>
</div>
</div>
<!-- Floating Add Button -->
<div class="fab">
<div class="plus">
<svg viewBox="0 0 100 100" width="80" height="80">
<line x1="50" y1="15" x2="50" y2="85"></line>
<line x1="15" y1="50" x2="85" y2="50"></line>
</svg>
</div>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 100 100" width="72" height="72">
<path d="M10 55 L50 20 L90 55 V90 H60 V65 H40 V90 H10 Z"></path>
</svg>
</div>
<div>Home</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 100 100" width="72" height="72">
<path d="M50 10 L62 38 L92 38 L68 56 L78 86 L50 68 L22 86 L32 56 L8 38 L38 38 Z"></path>
</svg>
</div>
<div>Starred</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 100 100" width="72" height="72">
<circle cx="50" cy="28" r="16"></circle>
<path d="M20 84 C20 60 80 60 80 84 Z"></path>
</svg>
</div>
<div>Shared</div>
</div>
<div class="nav-item active">
<div class="nav-icon">
<svg viewBox="0 0 100 100" width="72" height="72">
<rect x="14" y="30" width="72" height="50" rx="8"></rect>
<rect x="14" y="20" width="30" height="20" rx="6"></rect>
</svg>
</div>
<div>Files</div>
</div>
</div>
</div>
</body>
</html>