AndroidCode / code /10028 /10028_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>Mobile Reader Overlay UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #0d0d0f;
font-family: Georgia, "Times New Roman", serif;
color: #222;
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #000;
color: #fff;
font-family: Arial, sans-serif;
font-size: 44px;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
}
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 20px;
}
.dot {
width: 22px;
height: 22px;
background: #fff;
border-radius: 50%;
opacity: 0.85;
}
.icon-wifi, .icon-battery {
width: 44px;
height: 44px;
border: 3px solid #fff;
border-radius: 8px;
}
/* Toolbar */
.toolbar {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 140px;
background: #0a0a0a;
color: #eee;
border-bottom: 1px solid #222;
display: flex;
align-items: center;
padding: 0 32px;
box-sizing: border-box;
gap: 28px;
}
.tool-item {
width: 90px;
height: 90px;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
background: #121212;
border: 1px solid #2b2b2b;
}
.tool-label {
color: #bfbfbf;
font-size: 34px;
margin-left: 8px;
}
.spacer { flex: 1; }
/* Book content area */
.page {
position: absolute;
top: 260px;
left: 0;
width: 1080px;
height: 2100px;
overflow: hidden;
background: #111; /* app background under page */
}
.paper {
position: absolute;
left: 0;
right: 0;
background: #fafafa;
color: #333;
padding: 64px;
box-sizing: border-box;
line-height: 1.7;
font-size: 40px;
box-shadow: 0 0 0 1px #ddd inset;
}
.paper.top {
top: 0;
height: 980px;
}
.paper.bottom {
bottom: 0;
height: 980px;
}
.chapter-title {
text-align: center;
font-weight: bold;
font-size: 64px;
letter-spacing: 2px;
margin-top: 40px;
margin-bottom: 40px;
}
.divider {
position: absolute;
top: 1040px;
left: 0;
width: 1080px;
height: 6px;
background: #000;
opacity: 0.85;
}
/* Dim overlay */
.overlay {
position: absolute;
top: 320px;
left: 0;
width: 1080px;
height: 1680px;
background: rgba(90, 90, 90, 0.7);
}
/* Floating actions */
.action {
position: absolute;
right: 70px;
display: flex;
align-items: center;
gap: 28px;
color: #fff;
font-family: Arial, sans-serif;
font-size: 52px;
}
.fab {
width: 120px;
height: 120px;
border-radius: 60px;
background: #3B82F6;
box-shadow: 0 8px 20px rgba(0,0,0,0.35);
display: flex;
align-items: center;
justify-content: center;
}
.action.capture { top: 960px; }
.action.comment { top: 1180px; }
.action.signature { top: 1420px; }
.action.edit { top: 1680px; }
.action.pages { top: 1900px; }
/* Close big FAB */
.big-close {
position: absolute;
right: 80px;
bottom: 160px;
width: 140px;
height: 140px;
border-radius: 70px;
background: #3B82F6;
box-shadow: 0 10px 24px rgba(0,0,0,0.35);
display: flex;
align-items: center;
justify-content: center;
}
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 420px;
height: 16px;
background: #ffffff;
border-radius: 10px;
opacity: 0.9;
}
/* Simple icons (SVG) */
svg { display: block; }
.ico { width: 56px; height: 56px; }
</style>
</head>
<body>
<div id="render-target">
<!-- status bar -->
<div class="statusbar">
<div>12:06</div>
<div class="status-right">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="icon-wifi"></div>
<div class="icon-battery"></div>
</div>
</div>
<!-- toolbar -->
<div class="toolbar">
<div class="tool-item">
<!-- back arrow -->
<svg class="ico" viewBox="0 0 24 24">
<path d="M15 19L8 12l7-7" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="tool-item">
<!-- list icon -->
<svg class="ico" viewBox="0 0 24 24">
<path d="M4 6h16M4 12h16M4 18h10" stroke="#bfbfbf" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="tool-item">
<!-- droplet -->
<svg class="ico" viewBox="0 0 24 24">
<path d="M12 3s6 6 6 10a6 6 0 1 1-12 0c0-4 6-10 6-10z" fill="#bfbfbf"/>
</svg>
</div>
<div class="tool-item">
<!-- grid icon -->
<svg class="ico" viewBox="0 0 24 24">
<path d="M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z" fill="#bfbfbf"/>
</svg>
</div>
<div class="spacer"></div>
<div class="tool-item">
<!-- search -->
<svg class="ico" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" stroke="#bfbfbf" stroke-width="2" fill="none"/>
<path d="M21 21l-5-5" stroke="#bfbfbf" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="tool-item">
<!-- more menu -->
<svg class="ico" viewBox="0 0 24 24">
<circle cx="5" cy="12" r="2" fill="#bfbfbf"/>
<circle cx="12" cy="12" r="2" fill="#bfbfbf"/>
<circle cx="19" cy="12" r="2" fill="#bfbfbf"/>
</svg>
</div>
</div>
<!-- content pages -->
<div class="page">
<div class="paper top">
<p>She heard Mr. Ganz inhale sharply. After a second he said, “King to bishop one.”</p>
<p>“That’s mate in three,” Beth said, without turning. “First check is with the knight. The king has the two dark squares, and the bishop checks it. Then the knight mates.”</p>
<p>Mr. Ganz let out his breath slowly. “Jesus Christ!” he said.</p>
</div>
<div class="divider"></div>
<div class="paper bottom">
<div class="chapter-title">TWO</div>
<p>They were watching the Saturday-afternoon movie when Mr. Fergusson came to take her to Mrs. Deardorff’s office. It was a movie about manners called “How to Act at Dinnertime,” so she didn’t mind leaving. But she was frightened. Had they found out that she never went to chapel? That she saved pills?</p>
<p>Her legs trembled and her knees felt funny as Mr. Fergusson, wearing his white pants and white T-shirt, walked her down the long hallway. She squinted her eyes under the bright fluorescent lights.</p>
<p>At the door with the frosted glass panel and the words HELEN DEARDORFF—SUPERINTENDENT he stopped.</p>
</div>
</div>
<!-- Dim overlay -->
<div class="overlay"></div>
<!-- Floating actions with labels -->
<div class="action capture">
<div>Capture</div>
<div class="fab">
<svg viewBox="0 0 24 24" width="60" height="60">
<path d="M8 7l2-2h4l2 2h3a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3z" fill="#fff"/>
<circle cx="12" cy="13" r="4" fill="#3B82F6"/>
<circle cx="12" cy="13" r="3" fill="#fff"/>
</svg>
</div>
</div>
<div class="action comment">
<div>Comment</div>
<div class="fab">
<svg viewBox="0 0 24 24" width="60" height="60">
<path d="M4 4h16v12H13l-5 4v-4H4z" fill="#fff"/>
<text x="8" y="12" font-size="10" font-family="Arial" fill="#3B82F6">T</text>
</svg>
</div>
</div>
<div class="action signature">
<div>Signature</div>
<div class="fab">
<svg viewBox="0 0 24 24" width="60" height="60">
<path d="M3 17l10-10 4 4-10 10H3v-4z" fill="#fff"/>
<path d="M14 7l3-3" stroke="#3B82F6" stroke-width="2"/>
</svg>
</div>
</div>
<div class="action edit">
<div>Edit</div>
<div class="fab">
<svg viewBox="0 0 24 24" width="60" height="60">
<path d="M3 17l2 4 4-2 10-10-4-4L5 15z" fill="#fff"/>
<path d="M14 4l4 4" stroke="#3B82F6" stroke-width="2"/>
</svg>
</div>
</div>
<div class="action pages">
<div>Pages</div>
<div class="fab">
<svg viewBox="0 0 24 24" width="60" height="60">
<path d="M4 3h7v18H4zM13 7h7v14h-7z" fill="#fff"/>
</svg>
</div>
</div>
<!-- Big close button -->
<div class="big-close">
<svg viewBox="0 0 24 24" width="72" height="72">
<path d="M6 6l12 12M18 6L6 18" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>