AndroidCode / code /10071 /10071_11.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Add event UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #111;
}
/* Status bar (dark) */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 110px;
background: #0f1417;
color: #fff;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-size: 38px;
letter-spacing: 1px;
}
.status-left { flex: 1; }
.status-center { width: 200px; text-align: center; opacity: 0.6; }
.status-right {
display: flex;
align-items: center;
gap: 26px;
}
.status-icon { display: inline-flex; align-items: center; justify-content: center; }
/* Top app bar */
.app-bar {
position: absolute;
top: 110px;
left: 0;
width: 1080px;
height: 168px;
background: #ffffff;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
display: flex;
align-items: center;
padding: 0 32px;
box-sizing: border-box;
}
.close-btn {
width: 88px;
height: 88px;
display: flex;
align-items: center;
justify-content: center;
cursor: default;
}
.title {
margin-left: 8px;
font-size: 58px;
font-weight: 700;
color: #111;
}
/* List */
.list {
position: absolute;
top: 278px; /* status + app bar */
left: 0;
right: 0;
}
.list-item {
height: 160px;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
border-bottom: 1px solid #e6ebef;
font-size: 46px;
color: #1c1f22;
}
/* Bottom gesture area */
.gesture-area {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 120px;
background: #000000;
display: flex;
align-items: center;
justify-content: center;
}
.gesture-pill {
width: 280px;
height: 12px;
background: #d9d9d9;
border-radius: 12px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Dark status bar -->
<div class="status-bar">
<div class="status-left">6:01</div>
<div class="status-center"></div>
<div class="status-right">
<!-- Simple icons to mimic system status -->
<span class="status-icon" title="Cellular">
<svg width="36" height="36" viewBox="0 0 24 24" fill="#ffffff" opacity="0.9" xmlns="http://www.w3.org/2000/svg">
<rect x="3" y="14" width="3" height="7" rx="1"></rect>
<rect x="8" y="12" width="3" height="9" rx="1"></rect>
<rect x="13" y="9" width="3" height="12" rx="1"></rect>
<rect x="18" y="6" width="3" height="15" rx="1"></rect>
</svg>
</span>
<span class="status-icon" title="Wi‑Fi">
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" opacity="0.9" xmlns="http://www.w3.org/2000/svg">
<path d="M2 8c5.5-5 14.5-5 20 0"></path>
<path d="M5 11c4-3.5 10-3.5 14 0"></path>
<path d="M8 14c2.5-2 5.5-2 8 0"></path>
<circle cx="12" cy="18" r="2" fill="#ffffff" stroke="none"></circle>
</svg>
</span>
<span class="status-icon" title="Battery">
<svg width="52" height="36" viewBox="0 0 28 16" xmlns="http://www.w3.org/2000/svg">
<rect x="1" y="3" width="22" height="10" rx="2" fill="none" stroke="#ffffff" stroke-width="2"/>
<rect x="3" y="5" width="14" height="6" rx="1" fill="#ffffff"/>
<rect x="23" y="6" width="3" height="4" rx="1" fill="#ffffff"/>
</svg>
</span>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="close-btn" aria-label="Close">
<svg width="56" height="56" viewBox="0 0 24 24" stroke="#111" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 4 L20 20"></path>
<path d="M20 4 L4 20"></path>
</svg>
</div>
<div class="title">Add event</div>
</div>
<!-- List of event types -->
<div class="list">
<div class="list-item">Flight</div>
<div class="list-item">Stay</div>
<div class="list-item">Car rental</div>
<div class="list-item">Train</div>
<div class="list-item">Restaurant</div>
<div class="list-item">Custom event</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture-area">
<div class="gesture-pill"></div>
</div>
</div>
</body>
</html>