AndroidCode / code /10016 /10016_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Reader UI - Text Settings Overlay</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: #ffffff;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #000;
color: #fff;
font-size: 40px;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
}
.status-left { flex: 1; display: flex; align-items: center; gap: 24px; }
.status-right { display: flex; align-items: center; gap: 30px; }
/* Simple icons */
.icon {
width: 44px; height: 44px;
display: inline-flex; align-items: center; justify-content: center;
}
.icon svg { width: 44px; height: 44px; fill: #fff; }
/* Page content (book cover text approximation) */
.page {
position: absolute;
top: 120px; /* below status bar */
left: 0;
right: 0;
bottom: 0;
padding: 80px 72px;
box-sizing: border-box;
text-align: left;
}
.title-big {
font-size: 160px;
font-weight: 800;
line-height: 1.05;
letter-spacing: -1px;
margin: 40px 0 10px 0;
}
.author {
font-size: 86px;
font-weight: 800;
color: #7b1c1b;
text-align: center;
margin: 140px 0 60px 0;
}
.oreilly {
width: 520px;
height: 120px;
margin: 0 auto 50px auto;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex; align-items: center; justify-content: center;
font-size: 44px;
}
.cities {
font-size: 44px;
color: #333;
text-align: center;
line-height: 1.6;
}
/* Bottom gesture pill */
.home-pill {
position: absolute;
bottom: 38px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 16px;
background: #9E9E9E;
border-radius: 16px;
opacity: 0.7;
}
/* Floating settings card */
.settings-card {
position: absolute;
left: 70px;
top: 310px;
width: 940px;
background: #ffffff;
border-radius: 28px;
box-shadow: 0 18px 40px rgba(0,0,0,0.25);
z-index: 5;
padding: 26px 0 24px 0;
}
.tabs {
display: flex;
padding: 0 34px;
gap: 40px;
font-size: 44px;
font-weight: 600;
color: #999;
}
.tab-active {
color: #1e88e5;
position: relative;
}
.tab-active::after {
content: "";
position: absolute;
left: 0;
bottom: -18px;
width: 88px;
height: 6px;
background: #1e88e5;
border-radius: 3px;
}
.divider {
margin-top: 28px;
border-top: 1px solid #e5e5e5;
}
.font-row {
display: flex;
gap: 26px;
padding: 28px 24px 10px 24px;
overflow: hidden;
}
.font-option {
width: 216px;
text-align: center;
}
.font-circle {
width: 170px;
height: 170px;
border-radius: 50%;
border: 3px solid #D9D9D9;
background: #fff;
margin: 0 auto 14px auto;
display: flex; align-items: center; justify-content: center;
color: #616161;
font-size: 96px;
font-weight: 700;
}
.font-option.active .font-circle {
background: #2f6ecf;
color: #fff;
border-color: #2f6ecf;
}
.font-label {
font-size: 34px;
color: #4f4f4f;
}
.controls {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 26px 18px;
padding: 22px 28px;
}
.control-box {
display: flex;
align-items: center;
gap: 18px;
}
.btn-rect {
width: 170px; height: 110px;
border-radius: 14px;
border: 2px solid #DADADA;
display: flex; align-items: center; justify-content: center;
color: #555; font-weight: 700; font-size: 64px;
background: #fff;
}
.percent {
font-size: 40px; color: #7b7b7b; min-width: 100px;
}
.align-btn {
width: 170px; height: 110px;
border-radius: 14px;
border: 2px solid #DADADA;
display: flex; align-items: center; justify-content: center;
background: #fff;
}
.align-btn svg { width: 72px; height: 72px; fill: #666; }
.bottom-row {
display: flex;
align-items: center;
gap: 20px;
padding: 10px 28px 8px 28px;
margin-top: 6px;
}
.bottom-row .hamburger svg { fill: #6d6d6d; }
.bottom-row .label {
font-size: 44px;
color: #333;
}
.chevron {
margin-left: auto;
width: 44px; height: 44px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>11:05</div>
<span class="icon">
<svg viewBox="0 0 24 24"><path d="M3 6h18v2H3V6zm2 4h14v2H5v-2zm-1 4h16v2H4v-2z"/></svg>
</span>
<span class="icon">
<svg viewBox="0 0 24 24"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm1 5v6l5 3-.9 1.5L11 14V7h2z"/></svg>
</span>
<span class="icon">
<svg viewBox="0 0 24 24"><path d="M6 2h9a2 2 0 012 2v16l-6-3-6 3V4a2 2 0 012-2z"/></svg>
</span>
</div>
<div class="status-right">
<span class="icon">
<svg viewBox="0 0 24 24"><path d="M12 3a6 6 0 016 6h-2a4 4 0 00-8 0H6a6 6 0 016-6zm0 18c-3.3 0-6-2.7-6-6h2a4 4 0 008 0h2c0 3.3-2.7 6-6 6z"/></svg>
</span>
<span class="icon">
<svg viewBox="0 0 24 24"><path d="M16 4H8a2 2 0 00-2 2v14l6-3 6 3V6a2 2 0 00-2-2z"/></svg>
</span>
</div>
</div>
<!-- Page (book cover approximation) -->
<div class="page">
<div class="title-big">Reactive</div>
<div class="title-big">Architecture</div>
<div class="author">Mike Barlow</div>
<div class="oreilly">[IMG: O鈥橰eilly Logo]</div>
<div class="cities">
Beijing 路 Cambridge 路 Farnham 路 K枚ln 路 Sebastopol<br>
路 Tokyo
</div>
</div>
<!-- Floating settings card -->
<div class="settings-card">
<div class="tabs">
<div class="tab-active">Text</div>
<div>Lighting</div>
</div>
<div class="divider"></div>
<!-- Font choices -->
<div class="font-row">
<div class="font-option active">
<div class="font-circle">A</div>
<div class="font-label">Original</div>
</div>
<div class="font-option">
<div class="font-circle" style="color:#444;">A</div>
<div class="font-label">Sans</div>
</div>
<div class="font-option">
<div class="font-circle" style="color:#555;">A</div>
<div class="font-label">Literata</div>
</div>
<div class="font-option">
<div class="font-circle" style="color:#666;">A</div>
<div class="font-label">Merri...</div>
</div>
</div>
<!-- Controls grid -->
<div class="controls">
<div class="control-box">
<div class="btn-rect">T</div>
<div class="percent">100%</div>
</div>
<div class="control-box">
<div class="btn-rect">T</div>
<div class="percent">100%</div>
</div>
<div class="control-box">
<div class="align-btn">
<svg viewBox="0 0 24 24"><path d="M3 4h18v2H3V4zm2 4h14v2H5V8zm-2 4h18v2H3v-2zm2 4h14v2H5v-2z"/></svg>
</div>
<div class="percent">100%</div>
</div>
<div class="control-box">
<div class="align-btn">
<svg viewBox="0 0 24 24"><path d="M4 4h16v2H4V4zm0 6h12v2H4v-2zm0 6h16v2H4v-2z"/></svg>
</div>
<div class="percent">100%</div>
</div>
</div>
<div class="bottom-row">
<div class="hamburger icon" style="width:56px;height:56px;">
<svg viewBox="0 0 24 24"><path d="M3 6h18v2H3V6zm0 5h14v2H3v-2zm0 5h18v2H3v-2z"/></svg>
</div>
<div class="label">Default</div>
<div class="chevron">
<svg viewBox="0 0 24 24"><path fill="#888" d="M7 10l5 5 5-5H7z"/></svg>
</div>
</div>
</div>
<!-- Bottom gesture pill -->
<div class="home-pill"></div>
</div>
</body>
</html>