AndroidCode / code /10110 /10110_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
7.65 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Reader Settings Mock</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: Arial, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #f2e6cc; /* sepia page under everything */
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 90px;
background: #0b0b0b;
color: #fff;
font-size: 36px;
display: flex;
align-items: center;
padding: 0 28px;
box-sizing: border-box;
z-index: 5;
}
.status-right {
margin-left: auto;
display: flex;
gap: 18px;
align-items: center;
opacity: .9;
}
/* Simple status icons */
.dot-icon {
width: 18px; height: 18px; background:#fff; border-radius:50%;
}
.battery {
width: 38px; height: 20px; border:2px solid #fff; border-radius:4px; position: relative;
}
.battery::after {
content:"";
position:absolute; right:-6px; top:5px; width:6px; height:10px; background:#fff; border-radius:1px;
}
.battery .level {
position:absolute; left:2px; top:2px; bottom:2px; width:70%; background:#fff;
}
/* App bar */
.app-bar {
position: absolute;
top: 90px;
left: 0;
width: 1080px;
height: 160px;
background: #1b6a75;
color: #e9f5f7;
display: flex;
align-items: center;
padding: 0 26px;
box-sizing: border-box;
z-index: 4;
}
.app-actions {
margin-left: auto;
display: flex;
gap: 40px;
align-items: center;
}
.icon-btn {
width: 56px; height: 56px; display: inline-flex; align-items:center; justify-content:center;
}
.icon-btn svg { fill: #e9f5f7; }
.title-wrap {
margin-left: 18px;
line-height: 1.1;
}
.title {
font-size: 50px;
font-weight: 700;
letter-spacing: .2px;
}
.subtitle {
font-size: 28px; opacity: .85;
}
.subline {
font-size: 26px; opacity: .75;
}
/* Page/content */
.page {
position: absolute;
top: 250px;
left: 0;
right: 0;
bottom: 180px;
background: #efe2c6;
padding: 60px 60px 220px 60px;
box-sizing: border-box;
color: #4b3b29;
font-family: "Georgia", "Times New Roman", serif;
font-size: 42px;
line-height: 1.6;
}
.dropcap { font-weight: bold; font-size: 48px; }
/* Bottom progress bar */
.bottom-bar {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 180px;
background: #1f6c79;
color: #e8f7fb;
box-shadow: 0 -2px 6px rgba(0,0,0,.25);
z-index: 2;
}
.progress-label {
text-align: center;
font-size: 40px;
margin-top: 26px;
margin-bottom: 22px;
}
.progress-track {
position: relative;
height: 8px;
margin: 0 40px;
background: rgba(255,255,255,.35);
border-radius: 4px;
}
.progress-fill {
position: absolute; left: 0; top: 0; bottom: 0; width: 80px; background: #87c5d1; border-radius: 4px;
}
.progress-knob {
position: absolute; top: -16px; left: 40px; width: 32px; height: 32px; border-radius: 50%;
background: #87c5d1; border: 4px solid #e8f7fb;
}
.bottom-icons {
position: absolute;
right: 36px;
bottom: 26px;
display: flex; gap: 40px; align-items: center;
}
.bottom-icons svg { fill: #e8f7fb; }
/* Modal settings panel */
.modal {
position: absolute;
top: 360px;
left: 130px;
width: 820px;
background: #2d2d2f;
border-radius: 16px;
box-shadow: 0 18px 40px rgba(0,0,0,.55);
color: #e9e9ea;
z-index: 6;
padding-bottom: 22px;
}
.modal-header {
background: transparent;
padding: 24px 28px 10px 28px;
font-weight: 800;
font-size: 34px;
color: #8fd6e0;
text-transform: uppercase;
letter-spacing: .5px;
}
.section {
padding: 14px 24px;
}
.label {
font-size: 26px;
color: #a7a7a9;
margin-bottom: 8px;
}
.select-row, .control-row {
background: #3a3a3c;
padding: 24px;
border-radius: 10px;
font-size: 36px;
display: flex; align-items: center; justify-content: space-between;
}
.caret {
width: 0; height: 0;
border-left: 12px solid transparent;
border-right: 12px solid transparent;
border-top: 14px solid #bdbdbd;
}
.range-row {
background: #3a3a3c;
padding: 28px 24px;
border-radius: 10px;
}
.range {
height: 10px; background: #4b4b4d; border-radius: 5px; position: relative;
}
.range .thumb {
position: absolute; top: -10px; left: 340px; width: 26px; height: 26px; border-radius: 50%;
background: #f2b632;
}
.mini {
display: flex; align-items: center; gap: 20px; justify-content: space-between;
}
.chip {
width: 54px; height: 54px; border-radius: 50%;
border: 3px solid #bdbdbd; color: #bdbdbd; display:flex; align-items:center; justify-content:center; font-size: 38px;
}
.value {
font-size: 40px;
color: #ffffff;
}
.toggle {
width: 100px; height: 56px; background: #6d6d71; border-radius: 28px; position: relative;
}
.toggle.on { background: #caa61b; }
.toggle .knob {
position: absolute; top: 6px; left: 8px; width: 44px; height: 44px; background:#2d2d2f; border-radius:50%;
transition: left .2s;
}
.toggle.on .knob { left: 48px; background:#2d2d2f; }
.foot-link {
text-align: center; color:#a6d0d7; font-weight: 700; font-size: 32px; padding: 10px 0 18px 0;
}
/* Small helper for tight spacing between rows */
.between { height: 8px; }
/* Underlying page text slightly visible around modal */
.page p { margin: 22px 0; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
8:14
<div class="status-right">
<div class="dot-icon"></div>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<!-- back icon -->
<div class="icon-btn" aria-label="Back">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M14.5 5l-7 7 7 7 1.5-1.5-5.5-5.5 5.5-5.5z"/>
</svg>
</div>
<div class="title-wrap">
<div class="title">Alice's Adventur...</div>
<div class="subtitle">Lewis Carroll</div>
<div class="subline">Section: I—DOWN THE...</div>
</div>
<div class="app-actions">
<div class="icon-btn" aria-label="Sound">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M3 10v4h4l5 5V5L7 10H3zm12.5 2a4.5 4.5 0 0 0-2.3-3.9l-.7 1.4a3 3 0 0 1 0 5l.7 1.4A4.5 4.5 0 0 0 15.5 12z"/>
</svg>
</div>
<div class="icon-btn" aria-label="Search">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M15.5 14h-.8l-.3-.3A6 6 0 1 0 14 15.5l.3.3v.8L20 22l2-2-6.5-6zM6 10a4 4 0 1 1 8 0 4 4 0 0 1-8 0z"/>
</svg>
</div>
<div class="icon-btn" aria-label="List">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z"/>
</svg>
</div>
<div class="icon-btn" aria-label="Settings">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M19.4 12.9a7.3 7.3 0 0 0 0-1.8l2-1.5-2-3.5-2.3 1a7.2 7.2 0 0 0-1.6-.9l-.3-2.5h-4l-.3 2.5c-.6.2-1.1.5-1.6.9l-2.3-1-2 3.5 2 1.5a7.3 7.3 0 0 0 0 1.8l-2 1.5 2 3.5 2.3-1c.5.4 1 .7 1.6.9l.3 2.5h4l.3-2.5c.6-.2 1.1-.5 1.6-.9l2.3 1 2-3.5-2-1.5zM12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/>
</svg>
</div>
<div class="icon-btn" aria-label="More">
<svg width="44" height="44" viewBox="0 0 24 24">