AndroidCode / code /10135 /10135_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
11.1 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Drive Options Sheet - Mock</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: #F4F5F7;
}
/* STATUS BAR */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 90px;
background: transparent;
color: #222;
display: flex;
align-items: center;
padding: 0 30px;
font-size: 36px;
}
.status-right {
margin-left: auto;
display: flex;
gap: 24px;
color: #666;
}
/* SEARCH BAR AREA */
.search-area {
position: absolute;
top: 90px;
left: 0;
width: 1080px;
padding: 28px 30px;
box-sizing: border-box;
}
.search-bar {
height: 120px;
background: #FFFFFF;
border-radius: 28px;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
display: flex;
align-items: center;
padding: 0 24px;
border: 1px solid #E6E8EB;
}
.icon-btn {
width: 72px;
height: 72px;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
color: #5F6368;
}
.search-text {
color: #5f6368;
font-size: 40px;
margin-left: 12px;
}
.avatar {
margin-left: auto;
width: 90px;
height: 90px;
border-radius: 45px;
background: #0EA5A5;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 40px;
}
/* TABS */
.tabs {
position: absolute;
top: 270px;
left: 0;
width: 1080px;
height: 90px;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
gap: 40px;
}
.tab {
font-size: 42px;
color: #6b6f73;
}
.tab.active {
color: #0F9D58;
font-weight: 600;
}
/* LIST HEADER */
.list-header {
position: absolute;
top: 360px;
left: 0;
width: 1080px;
height: 90px;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
color: #303134;
font-size: 36px;
}
.list-header .sort {
display: flex;
align-items: center;
gap: 10px;
font-weight: 600;
}
.list-header .kebab {
margin-left: auto;
width: 80px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
color: #5F6368;
}
/* FILE ROW */
.file-row {
position: absolute;
top: 440px;
left: 20px;
width: 1040px;
height: 160px;
background: #FFFFFF;
border: 1px solid #E6E8EB;
border-radius: 24px;
display: flex;
align-items: center;
padding: 0 28px;
box-sizing: border-box;
gap: 30px;
}
.pdf-chip {
width: 70px;
height: 70px;
border-radius: 10px;
background: #E74C3C;
color: #fff;
font-size: 32px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
}
.file-name {
font-size: 40px;
color: #202124;
}
/* OVERLAY and BOTTOM SHEET */
.overlay {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 2400px;
background: rgba(0,0,0,0.08);
}
.sheet {
position: absolute;
top: 520px;
left: 0;
width: 1080px;
height: 1700px;
background: #FFFFFF;
border-top-left-radius: 34px;
border-top-right-radius: 34px;
box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
overflow: hidden;
}
.sheet-header {
display: flex;
align-items: center;
padding: 36px 40px 24px 40px;
box-sizing: border-box;
border-bottom: 1px solid #EDF0F3;
gap: 26px;
}
.sheet-title {
font-size: 42px;
color: #202124;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.menu-list {
padding: 10px 0 0 0;
}
.menu-item {
display: flex;
align-items: center;
padding: 28px 40px;
box-sizing: border-box;
gap: 26px;
font-size: 40px;
color: #202124;
}
.menu-item + .menu-item {
border-top: 1px solid #F0F2F5;
}
.mi-ico {
width: 60px;
height: 60px;
color: #5F6368;
}
/* Simple SVG icon styling */
svg { width: 60px; height: 60px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>6:08</div>
<div class="status-right">
<div></div>
<div>🔔</div>
<div>▮▮</div>
</div>
</div>
<!-- Search / Header -->
<div class="search-area">
<div class="search-bar">
<div class="icon-btn">
<!-- Hamburger -->
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="2" fill="#5F6368"></rect>
<rect x="3" y="11" width="18" height="2" fill="#5F6368"></rect>
<rect x="3" y="17" width="18" height="2" fill="#5F6368"></rect>
</svg>
</div>
<div class="search-text">Search in Drive</div>
<div class="avatar">N</div>
</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">My Drive</div>
<div class="tab">Computers</div>
</div>
<!-- List header -->
<div class="list-header">
<div class="sort">Name
<!-- Up arrow -->
<svg viewBox="0 0 24 24">
<path d="M12 6l-6 8h12z" fill="#5F6368"></path>
</svg>
</div>
<div class="kebab">
<!-- small list icon -->
<svg viewBox="0 0 24 24">
<rect x="5" y="6" width="14" height="2" fill="#5F6368"></rect>
<rect x="5" y="11" width="14" height="2" fill="#5F6368"></rect>
<rect x="5" y="16" width="14" height="2" fill="#5F6368"></rect>
</svg>
</div>
</div>
<!-- File row in list -->
<div class="file-row">
<div class="pdf-chip">PDF</div>
<div class="file-name">01. A Voyage to the Moon author Cyrano d...</div>
</div>
<!-- Dim overlay -->
<div class="overlay"></div>
<!-- Bottom sheet -->
<div class="sheet">
<div class="sheet-header">
<div class="pdf-chip">PDF</div>
<div class="sheet-title">01. A Voyage to the Moon author Cyrano d...</div>
</div>
<div class="menu-list">
<div class="menu-item">
<div class="mi-ico">
<!-- Share: arrow out of a box -->
<svg viewBox="0 0 24 24">
<rect x="5" y="10" width="10" height="9" rx="1" fill="#9AA0A6"></rect>
<path d="M13 8l3-3 3 3" stroke="#5F6368" stroke-width="2" fill="none"></path>
<path d="M16 5v8" stroke="#5F6368" stroke-width="2"></path>
</svg>
</div>
<div>Share</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Manage access: two people -->
<svg viewBox="0 0 24 24">
<circle cx="8" cy="9" r="3" fill="#5F6368"></circle>
<circle cx="16" cy="9" r="3" fill="#9AA0A6"></circle>
<rect x="4" y="14" width="16" height="5" rx="2" fill="#5F6368"></rect>
</svg>
</div>
<div>Manage access</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Star -->
<svg viewBox="0 0 24 24">
<path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#5F6368"></path>
</svg>
</div>
<div>Add to Starred</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Offline: check circle -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#5F6368" stroke-width="2"></circle>
<path d="M8 12l3 3 5-6" stroke="#5F6368" stroke-width="2" fill="none"></path>
</svg>
</div>
<div>Make available offline</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Link -->
<svg viewBox="0 0 24 24">
<path d="M8 14c-2 0-3.5-1.5-3.5-3.5S6 7 8 7h4" stroke="#5F6368" stroke-width="2" fill="none"></path>
<path d="M16 10c2 0 3.5 1.5 3.5 3.5S18 17 16 17h-4" stroke="#5F6368" stroke-width="2" fill="none"></path>
<path d="M9 12h6" stroke="#9AA0A6" stroke-width="2" fill="none"></path>
</svg>
</div>
<div>Copy link</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Make a copy -->
<svg viewBox="0 0 24 24">
<rect x="6" y="6" width="11" height="11" rx="2" fill="#5F6368"></rect>
<rect x="10" y="10" width="8" height="8" rx="2" fill="#9AA0A6"></rect>
</svg>
</div>
<div>Make a copy</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Send a copy: paper plane -->
<svg viewBox="0 0 24 24">
<path d="M4 12l16-7-6 16-3-6-7-3z" fill="#5F6368"></path>
</svg>
</div>
<div>Send a copy</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Open with: open box -->
<svg viewBox="0 0 24 24">
<rect x="5" y="9" width="14" height="10" rx="2" fill="#9AA0A6"></rect>
<path d="M8 9l4-4 4 4" stroke="#5F6368" stroke-width="2" fill="none"></path>
</svg>
</div>
<div>Open with</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Download -->
<svg viewBox="0 0 24 24">
<path d="M12 5v8" stroke="#5F6368" stroke-width="2"></path>
<path d="M8 10l4 4 4-4" stroke="#5F6368" stroke-width="2" fill="none"></path>
<rect x="6" y="18" width="12" height="2" fill="#5F6368"></rect>
</svg>
</div>
<div>Download</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Rename: pencil -->
<svg viewBox="0 0 24 24">
<path d="M4 16l8-8 4 4-8 8H4z" fill="#5F6368"></path>
<rect x="15" y="5" width="4" height="4" transform="rotate(45 17 7)" fill="#9AA0A6"></rect>
</svg>
</div>
<div>Rename</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Add shortcut -->
<svg viewBox="0 0 24 24">
<path d="M4 8h12v10H4z" fill="#9AA0A6"></path>
<path d="M18 10v6" stroke="#5F6368" stroke-width="2"></path>
<path d="M15 13h6" stroke="#5F6368" stroke-width="2"></path>
</svg>
</div>
<div>Add shortcut to Drive</div>
</div>
<div class="menu-item">
<div class="mi-ico">
<!-- Move: folder with arrow -->
<svg viewBox="0 0 24 24">
<path d="M3 7h7l2 2h9v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z" fill="#5F6368"></path>
<path d="M10 12h8l-3 3" stroke="#FFFFFF" stroke-width="2" fill="none"></path>
</svg>
</div>
<div>Move</div>
</div>
</div>
</div>
</div>
</body>
</html>