AndroidCode / code /10155 /10155_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.81 kB
<html>
<head>
<meta charset="UTF-8">
<title>Calendar Event UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Roboto", Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #121017; color: #EDE7F6;
}
/* Top status bar */
.status-bar {
position: absolute; top: 0; left: 0; width: 100%; height: 110px;
padding: 0 32px; box-sizing: border-box;
display: flex; align-items: center; justify-content: space-between;
color: #EDE7F6; font-weight: 600; font-size: 36px;
}
.status-icons { display: flex; align-items: center; gap: 22px; }
.status-icons svg { width: 36px; height: 36px; fill: none; stroke: #D0C8E8; stroke-width: 2.5; opacity: 0.8; }
/* Header */
.header {
position: absolute; top: 110px; left: 0; width: 100%; padding: 30px 36px 24px;
box-sizing: border-box;
border-bottom: 1px solid #2A2633;
}
.header-top {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 24px;
}
.close-btn {
width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
color: #D8D0F0; font-size: 44px; line-height: 1;
}
.save-pill {
background: #C6ACFF; color: #1B1526; padding: 18px 34px; border-radius: 40px;
font-weight: 700; font-size: 32px;
}
.title {
font-size: 64px; font-weight: 700; letter-spacing: 0.5px;
}
/* Content */
.content {
position: absolute; top: 250px; left: 0; right: 0; bottom: 0;
padding: 8px 0 80px; overflow: hidden;
}
.section {
padding: 32px 40px; box-sizing: border-box;
border-bottom: 1px solid #2A2633;
}
.row {
display: flex; align-items: center; justify-content: space-between;
padding: 22px 0;
}
.left {
display: flex; align-items: center; gap: 28px;
}
.icon {
width: 54px; height: 54px; display: flex; align-items: center; justify-content: center;
border-radius: 50%;
background: #1C1824; border: 1px solid #2F2A38;
}
.icon svg { width: 28px; height: 28px; stroke: #BFB6D9; fill: none; stroke-width: 2.2; }
.primary { font-size: 36px; }
.secondary { font-size: 30px; color: #B8B1C9; }
.value { font-size: 34px; color: #EDE7F6; }
/* Account row */
.avatar {
width: 72px; height: 72px; border-radius: 50%; background: #D97E95; color: #2B1720;
display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 38px;
}
.calendar-dot {
width: 16px; height: 16px; background: #4FA8FF; border-radius: 50%; margin-right: 10px;
}
/* Toggle */
.toggle {
width: 164px; height: 76px; border-radius: 40px; background: #2A2535;
position: relative;
}
.toggle::before {
content: ""; width: 64px; height: 64px; border-radius: 50%;
background: #8B819E; position: absolute; top: 6px; left: 10px;
box-shadow: inset 0 0 0 2px #6E6486;
}
/* Button */
.chip {
display: inline-block; padding: 18px 28px; border-radius: 18px;
background: #2A2535; color: #C9BFE4; font-size: 32px; font-weight: 600;
border: 1px solid #3A3446; margin-top: 18px;
}
/* X icon (dismiss) */
.x-small {
width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
color: #D3CBE6; font-size: 40px; background: transparent; border: 1px solid #3A3446;
}
/* Placeholder image style (for complex logos) */
.img-placeholder {
width: 72px; height: 54px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 22px;
border-radius: 8px;
}
/* Footer shadow hint (just to fill bottom) */
.bottom-fade {
position: absolute; bottom: 0; left: 0; width: 100%; height: 120px;
background: linear-gradient(to bottom, rgba(18,16,23,0), rgba(18,16,23,0.85));
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>8:40</div>
<div class="status-icons">
<!-- simple icons resembling status indicators -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"></circle><path d="M12 6v6l4 2"></path></svg>
<svg viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="3"></rect><path d="M7 10h10"></path></svg>
<svg viewBox="0 0 24 24"><circle cx="6" cy="12" r="2"></circle><circle cx="12" cy="12" r="2"></circle><circle cx="18" cy="12" r="2"></circle></svg>
<svg viewBox="0 0 24 24"><path d="M2 12h20"></path><path d="M14 5l7 7-7 7"></path></svg>
<svg viewBox="0 0 24 24"><path d="M6 18h12M4 6h16"></path></svg>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="header-top">
<div class="close-btn"></div>
<div class="save-pill">Save</div>
</div>
<div class="title">Transport</div>
</div>
<!-- Content -->
<div class="content">
<!-- Account / Calendar -->
<div class="section">
<div class="row">
<div class="left">
<div class="avatar">C</div>
<div>
<div class="primary" style="display:flex; align-items:center;">
<span class="calendar-dot"></span>
Events
</div>
<div class="secondary">dbwscratch.test.id4@gmail.com</div>
</div>
</div>
</div>
</div>
<!-- Time section -->
<div class="section">
<div class="row">
<div class="left">
<div class="icon">
<!-- clock icon -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9"></circle>
<path d="M12 7v6l4 2"></path>
</svg>
</div>
<div class="primary">All-day</div>
</div>
<div class="toggle"></div>
</div>
<div class="row">
<div class="left">
<div style="width:54px;"></div>
<div class="secondary">Tue, Jul 25, 2023</div>
</div>
<div class="value">9:00 AM</div>
</div>
<div class="row">
<div class="left">
<div style="width:54px;"></div>
<div class="secondary">Tue, Jul 25, 2023</div>
</div>
<div class="value">10:00 AM</div>
</div>
<div class="row">
<div class="left">
<div class="icon">
<!-- globe icon -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9"></circle>
<path d="M3 12h18M12 3v18M6 6c3 2 9 2 12 0M6 18c3-2 9-2 12 0"></path>
</svg>
</div>
<div class="primary">India Standard Time</div>
</div>
</div>
<div class="row">
<div class="left">
<div class="icon">
<!-- repeat icon -->
<svg viewBox="0 0 24 24">
<path d="M7 7h8l-2-2M17 17H9l2 2"></path>
<path d="M7 7a6 6 0 0 0-4 5M17 17a6 6 0 0 0 4-5" opacity="0.6"></path>
</svg>
</div>
<div class="primary">Does not repeat</div>
</div>
</div>
</div>
<!-- People -->
<div class="section">
<div class="row">
<div class="left">
<div class="icon">
<!-- people icon -->
<svg viewBox="0 0 24 24">
<circle cx="9" cy="9" r="3"></circle>
<circle cx="16" cy="11" r="3"></circle>
<path d="M4 19c0-3 4-5 7-5s7 2 7 5" opacity="0.7"></path>
</svg>
</div>
<div class="primary">Add people</div>
</div>
</div>
<div class="chip">View schedules</div>
</div>
<!-- Google Meet -->
<div class="section">
<div class="row">
<div class="left">
<div class="img-placeholder">Meet</div>
<div>
<div class="primary">Google Meet</div>
<div class="secondary">Video conferencing details added</div>
</div>
</div>
<div class="x-small"></div>
</div>
</div>
<!-- Location -->
<div class="section">
<div class="row">
<div class="left">
<div class="icon">
<!-- location pin -->
<svg viewBox="0 0 24 24">
<path d="M12 21s-6-6-6-10a6 6 0 1 1 12 0c0 4-6 10-6 10z"></path>
<circle cx="12" cy="11" r="2.5"></circle>
</svg>
</div>
<div class="primary">Add location</div>
</div>
</div>
</div>
<!-- Notification -->
<div class="section">
<div class="row">
<div class="left">
<div class="icon">
<!-- bell -->
<svg viewBox="0 0 24 24">
<path d="M6 10a6 6 0 0 1 12 0v5l2 2H4l2-2z"></path>
<path d="M10 19a2 2 0 0 0 4 0" opacity="0.8"></path>
</svg>
</div>
<div class="primary">30 minutes before</div>
</div>
<div class="x-small"></div>
</div>
<div class="row" style="padding-top:0;">
<div class="left">
<div style="width:54px;"></div>
<div class="primary" style="font-weight:600; color:#C9BFE4;">Add notification</div>
</div>
</div>
</div>
<!-- Default color (simple placeholder) -->
<div class="section">
<div class="row">
<div class="left">
<div class="icon">
<svg viewBox="0 0 24 24">
<rect x="4" y="4" width="16" height="16" rx="3"></rect>
</svg>
</div>
<div class="primary">Default color</div>
</div>
<div class="value" style="width:360px; height:18px; background:#D0C9F0; border-radius:10px;"></div>
</div>
</div>
</div>
<div class="bottom-fade"></div>
</div>
</body>
</html>