GD-ML/AndroidCode
13.4k
1<html>2<head>3<meta charset="UTF-8">4<title>Reading Now UI</title>5<style>6 body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, sans-serif; }7 #render-target {8 width: 1080px;9 height: 2400px;10 position: relative;11 overflow: hidden;12 background: #0e2228;13 color: #fff;14 }15 16 /* Status bar */17 .status-bar {18 position: absolute;19 top: 0;20 left: 0;21 width: 1080px;22 height: 96px;23 background: #000000;24 display: flex;25 align-items: center;26 padding: 0 28px;27 box-sizing: border-box;28 }29 .status-time {30 font-weight: 600;31 font-size: 40px;32 letter-spacing: 1px;33 }34 .status-icons {35 margin-left: auto;36 display: flex;37 align-items: center;38 gap: 26px;39 }40 .status-dot {41 width: 18px; height: 18px; border-radius: 50%;42 background: #d8d8d8;43 opacity: 0.9;44 }45 46 /* App bar */47 .app-bar {48 position: absolute;49 top: 96px;50 left: 0;51 width: 1080px;52 height: 168px;53 background: #2b6f79;54 display: flex;55 align-items: center;56 padding: 0 30px;57 box-sizing: border-box;58 box-shadow: 0 2px 0 rgba(0,0,0,0.35) inset;59 }60 .app-title {61 font-size: 66px;62 font-weight: 700;63 margin-left: 26px;64 }65 .app-actions {66 margin-left: auto;67 display: flex;68 align-items: center;69 gap: 34px;70 }71 .icon {72 width: 64px; height: 64px;73 }74 75 /* List area background hint */76 .content {77 position: absolute;78 top: 264px; /* status + app bar */79 left: 0;80 right: 0;81 bottom: 0;82 padding: 26px;83 box-sizing: border-box;84 }85 86 /* Card */87 .book-card {88 position: relative;89 width: 1040px;90 height: 410px;91 background: #1e3a43;92 margin: 14px auto;93 border-radius: 14px;94 box-shadow: 0 4px 10px rgba(0,0,0,0.45), inset 0 0 0 2px rgba(0,0,0,0.2);95 display: flex;96 padding: 24px;97 box-sizing: border-box;98 }99 .book-cover {100 width: 260px;101 height: 360px;102 background: #E0E0E0;103 border: 1px solid #BDBDBD;104 border-radius: 6px;105 color: #555;106 display: flex;107 justify-content: center;108 align-items: center;109 text-align: center;110 font-size: 28px;111 line-height: 1.2;112 padding: 10px;113 box-sizing: border-box;114 }115 .book-info {116 margin-left: 30px;117 flex: 1;118 position: relative;119 }120 .book-title {121 font-size: 58px;122 font-weight: 700;123 margin-top: 6px;124 color: #e8f4f6;125 }126 .book-author {127 font-size: 36px;128 margin-top: 8px;129 color: #a7c4cc;130 }131 .book-meta {132 font-size: 34px;133 margin-top: 6px;134 color: #8fb1ba;135 }136 .progress {137 position: absolute;138 left: 0;139 right: 90px;140 bottom: 74px;141 height: 8px;142 background: rgba(255,255,255,0.18);143 border-radius: 4px;144 }145 .progress .fill {146 width: 22%;147 height: 100%;148 background: #c8e6e8;149 border-radius: 4px;150 }151 .favorite {152 position: absolute;153 bottom: 18px;154 left: 0;155 display: flex;156 align-items: center;157 gap: 10px;158 color: #c9dfe4;159 }160 .fav-icon {161 width: 56px; height: 56px;162 }163 .card-menu {164 position: absolute;165 top: 16px;166 right: 16px;167 width: 54px; height: 54px;168 display: flex; align-items: center; justify-content: center;169 }170 171 /* Popup menu */172 .popup {173 position: absolute;174 top: 520px;175 left: 596px;176 width: 460px;177 background: #2c2c2c;178 border-radius: 12px;179 box-shadow: 0 18px 44px rgba(0,0,0,0.55);180 padding: 10px 0;181 }182 .popup-item {183 padding: 34px 34px;184 font-size: 48px;185 color: #ffffff;186 border-bottom: 1px solid rgba(255,255,255,0.08);187 }188 .popup-item:last-child { border-bottom: none; }189 190 /* Dots on far right of progress (visual hint) */191 .end-dots {192 position: absolute;193 right: 24px;194 bottom: 66px;195 display: flex;196 gap: 10px;197 }198 .end-dots span {199 width: 10px; height: 10px; border-radius: 50%;200 background: rgba(255,255,255,0.6);201 }202</style>203</head>204<body>205<div id="render-target">206 207 <!-- Status bar -->208 <div class="status-bar">209 <div class="status-time">7:41</div>210 <div class="status-icons">211 <div class="status-dot"></div>212 <div class="status-dot"></div>213 <div class="status-dot"></div>214 </div>215 </div>216 217 <!-- App bar -->218 <div class="app-bar">219 <!-- hamburger -->220 <svg class="icon" viewBox="0 0 24 24">221 <path fill="#ffffff" d="M3 6h18v2H3zM3 11h18v2H3zM3 16h18v2H3z"/>222 </svg>223 224 <div class="app-title">Reading Now</div>225 226 <div class="app-actions">227 <!-- search -->228 <svg class="icon" viewBox="0 0 24 24">229 <path fill="#ffffff" d="M15.5 14h-.79l-.28-.27A6.5 6.5 0 1014 15.5l.27.28h.79l5 5 1.5-1.5-5-5zm-9 0A4.5 4.5 0 1111 9.5 4.5 4.5 0 016.5 14z"/>230 </svg>231 <!-- overflow -->232 <svg class="icon" viewBox="0 0 24 24">233 <circle cx="12" cy="5" r="2" fill="#ffffff"/>234 <circle cx="12" cy="12" r="2" fill="#ffffff"/>235 <circle cx="12" cy="19" r="2" fill="#ffffff"/>236 </svg>237 </div>238 </div>239 240 <!-- Content / Book card -->241 <div class="content">242 <div class="book-card">243 <div class="book-cover">[IMG: Alice's Adventures in Wonderland cover]</div>244 245 <div class="book-info">246 <div class="book-title">Just mercy</div>247 <div class="book-author">Lewis Carroll</div>248 <div class="book-meta">EPUB, 26 kB</div>249 250 <div class="progress">251 <div class="fill"></div>252 </div>253 254 <div class="favorite">255 <svg class="fav-icon" viewBox="0 0 24 24">256 <path fill="none" stroke="#c9dfe4" stroke-width="1.6" d="M12 17.3l-6.16 3.6 1.18-6.9L2 8.9l6.92-1L12 1.5l3.08 6.4 6.92 1-5.02 5.1 1.18 6.9z"/>257 </svg>258 </div>259 260 <div class="card-menu">261 <svg width="44" height="44" viewBox="0 0 24 24">262 <circle cx="12" cy="5" r="2" fill="#cfe7ea"/>263 <circle cx="12" cy="12" r="2" fill="#cfe7ea"/>264 <circle cx="12" cy="19" r="2" fill="#cfe7ea"/>265 </svg>266 </div>267 268 <div class="end-dots"><span></span><span></span></div>269 </div>270 </div>271 </div>272 273 <!-- Popup menu -->274 <div class="popup">275 <div class="popup-item">Share file</div>276 <div class="popup-item">Move to Trash</div>277 <div class="popup-item">Edit</div>278 </div>279 280</div>281</body>282</html>