AndroidCode / code /10155 /10155_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.3 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Calendar Event - Mock 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: #121215; color: #EEE;
}
/* Top status bar */
.status-bar {
position: absolute; top: 0; left: 0; width: 100%; height: 96px;
display: flex; align-items: center; justify-content: space-between;
padding: 0 40px; box-sizing: border-box; color: #EDEDED; font-size: 36px;
}
.status-icons { display: flex; gap: 22px; align-items: center; }
.dot { width: 12px; height: 12px; background: #EDEDED; border-radius: 50%; opacity: .8; }
.signal { width: 28px; height: 28px; border: 2px solid #EDEDED; border-radius: 5px; opacity: .8; }
.battery {
width: 42px; height: 22px; border: 2px solid #EDEDED; border-radius: 4px; position: relative;
}
.battery::after { content: ""; position: absolute; right: -8px; top: 6px; width: 6px; height: 10px; background: #EDEDED; border-radius: 2px; }
.battery .level { position: absolute; right: 2px; top: 2px; width: 26px; height: 16px; background: #EDEDED; }
/* App bar */
.app-bar {
position: absolute; top: 96px; left: 0; width: 100%; height: 140px;
display: flex; align-items: center; justify-content: space-between;
padding: 0 34px; box-sizing: border-box;
}
.icon-btn { width: 64px; height: 64px; border-radius: 32px; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 42px; height: 42px; fill: #C7C3CF; }
.chevron {
position: absolute; top: 132px; left: 50%; transform: translateX(-50%);
width: 84px; height: 14px; border-radius: 7px; background: #2A2930;
}
.save-btn {
background: #CDA9F4; color: #251B36; font-weight: 600; padding: 18px 34px;
border-radius: 34px; font-size: 36px;
}
/* Title */
.title {
position: absolute; top: 220px; left: 48px; right: 48px;
font-size: 68px; font-weight: 500; color: #EDE7F7;
}
/* Divider and content */
.section { position: absolute; left: 0; width: 100%; }
.list { top: 320px; }
.row {
display: flex; align-items: center; gap: 30px;
padding: 36px 48px; box-sizing: border-box; border-top: 1px solid #1C1C22;
color: #EAEAF2;
}
.row:first-child { border-top: none; }
.r-icon {
width: 60px; height: 60px; border-radius: 50%; background: #2B2B32; display: flex;
align-items: center; justify-content: center;
}
.r-icon svg { width: 40px; height: 40px; fill: #B7B7C5; }
.row .label { font-size: 42px; }
.row .value { margin-left: auto; font-size: 40px; color: #D7D7E4; }
.sub {
padding: 10px 48px 28px 156px; box-sizing: border-box; color: #B9B7C6; font-size: 36px;
display: flex; justify-content: space-between; align-items: center;
}
.sub .right { color: #EEE; }
.calendar-account {
display: flex; align-items: center; gap: 24px;
}
.avatar {
width: 72px; height: 72px; border-radius: 36px; background: #C76B7B; color: #1A1A1A;
display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 40px;
}
.blue-dot { width: 22px; height: 22px; border-radius: 50%; background: #4AB1FF; margin-left: 10px; }
.email { font-size: 32px; color: #A7A5B6; }
/* Toggle switch */
.toggle {
margin-left: auto; width: 172px; height: 78px; border-radius: 40px; background: #2E2E37; position: relative;
box-shadow: inset 0 0 0 2px #3B3B47;
}
.toggle .knob {
position: absolute; right: 8px; top: 8px; width: 62px; height: 62px; border-radius: 50%; background: #9A98A5;
}
/* Pill button */
.pill {
padding: 20px 36px; border-radius: 34px; font-size: 36px;
border: 2px solid #7C6AC3; color: #C6B8FF; background: rgba(124,106,195,0.15);
}
/* Meet row */
.meet-icon {
width: 70px; height: 50px; position: relative;
}
.meet-icon div { position: absolute; }
.meet-icon .g { left: 0; top: 0; width: 30px; height: 50px; background: #1A73E8; }
.meet-icon .y { left: 30px; top: 0; width: 40px; height: 25px; background: #FBBC04; }
.meet-icon .g2 { left: 30px; top: 25px; width: 40px; height: 25px; background: #34A853; }
.close-x {
width: 54px; height: 54px; border: 2px solid #8F8F9A; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-left: auto;
}
.close-x svg { width: 36px; height: 36px; stroke: #A8A6B6; stroke-width: 5; fill: none; }
/* Notification chip */
.notif-chip { font-size: 40px; color: #EDEDED; }
/* Additional subtle separator */
.thin-line { height: 1px; background: #1C1C22; margin: 0 0; }
/* Default color row bottom preview */
.color-dot { width: 22px; height: 22px; border-radius: 50%; background: #4AB1FF; margin-right: 20px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:36</div>
<div class="status-icons">
<div class="dot"></div>
<div class="signal"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="icon-btn">
<svg viewBox="0 0 24 24"><path d="M5 5l14 14M19 5L5 19" stroke="#C7C3CF" stroke-width="2" fill="none"/></svg>
</div>
<div class="save-btn">Save</div>
</div>
<div class="chevron"></div>
<!-- Title -->
<div class="title">Add title</div>
<!-- Content List -->
<div class="section list">
<!-- Calendar account -->
<div class="row" style="padding-top: 24px;">
<div class="avatar">C</div>
<div>
<div class="label" style="display:flex; align-items:center; gap:16px;">
<span>Events</span><span class="blue-dot"></span>
</div>
<div class="email">dbwscratch.test.id4@gmail.com</div>
</div>
</div>
<!-- All-day toggle -->
<div class="row">
<div class="r-icon">
<svg viewBox="0 0 24 24"><path d="M12 7v5l4 2" stroke="#B7B7C5" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
</div>
<div class="label">All-day</div>
<div class="toggle">
<div class="knob"></div>
</div>
</div>
<!-- Start date -->
<div class="row">
<div class="label" style="margin-left: 112px; font-size:40px; color:#B9B7C6;">Mon, Jul 24, 2023</div>
<div class="value">9:00 AM</div>
</div>
<!-- End date -->
<div class="row">
<div class="label" style="margin-left: 112px; font-size:40px; color:#B9B7C6;">Mon, Jul 24, 2023</div>
<div class="value">10:00 AM</div>
</div>
<!-- Time zone -->
<div class="row">
<div class="r-icon">
<svg viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20a10 10 0 1 0 0-20zM12 7v5l4 2" stroke="#B7B7C5" stroke-width="2" fill="none"/></svg>
</div>
<div class="label">India Standard Time</div>
</div>
<!-- Does not repeat -->
<div class="row">
<div class="r-icon">
<svg viewBox="0 0 24 24"><path d="M4 4h8v4H6v8H4V4zm16 16h-8v-4h6V8h2v12z" fill="#B7B7C5"/></svg>
</div>
<div class="label">Does not repeat</div>
</div>
<!-- Add people -->
<div class="row">
<div class="r-icon">
<svg viewBox="0 0 24 24"><path d="M12 12a4 4 0 1 0 0-8a4 4 0 1 0 0 8zm-8 8c0-4 4-6 8-6s8 2 8 6" stroke="#B7B7C5" stroke-width="2" fill="none"/></svg>
</div>
<div class="label">Add people</div>
<div class="pill" style="margin-left:auto;">View schedules</div>
</div>
<!-- Google Meet -->
<div class="row">
<div class="meet-icon">
<div class="g"></div>
<div class="y"></div>
<div class="g2"></div>
</div>
<div style="display:flex; flex-direction:column;">
<div class="label">Google Meet</div>
<div class="email" style="margin-top:8px;">Video conferencing details added</div>
</div>
<div class="close-x">
<svg viewBox="0 0 24 24"><path d="M5 5l14 14M19 5L5 19"/></svg>
</div>
</div>
<!-- Add location -->
<div class="row">
<div class="r-icon">
<svg viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9a2 2 0 1 1 0-4a2 2 0 1 1 0 4z" fill="#B7B7C5"/></svg>
</div>
<div class="label">Add location</div>
</div>
<!-- Notification -->
<div class="row">
<div class="r-icon">
<svg viewBox="0 0 24 24"><path d="M12 2l6 6v6a4 4 0 0 0 2 3H4a4 4 0 0 0 2-3V8l6-6zm-2 18a2 2 0 1 0 4 0" stroke="#B7B7C5" stroke-width="2" fill="none"/></svg>
</div>
<div class="notif-chip">30 minutes before</div>
<div class="close-x" style="margin-left:auto;">
<svg viewBox="0 0 24 24"><path d="M5 5l14 14M19 5L5 19"/></svg>
</div>
</div>
<!-- Add notification -->
<div class="row">
<div style="width:60px; height:60px;"></div>
<div class="label">Add notification</div>
</div>
<!-- Default color preview (partial at bottom) -->
<div class="row">
<div class="color-dot"></div>
<div class="label" style="font-size:40px; color:#B9B7C6;">Default color</div>
</div>
</div>
</div>
</body>
</html>