AndroidCode / code /10118 /10118_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
9.64 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Rendered UI</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: #121212;
border-radius: 24px;
box-shadow: 0 20px 60px rgba(0,0,0,0.45);
color: #fff;
}
/* Header */
.app-header {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 220px;
background: #1f4c81;
}
.status {
height: 88px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
font-size: 34px;
color: #fff;
opacity: 0.95;
}
.status .right-icons {
display: flex;
gap: 24px;
align-items: center;
}
.toolbar {
height: 132px;
display: flex;
align-items: center;
padding: 0 28px;
color: #fff;
}
.toolbar .title {
font-size: 56px;
font-weight: 600;
margin-left: 20px;
letter-spacing: 0.5px;
}
.toolbar .actions {
margin-left: auto;
display: flex;
gap: 36px;
align-items: center;
}
.icon-btn {
width: 64px;
height: 64px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.icon-btn svg { width: 64px; height: 64px; fill: none; stroke: #ffffff; stroke-width: 4; }
/* Alert banner */
.alert {
position: absolute;
top: 220px;
left: 0;
width: 100%;
height: 120px;
background: #181818;
display: flex;
align-items: center;
padding: 0 32px;
box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}
.alert .alert-icon {
width: 48px;
height: 48px;
margin-right: 18px;
}
.alert .alert-text {
font-size: 36px;
color: #e53935;
flex: 1;
}
.alert .enable-btn {
background: #3a7bd5;
color: #fff;
border: none;
border-radius: 8px;
padding: 18px 32px;
font-size: 34px;
box-shadow: 0 3px 0 rgba(0,0,0,0.25);
}
/* Modal card */
.modal {
position: absolute;
left: 60px;
top: 720px;
width: 960px;
background: #3b3b3b;
border: 1px solid #505050;
border-radius: 8px;
box-shadow: 0 24px 48px rgba(0,0,0,0.6);
}
.modal-header {
height: 120px;
display: flex;
align-items: center;
padding: 0 24px;
gap: 24px;
color: #e0e0e0;
}
.modal-header .select {
color: #58a6ff;
font-size: 40px;
font-weight: 500;
}
.modal-header .tag {
border: 1px solid #616161;
padding: 12px 16px;
border-radius: 4px;
font-size: 38px;
color: #ffffff;
background: #454545;
}
.modal-header .chev {
margin-left: auto;
}
.modal-header .chev svg {
width: 42px; height: 42px; stroke: #cfcfcf; stroke-width: 5;
}
.modal .divider {
height: 4px;
background: #2196f3;
}
.modal .row {
display: flex;
align-items: center;
padding: 26px 24px;
gap: 28px;
color: #e0e0e0;
}
.modal .label {
font-size: 36px;
color: #c7c7c7;
min-width: 220px;
}
.underline-input {
flex: 0 0 320px;
font-size: 48px;
color: #ffffff;
padding-bottom: 8px;
border-bottom: 3px solid #dcdcdc;
text-align: center;
}
.unit {
font-size: 36px;
color: #cfcfcf;
margin-left: auto;
margin-right: 12px;
}
.select-box {
flex: 0 0 520px;
display: flex;
align-items: center;
justify-content: space-between;
background: #444444;
border: 1px solid #666666;
border-radius: 6px;
color: #ffffff;
font-size: 40px;
padding: 18px 22px;
}
.select-box .chev-sm svg {
width: 32px; height: 32px; stroke: #d6d6d6; stroke-width: 4;
}
/* Toggle */
.toggle {
width: 160px;
height: 64px;
background: #7b7b7b;
border-radius: 32px;
position: relative;
margin-left: 8px;
}
.toggle .knob {
width: 64px;
height: 64px;
background: #cfcfcf;
border-radius: 50%;
position: absolute;
left: 6px;
top: 0;
box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
/* Modal footer buttons */
.modal-footer {
display: flex;
gap: 28px;
padding: 24px;
}
.btn {
flex: 1;
height: 120px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
font-size: 46px;
font-weight: 600;
box-shadow: 0 4px 0 rgba(0,0,0,0.35);
}
.btn.cancel { background: #c62828; color: #ffffff; }
.btn.done { background: #2196f3; color: #ffffff; }
/* Bottom content mock */
.sticker-bar {
position: absolute;
left: 60px;
bottom: 160px;
width: 960px;
height: 160px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 36px;
}
.home-indicator {
position: absolute;
bottom: 48px;
left: 50%;
transform: translateX(-50%);
width: 240px;
height: 12px;
border-radius: 6px;
background: #ffffff;
opacity: 0.85;
}
/* Simple utility for small icons/text */
.muted { opacity: 0.85; }
</style>
</head>
<body>
<div id="render-target">
<!-- Header -->
<div class="app-header">
<div class="status">
<div class="left muted">11:29&nbsp;&nbsp;84°</div>
<div class="right-icons">
<!-- Wifi icon -->
<svg viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0M5 11c3-3 11-3 14 0M9 15c2-2 6-2 8 0M12 18l2 2-2 2-2-2 2-2z" stroke="#fff" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<!-- Signal icon -->
<svg viewBox="0 0 24 24">
<path d="M3 21h3v-6H3v6zm5 0h3v-9H8v9zm5 0h3v-12h-3v12zm5 0h3V3h-3v18z" stroke="#fff" fill="none"/>
</svg>
<!-- Battery icon -->
<svg viewBox="0 0 32 18">
<rect x="1" y="3" width="26" height="12" rx="2" stroke="#fff" fill="none" stroke-width="2"/>
<rect x="3" y="5" width="18" height="8" fill="#ffffff"/>
<rect x="27" y="7" width="4" height="4" rx="1" fill="#ffffff"/>
</svg>
</div>
</div>
<div class="toolbar">
<!-- Hamburger -->
<div class="icon-btn" aria-label="Menu">
<svg viewBox="0 0 24 24">
<path d="M3 6h18M3 12h18M3 18h18" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
<div class="title">Tasks</div>
<div class="actions">
<!-- Plus in circle (reminder add) -->
<div class="icon-btn" aria-label="Add">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#fff"/>
<path d="M12 7v10M7 12h10" stroke="#fff" stroke-linecap="round"/>
</svg>
</div>
<!-- Check circle -->
<div class="icon-btn" aria-label="Check">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" stroke="#fff"/>
<path d="M7 12l3 3 7-7" stroke="#fff" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Search -->
<div class="icon-btn" aria-label="Search">
<svg viewBox="0 0 24 24">
<circle cx="11" cy="11" r="7" stroke="#fff"/>
<path d="M20 20l-4-4" stroke="#fff" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Alert banner -->
<div class="alert">
<div class="alert-icon">
<svg viewBox="0 0 48 48">
<circle cx="24" cy="24" r="22" fill="#e53935"/>
<rect x="22" y="12" width="4" height="16" fill="#ffffff"/>
<rect x="22" y="30" width="4" height="6" fill="#ffffff"/>
</svg>
</div>
<div class="alert-text">Please allow app to send you notification</div>
<button class="enable-btn">Enable</button>
</div>
<!-- Modal dialog -->
<div class="modal">
<div class="modal-header">
<div class="select">Select</div>
<div class="tag">REPEAT HOURLY</div>
<div class="chev">
<svg viewBox="0 0 24 24">
<path d="M5 9l7 7 7-7" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="divider"></div>
<div class="row">
<div class="label">EVERY</div>
<div class="underline-input">1</div>
<div class="unit">hour</div>
</div>
<div class="row">
<div class="label">REPEAT ON:</div>
<div class="select-box">
<span>Everyday</span>
<span class="chev-sm">
<svg viewBox="0 0 24 24">
<path d="M5 9l7 7 7-7" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</span>
</div>
</div>
<div class="row">
<div class="label">ENDS:</div>
<div class="select-box">
<span>Never</span>
<span class="chev-sm">
<svg viewBox="0 0 24 24">
<path d="M5 9l7 7 7-7" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</span>
</div>
</div>
<div class="row">
<div class="label">DO NOT DISTURB:</div>
<div class="toggle" aria-label="toggle">
<div class="knob"></div>
</div>
</div>
<div class="modal-footer">
<div class="btn cancel">Cancel</div>
<div class="btn done">Done</div>
</div>
</div>
<!-- Bottom sticker bar placeholder -->
<div class="sticker-bar">[IMG: Sticker bar with emoji icons]</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>