| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>UI Rendering</title> |
| <style> |
| body { |
| margin: 0; |
| padding: 0; |
| background: transparent; |
| font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; |
| } |
| #render-target { |
| width: 1080px; |
| height: 2400px; |
| position: relative; |
| overflow: hidden; |
| background: #FFFFFF; |
| } |
| |
| |
| .status-bar { |
| position: absolute; |
| top: 0; |
| left: 0; |
| width: 1080px; |
| height: 130px; |
| background: #000; |
| color: #fff; |
| display: flex; |
| align-items: center; |
| padding: 0 40px; |
| box-sizing: border-box; |
| font-weight: 600; |
| } |
| .status-left { flex: 0 0 auto; font-size: 42px; } |
| .status-right { |
| margin-left: auto; |
| display: flex; |
| gap: 28px; |
| align-items: center; |
| } |
| .status-icon { |
| width: 40px; height: 40px; |
| border-radius: 6px; |
| background: #fff; |
| opacity: 0.9; |
| } |
| .status-battery { |
| width: 54px; height: 34px; border: 4px solid #fff; border-radius: 6px; position: relative; |
| } |
| .status-battery::after { |
| content: ""; |
| position: absolute; right: -10px; top: 8px; |
| width: 8px; height: 18px; background: #fff; border-radius: 2px; |
| } |
| .status-battery::before { |
| content: ""; |
| position: absolute; left: 6px; top: 6px; right: 6px; bottom: 6px; |
| background: #fff; |
| } |
| |
| |
| .page { |
| position: absolute; |
| top: 130px; |
| left: 0; |
| right: 0; |
| bottom: 0; |
| padding: 80px 80px 160px 80px; |
| box-sizing: border-box; |
| } |
| .title-line { |
| font-size: 160px; |
| line-height: 1.05; |
| font-weight: 800; |
| color: #000; |
| margin: 30px 0; |
| } |
| |
| |
| .author { |
| font-size: 90px; |
| font-weight: 800; |
| color: #8B1D22; |
| text-align: center; |
| margin-top: 650px; |
| } |
| .imprint { |
| width: 880px; |
| height: 190px; |
| margin: 40px auto 24px auto; |
| background: #E0E0E0; |
| border: 1px solid #BDBDBD; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #757575; |
| font-size: 46px; |
| border-radius: 12px; |
| } |
| .cities { |
| text-align: center; |
| font-size: 44px; |
| color: #222; |
| letter-spacing: 0.5px; |
| } |
| |
| |
| .progress { |
| position: absolute; |
| left: 220px; |
| bottom: 120px; |
| width: 640px; |
| height: 16px; |
| background: #9E9E9E; |
| border-radius: 10px; |
| } |
| |
| |
| .settings-card { |
| position: absolute; |
| left: 90px; |
| top: 320px; |
| width: 900px; |
| background: #fff; |
| border-radius: 28px; |
| box-shadow: 0 12px 28px rgba(0,0,0,0.18); |
| border: 1px solid rgba(0,0,0,0.06); |
| overflow: hidden; |
| } |
| .settings-header { |
| display: flex; |
| gap: 40px; |
| padding: 28px 34px 0 34px; |
| font-size: 40px; |
| font-weight: 600; |
| color: #666; |
| } |
| .tab-active { |
| color: #1E73E8; |
| position: relative; |
| padding-bottom: 22px; |
| } |
| .tab-active::after { |
| content: ""; |
| position: absolute; |
| left: 0; right: 0; bottom: 0; |
| height: 6px; |
| background: #1E73E8; |
| border-radius: 6px 6px 0 0; |
| } |
| .divider { |
| height: 1px; background: #e6e6e6; margin: 0 0 20px 0; |
| } |
| .font-row { |
| display: flex; |
| gap: 30px; |
| padding: 26px 34px 10px 34px; |
| } |
| .option { |
| width: 200px; |
| text-align: center; |
| } |
| .circle { |
| width: 160px; height: 160px; |
| border-radius: 80px; |
| border: 2px solid #D0D0D0; |
| display: flex; align-items: center; justify-content: center; |
| margin: 0 auto 18px auto; |
| font-size: 88px; font-weight: 700; color: #666; |
| background: #fff; |
| } |
| .circle.active { |
| background: #2F7DEB; |
| color: #fff; |
| border-color: #2F7DEB; |
| } |
| .option-label { |
| font-size: 34px; |
| color: #666; |
| } |
| |
| .controls { |
| display: grid; |
| grid-template-columns: 1fr 1fr; |
| gap: 30px 20px; |
| padding: 16px 34px 24px 34px; |
| } |
| .control-box { |
| border: 2px solid #D7D7D7; |
| border-radius: 12px; |
| height: 110px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| font-weight: 700; |
| color: #555; |
| font-size: 52px; |
| background: #fff; |
| } |
| .control-stack { |
| display: flex; |
| align-items: center; |
| gap: 20px; |
| } |
| .percent { |
| font-size: 40px; color: #777; |
| } |
| |
| .footer-row { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding: 18px 34px 26px 34px; |
| font-size: 40px; |
| color: #555; |
| } |
| .footer-left { |
| display: flex; |
| align-items: center; |
| gap: 18px; |
| } |
| .menu-icon { |
| width: 40px; height: 40px; |
| } |
| .caret { |
| width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; |
| border-top: 16px solid #777; |
| margin-right: 10px; |
| } |
| |
| |
| .svg-lines { |
| width: 60px; height: 60px; |
| } |
| .svg-lines path { stroke: #666; stroke-width: 8; } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| <div class="status-bar"> |
| <div class="status-left">11:05</div> |
| <div class="status-right"> |
| <div class="status-icon"></div> |
| <div class="status-icon"></div> |
| <div class="status-battery"></div> |
| </div> |
| </div> |
|
|
| <div class="page"> |
| <div class="title-line">Real</div> |
| <div class="title-line">Data</div> |
| <div class="title-line">Analytics</div> |
|
|
| <div class="settings-card"> |
| <div class="settings-header"> |
| <div class="tab-active">Text</div> |
| <div>Lighting</div> |
| </div> |
| <div class="divider"></div> |
|
|
| <div class="font-row"> |
| <div class="option"> |
| <div class="circle active">A</div> |
| <div class="option-label">Original</div> |
| </div> |
| <div class="option"> |
| <div class="circle">A</div> |
| <div class="option-label">Sans</div> |
| </div> |
| <div class="option"> |
| <div class="circle">A</div> |
| <div class="option-label">Literata</div> |
| </div> |
| <div class="option"> |
| <div class="circle">A</div> |
| <div class="option-label">Merri…</div> |
| </div> |
| </div> |
|
|
| <div class="controls"> |
| <div class="control-stack"> |
| <div class="control-box">T</div> |
| <div class="percent">88%</div> |
| </div> |
| <div class="control-stack"> |
| <div class="control-box">T</div> |
| <div class="percent">100%</div> |
| </div> |
| <div class="control-stack"> |
| <div class="control-box"> |
| <svg class="svg-lines" viewBox="0 0 100 100"> |
| <path d="M10 20 H90"></path> |
| <path d="M20 45 H80"></path> |
| <path d="M10 70 H90"></path> |
| </svg> |
| </div> |
| </div> |
| <div class="control-stack"> |
| <div class="control-box"> |
| <svg class="svg-lines" viewBox="0 0 100 100"> |
| <path d="M20 20 H80"></path> |
| <path d="M10 45 H90"></path> |
| <path d="M20 70 H80"></path> |
| </svg> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="footer-row"> |
| <div class="footer-left"> |
| <svg class="menu-icon" viewBox="0 0 100 100"> |
| <rect x="10" y="20" width="80" height="12" fill="#747474"></rect> |
| <rect x="10" y="44" width="60" height="12" fill="#747474"></rect> |
| <rect x="10" y="68" width="80" height="12" fill="#747474"></rect> |
| </svg> |
| <div>Default</div> |
| </div> |
| <div class="caret"></div> |
| </div> |
| </div> |
|
|
| <div class="author">Mike Barlow</div> |
|
|
| <div class="imprint">[IMG: O’Reilly Logo]</div> |
|
|
| <div class="cities">Beijing · Cambridge · Farnham · Köln · Sebastopol · Tokyo</div> |
| </div> |
|
|
| <div class="progress"></div> |
| </div> |
| </body> |
| </html> |