AndroidCode / code /10050 /10050_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Calendar UI Mock</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: #0f1714; color: #E8F1ED;
}
/* Top status bar */
.statusbar {
height: 100px;
padding: 0 32px;
display: flex; align-items: center; justify-content: space-between;
color: #cfe0d8; font-weight: 600; letter-spacing: 0.3px;
}
.status-icons { display: flex; align-items: center; gap: 26px; }
.dot { width: 10px; height: 10px; background:#cfe0d8; border-radius:50%; opacity:0.4; }
.icon-battery, .icon-signal {
width: 34px; height: 22px; border: 2px solid #cfe0d8; border-radius: 4px; position: relative;
}
.icon-battery::after { content:''; position:absolute; right:-6px; top:6px; width:6px; height:10px; background:#cfe0d8; border-radius:2px; }
.icon-signal { border: none; }
.icon-signal::before { content:''; position:absolute; right:0; bottom:0; width:22px; height:16px; border-left:3px solid #cfe0d8; border-bottom:3px solid #cfe0d8; transform:skewX(-18deg); }
/* Header */
.header {
height: 120px; padding: 0 32px;
display: flex; align-items: center; justify-content: space-between;
}
.left-head { display:flex; align-items:center; gap:26px; }
.hamburger { width: 54px; height: 54px; border-radius: 6px; display:flex; align-items:center; justify-content:center; }
.hamburger svg { width: 38px; height: 38px; }
.month-title { font-size: 54px; font-weight: 700; color: #d9efe2; }
.month-title small { font-size: 42px; opacity:0.8; margin-left:10px; }
.right-head { display:flex; align-items:center; gap:28px; }
.icon-btn { width: 60px; height: 60px; border-radius: 12px; display:flex; align-items:center; justify-content:center; }
.avatar { width: 70px; height: 70px; border-radius: 50%; background:#b89386; display:flex; align-items:center; justify-content:center; color:#2b1c17; font-weight:700; font-size:40px; }
/* Content area */
.content { padding: 10px 32px 140px 32px; }
.timeline { display:flex; }
.day-block { display:flex; margin-top: 26px; }
.day-left { width: 140px; display:flex; flex-direction:column; align-items:center; }
.dow { font-size: 34px; color:#cfe0d8; opacity:0.85; margin-bottom:10px; }
.date-circle { width: 82px; height: 82px; border-radius:50%; background:#bfe5b7; color:#1f3a2f; display:flex; align-items:center; justify-content:center; font-size:40px; font-weight:700; }
.events { width: 876px; margin-left: 30px; }
/* Pills */
.pill {
width: 876px; border-radius: 28px; padding: 28px 34px;
margin-bottom: 22px; font-size: 44px; font-weight: 700;
}
.pill .time { display:block; font-size:34px; font-weight:500; opacity:0.9; margin-top:8px; }
.pill.blue { background:#6fa3e5; color:#0c1a1b; }
.pill.purple { background:#7f88ff; color:#0c1a1b; }
.pill.dark { background:#1d2623; color:#bdcec8; font-weight:600; display:flex; align-items:center; gap:16px; }
.check-circle {
width:40px; height:40px; border:3px solid #cfe0d8; border-radius:50%; position:relative;
}
.check-circle::after { content:''; position:absolute; left:10px; top:6px; width:16px; height:26px; border-right:4px solid #cfe0d8; border-bottom:4px solid #cfe0d8; transform:rotate(40deg); }
/* Divider line under day */
.thin-line { height: 6px; background:#cfe0d8; border-radius: 3px; width: 280px; margin: 8px 0 12px 174px; opacity:0.35; }
/* Section label */
.section-range { color:#9bb3ab; font-size:32px; letter-spacing:1px; margin:26px 0 18px 170px; }
/* Cards */
.card {
width: 876px; border-radius: 28px; overflow:hidden; background:#16211e;
margin-bottom: 22px; border: 1px solid rgba(255,255,255,0.08);
display:flex; align-items:center;
}
.card .text { padding: 30px 34px; flex:1; }
.card .title { font-size: 48px; font-weight: 800; margin-bottom: 6px; }
.card .time { font-size: 34px; opacity:0.92; }
.card .img {
width: 340px; height: 220px; background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575;
}
/* All-day teal pill */
.pill.teal { background:#58b0a4; color:#0b1a18; }
/* Meeting & pet care same style as blue */
.pill.blue.small, .pill.blue.medium { font-size: 44px; }
.pill.blue.small .time, .pill.blue.medium .time { font-size:34px; }
/* Bottom banner */
.month-banner {
width: 1080px; height: 360px; background:#F1D79D; color:#5f4e2e;
position:absolute; bottom:0; left:0; display:flex; align-items:center;
padding: 20px 32px; box-sizing:border-box;
}
.banner-text { font-size: 64px; font-weight: 800; margin-right: 24px; }
.banner-img {
flex:1; height: 300px; background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575;
}
/* Floating action button */
.fab {
position:absolute; bottom:40px; right:40px;
width: 144px; height: 144px; background:#2d4b3f; border-radius: 36px;
display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,0.5);
}
.fab span { font-size: 96px; color:#e7f4ef; line-height:0; }
/* Simple icons */
.icon svg { width:40px; height:40px; fill:none; stroke:#cfe0d8; stroke-width:4; }
.calendar-icon { width:44px; height:44px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div style="display:flex; align-items:center; gap:18px;">
<div style="font-size:46px;">9:54</div>
<div class="status-icons">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<div class="status-icons">
<div class="icon-signal"></div>
<div class="icon-battery"></div>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="left-head">
<div class="hamburger icon">
<svg viewBox="0 0 24 24">
<path d="M3 6h18M3 12h18M3 18h18"/>
</svg>
</div>
<div class="month-title">September <small></small></div>
</div>
<div class="right-head">
<div class="icon-btn icon">
<svg viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7"></circle>
<path d="M15 15l6 6"></path>
</svg>
</div>
<div class="icon-btn icon calendar-icon">
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="16" rx="2"></rect>
<path d="M3 9h18M7 3v4M17 3v4"></path>
</svg>
</div>
<div class="avatar">C</div>
</div>
</div>
<!-- Content -->
<div class="content">
<!-- Day: Sat 23 -->
<div class="day-block">
<div class="day-left">
<div class="dow">Sat</div>
<div class="date-circle">23</div>
</div>
<div class="events">
<div class="pill blue">Meet</div>
<div class="pill purple"><span style="display:flex; align-items:center; gap:18px;">
<span class="check-circle"></span>
<span>Sport</span>
</span></div>
<div class="pill dark"><span class="check-circle"></span> 1 pending task</div>
</div>
</div>
<div class="thin-line"></div>
<!-- Range label -->
<div class="section-range">Sep 24 – 30</div>
<!-- Day: Mon 25 -->
<div class="day-block">
<div class="day-left">
<div class="dow">Mon</div>
<div class="date-circle" style="background:#bfe5b7;">25</div>
</div>
<div class="events">
<div class="card">
<div class="text">
<div class="title">Basketball match</div>
<span class="time">6:30 – 7:30 PM</span>
</div>
<div class="img">[IMG: Basketball graphic]</div>
</div>
</div>
</div>
<!-- Day: Thu 28 -->
<div class="day-block" style="margin-top:20px;">
<div class="day-left">
<div class="dow">Thu</div>
<div class="date-circle">28</div>
</div>
<div class="events">
<div class="pill teal">Milad un-Nabi/Id-e-Milad</div>
</div>
</div>
<!-- Day: Fri 29 -->
<div class="day-block" style="margin-top:24px;">
<div class="day-left">
<div class="dow">Fri</div>
<div class="date-circle">29</div>
</div>
<div class="events">
<div class="card">
<div class="text">
<div class="title">Dinner out</div>
</div>
<div class="img">[IMG: Dinner illustration]</div>
</div>
<div class="pill blue">
Meeting
<span class="time">5:30 – 6:30 PM</span>
</div>
<div class="pill blue">
Pet care
<span class="time">7 – 8 PM</span>
</div>
</div>
</div>
</div>
<!-- Bottom banner for October -->
<div class="month-banner">
<div class="banner-text">October 2023</div>
<div class="banner-img">[IMG: Autumn harvest banner]</div>
</div>
<!-- Floating action button -->
<div class="fab"><span>+</span></div>
</div>
</body>
</html>