AndroidCode / code /10155 /10155_10.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
8.22 kB
<html>
<head>
<meta charset="utf-8">
<title>Mobile UI - Time Picker</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:#121215; color:#e9e7ef;
box-sizing:border-box;
}
/* Status bar */
.status-bar {
position:absolute; top:0; left:0; right:0;
height:100px; padding:0 36px;
display:flex; align-items:center; justify-content:space-between;
color:#fff; font-size:38px;
}
.status-left { display:flex; align-items:center; gap:28px; }
.status-right { display:flex; align-items:center; gap:26px; font-size:34px; }
.dot { width:12px; height:12px; background:#fff; border-radius:50%; display:inline-block; opacity:.8; }
/* App header */
.app-header {
position:absolute; top:120px; left:0; right:0;
padding:0 36px;
height:120px; display:flex; align-items:center; justify-content:space-between;
}
.close-btn {
width:80px; height:80px; border-radius:40px;
display:flex; align-items:center; justify-content:center;
color:#bcbcc8; cursor:pointer;
}
.close-btn svg { width:44px; height:44px; }
.save-btn {
background:#7E57C2; color:#fff;
padding:22px 36px; border-radius:40px; font-weight:600; font-size:40px;
}
/* Title field */
.title-field {
position:absolute; top:240px; left:36px; right:36px;
font-size:88px; color:#d7d3e8; border-bottom:2px solid #2a2930;
padding-bottom:16px;
}
/* Underlying form (dimmed content to show behind modal) */
.form-list {
position:absolute; top:420px; left:36px; right:36px;
color:#b7b4c6; opacity:.65;
}
.form-item {
display:flex; align-items:center; gap:28px;
padding:32px 0; border-bottom:1px solid #24232a; font-size:46px;
}
.form-item svg { width:46px; height:46px; fill:#b7b4c6; }
/* Modal overlay */
.overlay {
position:absolute; inset:0;
background:rgba(0,0,0,.35);
}
.modal {
position:absolute; left:90px; top:520px;
width:900px; height:1160px;
background:#2c2630; border-radius:48px; box-shadow:0 20px 60px rgba(0,0,0,.6);
padding:48px;
}
.modal h3 {
margin:0 0 32px 0; font-size:46px; color:#cfcbe0; letter-spacing:.5px;
}
.time-row {
display:flex; align-items:center; gap:36px; margin-bottom:36px;
}
.time-box {
width:260px; height:180px; border-radius:28px;
background:#3a3340; display:flex; align-items:center; justify-content:center;
font-size:120px; font-weight:700; color:#f0edf9;
}
.time-box.minutes { color:#c6a6ff; background:#4a3e54; }
.ampm {
display:flex; flex-direction:column; gap:18px;
}
.ampm .btn {
width:150px; height:86px; border-radius:20px;
display:flex; align-items:center; justify-content:center;
font-size:42px; font-weight:700;
background:#4b3c3c; color:#f5e9e9;
border:2px solid #6a5a5a;
}
.ampm .btn.pm { background:#1f1c22; color:#dcd8e8; border-color:#3b3441; }
/* Clock face */
.clock {
position:relative; margin:20px auto 40px auto; width:740px; height:740px;
background:#2b2432; border-radius:50%; border:2px solid #3c3441;
}
.mark {
position:absolute; color:#cfcbe0; font-size:40px;
}
/* Positions for minute labels */
.m05 { left:540px; top:60px; }
.m10 { left:664px; top:166px; }
.m15 { left:720px; top:326px; }
.m20 { left:664px; top:504px; }
.m25 { left:555px; top:620px; }
.m30 { left:356px; top:690px; }
.m35 { left:160px; top:620px; }
.m40 { left:52px; top:504px; }
.m45 { left:0px; top:326px; }
.m50 { left:52px; top:166px; }
.m55 { left:168px; top:60px; }
.center-dot {
position:absolute; left:50%; top:50%; transform:translate(-50%, -50%);
width:140px; height:140px; border-radius:50%;
background:#c8aef9; color:#2c2630; font-weight:700; display:flex; align-items:center; justify-content:center; font-size:46px;
box-shadow:0 0 0 12px #c8aef9;
}
.hand {
position:absolute; left:50%; top:50%; transform:translate(-50%, -100%);
width:12px; height:300px; background:#c8aef9; border-radius:8px;
}
.hand-tip {
position:absolute; left:50%; top:150px; transform:translate(-50%, 0);
width:28px; height:28px; background:#c8aef9; border-radius:50%;
}
.modal-footer {
position:absolute; bottom:40px; left:48px; right:48px;
display:flex; align-items:center; justify-content:space-between;
}
.kbd {
display:flex; align-items:center; gap:18px; color:#cfcbe0; font-size:40px;
}
.kbd-icon {
width:68px; height:52px; border-radius:10px; border:2px solid #cfcbe0;
}
.footer-actions { display:flex; align-items:center; gap:36px; }
.cancel, .ok {
font-size:46px; color:#cfcbe0;
}
.ok { color:#c6a6ff; font-weight:700; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>8:41</div>
<div class="dot"></div>
<div class="dot" style="opacity:.6;"></div>
<div class="dot" style="opacity:.45;"></div>
<div class="dot" style="opacity:.3;"></div>
</div>
<div class="status-right">
<span></span>
<span>Wi‑Fi</span>
<span>🔋</span>
</div>
</div>
<!-- Header -->
<div class="app-header">
<div class="close-btn" title="Close">
<svg viewBox="0 0 24 24">
<path d="M6 6 L18 18 M6 18 L18 6" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="save-btn">Save</div>
</div>
<!-- Title field -->
<div class="title-field">Transport</div>
<!-- Underlying list (dimmed) -->
<div class="form-list">
<div class="form-item">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/></svg>
<div>Events • dbwscratch.test.id4@gmail.com</div>
</div>
<div class="form-item">
<svg viewBox="0 0 24 24"><path d="M12 7 v10 M7 12 h10" stroke="currentColor" stroke-width="2" fill="none"/></svg>
<div>2:00 AM</div>
</div>
<div class="form-item">
<svg viewBox="0 0 24 24"><path d="M4 12 a8 8 0 1 0 16 0 a8 8 0 1 0 -16 0 M12 6 v6 l4 2" stroke="currentColor" stroke-width="2" fill="none"/></svg>
<div>Repeat • Does not repeat</div>
</div>
<div class="form-item">
<svg viewBox="0 0 24 24"><path d="M12 2 L2 22 H22 Z" fill="currentColor"/></svg>
<div>Add guests</div>
</div>
<div class="form-item">
<svg viewBox="0 0 24 24"><path d="M12 2 C7 2 3 6 3 10 c0 8 9 12 9 12 s9-4 9-12 c0-4-4-8-9-8z" fill="currentColor"/></svg>
<div>Add location</div>
</div>
<div class="form-item">
<svg viewBox="0 0 24 24"><path d="M6 18 h12 M6 6 h12" stroke="currentColor" stroke-width="2" fill="none"/></svg>
<div>30 minutes before • Add notification</div>
</div>
<div class="form-item">
<svg viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" fill="currentColor"/></svg>
<div>Default color</div>
</div>
</div>
<!-- Modal -->
<div class="overlay"></div>
<div class="modal">
<h3>Select time</h3>
<div class="time-row">
<div class="time-box">02</div>
<div class="time-box minutes">00</div>
<div class="ampm">
<div class="btn">AM</div>
<div class="btn pm">PM</div>
</div>
</div>
<div class="clock">
<div class="center-dot">00</div>
<div class="hand"></div>
<div class="hand-tip"></div>
<div class="mark m05">05</div>
<div class="mark m10">10</div>
<div class="mark m15">15</div>
<div class="mark m20">20</div>
<div class="mark m25">25</div>
<div class="mark m30">30</div>
<div class="mark m35">35</div>
<div class="mark m40">40</div>
<div class="mark m45">45</div>
<div class="mark m50">50</div>
<div class="mark m55">55</div>
</div>
<div class="modal-footer">
<div class="kbd">
<div class="kbd-icon"></div>
<span>Keyboard</span>
</div>
<div class="footer-actions">
<div class="cancel">Cancel</div>
<div class="ok">OK</div>
</div>
</div>
</div>
</div>
</body>
</html>