AndroidCode / code /10135 /10135_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
10.4 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mobile UI Rendering - Drive</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FAFAFA;
font-family: Arial, Helvetica, sans-serif;
color: #333;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 80px;
padding: 18px 28px;
display: flex;
align-items: center;
justify-content: space-between;
color: #606060;
font-size: 34px;
}
.right-status { display: flex; align-items: center; gap: 20px; }
.status-icon { width: 44px; height: 44px; }
/* Header with search */
.header {
position: absolute;
top: 80px;
left: 0;
width: 100%;
padding: 20px 30px;
display: flex;
align-items: center;
gap: 22px;
}
.hamburger {
width: 90px;
height: 90px;
display: flex;
align-items: center;
justify-content: center;
}
.search-pill {
flex: 1;
height: 120px;
background: #E9EBE6;
border-radius: 60px;
display: flex;
align-items: center;
padding: 0 40px;
color: #6C6C6C;
font-size: 42px;
}
.avatar {
width: 100px;
height: 100px;
background: #2C98A2;
border-radius: 50%;
color: #fff;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
font-size: 44px;
}
/* Tabs */
.tabs {
position: absolute;
top: 220px;
left: 0;
width: 100%;
padding: 10px 44px 0 44px;
display: flex;
gap: 90px;
font-size: 46px;
color: #444;
}
.tab { display: flex; flex-direction: column; }
.tab.active { color: #5E7D2F; }
.indicator {
margin-top: 16px;
width: 160px;
height: 8px;
background: #5E7D2F;
border-radius: 4px;
}
/* Sort row */
.sort-row {
position: absolute;
top: 320px;
left: 0;
width: 100%;
padding: 20px 50px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 36px;
color: #555;
}
/* Grid */
.grid {
position: absolute;
top: 420px;
left: 0;
width: 100%;
padding: 20px 50px 0 50px;
display: grid;
grid-template-columns: 1fr 1fr;
grid-column-gap: 80px;
grid-row-gap: 80px;
}
/* Folder cards */
.folder-card { }
.folder-icon {
width: 420px;
height: 260px;
display: flex;
align-items: center;
justify-content: center;
}
.tile-title {
margin-top: 18px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 46px;
}
.dots {
width: 50px;
height: 80px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
}
.dot { width: 10px; height: 10px; background: #555; border-radius: 50%; }
/* PDF cards */
.pdf-card { }
.thumb {
width: 470px;
height: 260px;
border-radius: 28px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
position: relative;
}
.thumb .label {
font-size: 34px;
}
.pdf-badge {
position: absolute;
bottom: -26px;
left: 14px;
width: 80px;
height: 80px;
border-radius: 12px;
background: #E85757;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 26px;
}
.share-bubble {
position: absolute;
bottom: 16px;
right: 16px;
width: 70px;
height: 70px;
background: #F0F0F3;
border: 1px solid #C7C7C7;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.card-title {
margin-top: 46px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 44px;
}
/* Floating button */
.fab {
position: absolute;
right: 60px;
bottom: 260px;
width: 150px;
height: 150px;
border-radius: 40px;
background: #F4CEE6;
box-shadow: 0 10px 24px rgba(0,0,0,0.18);
display: flex;
align-items: center;
justify-content: center;
}
.fab span {
font-size: 80px;
color: #5E2A53;
}
/* Bottom navigation */
.navbar {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 180px;
background: #E9E9E6;
display: flex;
align-items: center;
justify-content: space-around;
color: #555;
font-size: 34px;
}
.nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}
.nav-icon-wrap {
width: 110px;
height: 90px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 26px;
}
.nav-item.active .nav-icon-wrap {
background: #F3D7EB;
}
.nav-text { font-size: 34px; }
.nav-item.active .nav-text { font-weight: bold; color: #3D3D3D; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>6:06</div>
<div class="right-status">
<!-- Wifi -->
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M12 18.5c.9 0 1.6.7 1.6 1.5s-.7 1.5-1.6 1.5-1.6-.7-1.6-1.5.7-1.5 1.6-1.5z" fill="#606060"/>
<path d="M3 10.5c2.8-2.2 6.1-3.5 9-3.5 2.9 0 6.2 1.3 9 3.5" stroke="#606060" stroke-width="2" fill="none"/>
<path d="M6 13.5c1.9-1.5 4.2-2.5 6-2.5s4.1 1 6 2.5" stroke="#606060" stroke-width="2" fill="none"/>
<path d="M9 16.5c1.1-.8 2.5-1.3 3-1.3s1.9.5 3 1.3" stroke="#606060" stroke-width="2" fill="none"/>
</svg>
<!-- Battery -->
<svg class="status-icon" viewBox="0 0 26 24">
<rect x="1" y="5" width="20" height="12" rx="2" fill="none" stroke="#606060" stroke-width="2"></rect>
<rect x="3" y="7" width="13" height="8" rx="1" fill="#606060"></rect>
<rect x="22" y="8" width="3" height="6" rx="1" fill="#606060"></rect>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="hamburger">
<svg width="64" height="64" viewBox="0 0 24 24">
<path d="M3 5h18v2H3zM3 11h18v2H3zM3 17h18v2H3z" fill="#666"/>
</svg>
</div>
<div class="search-pill">
Search in Drive
</div>
<div class="avatar">N</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">
<div>My Drive</div>
<div class="indicator"></div>
</div>
<div class="tab">
<div>Computers</div>
</div>
</div>
<!-- Sort Row -->
<div class="sort-row">
<div>Name ↑</div>
<div>
<svg width="64" height="64" viewBox="0 0 24 24">
<path d="M4 6h16v2H4zM4 11h16v2H4zM4 16h16v2H4z" fill="#666"/>
</svg>
</div>
</div>
<!-- Grid Content -->
<div class="grid">
<!-- Folder 1 -->
<div class="folder-card">
<div class="folder-icon">
<svg width="300" height="200" viewBox="0 0 24 16">
<path d="M2 4c0-1.1.9-2 2-2h5l2 2h9c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V4z" fill="#42464D"/>
</svg>
</div>
<div class="tile-title">
<div>Collections</div>
<div class="dots"><div class="dot"></div><div class="dot"></div><div class="dot"></div></div>
</div>
</div>
<!-- Folder 2 -->
<div class="folder-card">
<div class="folder-icon">
<svg width="300" height="200" viewBox="0 0 24 16">
<path d="M2 4c0-1.1.9-2 2-2h5l2 2h9c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V4z" fill="#42464D"/>
</svg>
</div>
<div class="tile-title">
<div>Picture</div>
<div class="dots"><div class="dot"></div><div class="dot"></div><div class="dot"></div></div>
</div>
</div>
<!-- PDF 1 -->
<div class="pdf-card">
<div class="thumb">
<div class="label">[IMG: PDF preview]</div>
<div class="share-bubble">
<svg width="40" height="40" viewBox="0 0 24 24">
<circle cx="9" cy="9" r="4" fill="#888"/>
<circle cx="16" cy="10" r="3" fill="#AAA"/>
<path d="M4 20c0-3 4-5 6-5s6 2 6 5" fill="#888"/>
</svg>
</div>
<div class="pdf-badge">PDF</div>
</div>
<div class="card-title">
<div>01. A Voyage to the Moo...</div>
<div class="dots"><div class="dot"></div><div class="dot"></div><div class="dot"></div></div>
</div>
</div>
<!-- PDF 2 -->
<div class="pdf-card">
<div class="thumb">
<div class="label">[IMG: PDF preview]</div>
<div class="pdf-badge">PDF</div>
</div>
<div class="card-title">
<div>02. The Gods of Ma...</div>
<div class="dots"><div class="dot"></div><div class="dot"></div><div class="dot"></div></div>
</div>
</div>
</div>
<!-- Floating Add Button -->
<div class="fab">
<span>+</span>
</div>
<!-- Bottom Navigation -->
<div class="navbar">
<div class="nav-item">
<div class="nav-icon-wrap">
<svg width="50" height="50" viewBox="0 0 24 24">
<path d="M3 10l9-7 9 7v10h-6v-6H9v6H3z" fill="#555"/>
</svg>
</div>
<div class="nav-text">Home</div>
</div>
<div class="nav-item">
<div class="nav-icon-wrap">
<svg width="50" height="50" viewBox="0 0 24 24">
<path d="M12 17.3l-6.2 3.7 1.6-7-5.4-4.7 7.1-.6L12 2l2.9 6.7 7.1.6-5.4 4.7 1.6 7z" fill="#555"/>
</svg>
</div>
<div class="nav-text">Starred</div>
</div>
<div class="nav-item">
<div class="nav-icon-wrap">
<svg width="50" height="50" viewBox="0 0 24 24">
<circle cx="9" cy="8" r="4" fill="#555"/>
<circle cx="17" cy="10" r="3" fill="#777"/>
<path d="M3 21c0-4 5-6 7-6s7 2 7 6" fill="#555"/>
</svg>
</div>
<div class="nav-text">Shared</div>
</div>
<div class="nav-item active">
<div class="nav-icon-wrap">
<svg width="50" height="50" viewBox="0 0 24 24">
<path d="M2 7c0-1.1.9-2 2-2h5l2 2h9c1.1 0 2 .9 2 2v9c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7z" fill="#5A3B6D"/>
</svg>
</div>
<div class="nav-text">Files</div>
</div>
</div>
</div>
</body>
</html>