AndroidCode / code /10045 /10045_5.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>Calendar UI</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: #000000; color: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 110px; padding: 0 32px;
display: flex; align-items: center; justify-content: space-between;
font-size: 44px; color: #FFFFFF;
}
.status-right { display: flex; align-items: center; gap: 28px; }
.status-dot { width: 12px; height: 12px; background: #fff; border-radius: 50%; opacity: 0.9; }
/* Header / Tabs */
.header {
position: absolute; top: 110px; left: 0; right: 0;
height: 160px; padding: 0 32px;
display: flex; align-items: center; justify-content: space-between;
}
.header-left, .header-right { display: flex; align-items: center; gap: 36px; }
.tabs { display: flex; gap: 40px; align-items: baseline; }
.tab {
font-size: 64px; font-weight: 700; letter-spacing: 0.5px;
color: #8E8E8E;
}
.tab.active { color: #FFFFFF; position: relative; }
.tab.active::after {
content: ""; position: absolute; left: 0; bottom: -18px;
width: 120px; height: 8px; background: #FF8C00; border-radius: 4px;
}
/* Month header */
.month-row {
position: absolute; top: 290px; left: 32px; right: 32px;
display: flex; align-items: center; gap: 16px;
color: #BDBDBD; font-size: 56px; font-weight: 700;
}
.weekdays {
position: absolute; top: 380px; left: 40px; right: 40px;
display: flex; justify-content: space-between; color: #8E8E8E;
font-size: 34px;
}
/* Calendar grid */
.calendar {
position: absolute; top: 450px; left: 32px; right: 32px;
}
.days {
display: grid; grid-template-columns: repeat(7, 1fr);
gap: 24px;
padding: 18px 8px 0 8px;
}
.day {
width: 120px; height: 120px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
margin: 0 auto; font-size: 44px; color: #9E9E9E;
background: transparent;
}
.day.dark { background: #2a180a; color: #FF8C00; }
.day.white { background: #FFFFFF; color: #FF8C00; }
.day.selected { background: #FF8C00; color: #FFFFFF; }
.empty { visibility: hidden; }
/* Settings card */
.card {
position: absolute; left: 24px; right: 24px; top: 1230px;
background: #1F1F1F; border-radius: 24px; box-shadow: 0 6px 20px rgba(0,0,0,0.4);
padding: 36px 28px;
}
.row {
display: flex; align-items: center; justify-content: space-between;
padding: 32px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
font-size: 44px;
}
.row:last-child { border-bottom: none; }
.row-left { display: flex; align-items: center; gap: 28px; color: #FF8C00; }
.row-title { color: #FF8C00; }
.row-subtle { color: #BDBDBD; }
.row-value { color: #FF8C00; }
.row-actions { display: flex; align-items: center; gap: 28px; }
.chevron { width: 28px; height: 28px; opacity: 0.8; }
/* Bottom gesture bar */
.gesture {
position: absolute; bottom: 36px; left: 50%;
transform: translateX(-50%);
width: 360px; height: 14px; border-radius: 10px; background: #EAEAEA;
opacity: 0.9;
}
/* Icon base */
.icon { width: 52px; height: 52px; }
.icon.small { width: 42px; height: 42px; }
.icon.orange path, .icon.orange circle, .icon.orange rect, .icon.orange polyline { stroke: #FF8C00; fill: none; }
.icon.white path, .icon.white circle, .icon.white rect { stroke: #FFFFFF; fill: none; }
.dot { width: 10px; height: 10px; background: #fff; border-radius: 50%; opacity: 0.85; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div style="display:flex; align-items:center; gap:18px;">
<span>2:55</span>
<div class="dot"></div>
<div class="dot"></div>
</div>
<div class="status-right">
<!-- Cellular icon -->
<svg class="icon white" viewBox="0 0 24 24">
<rect x="2" y="14" width="3" height="8" stroke-width="2"></rect>
<rect x="7" y="10" width="3" height="12" stroke-width="2"></rect>
<rect x="12" y="6" width="3" height="16" stroke-width="2"></rect>
<rect x="17" y="2" width="3" height="20" stroke-width="2"></rect>
</svg>
<!-- WiFi -->
<svg class="icon white" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke-width="2"></path>
<path d="M5 11c4-3 10-3 14 0" stroke-width="2"></path>
<path d="M8 14c2-2 6-2 8 0" stroke-width="2"></path>
<circle cx="12" cy="18" r="1.8" fill="#fff" stroke="none"></circle>
</svg>
<!-- Battery -->
<svg class="icon white" viewBox="0 0 26 24">
<rect x="2" y="6" width="18" height="12" stroke-width="2"></rect>
<rect x="21" y="10" width="3" height="4" stroke-width="2"></rect>
<rect x="4" y="8" width="12" height="8" fill="#ffffff" stroke="none"></rect>
</svg>
</div>
</div>
<!-- Header / Tabs -->
<div class="header">
<div class="header-left">
<!-- Close (X) -->
<svg class="icon white" viewBox="0 0 24 24">
<path d="M4 4 L20 20 M20 4 L4 20" stroke-width="2.5"></path>
</svg>
<div class="tabs">
<div class="tab active">Date</div>
<div class="tab">Duration</div>
</div>
</div>
<div class="header-right">
<!-- Check -->
<svg class="icon white" viewBox="0 0 24 24">
<path d="M5 13 L10 18 L19 7" stroke-width="2.8" fill="none"></path>
</svg>
<!-- More vertical -->
<svg class="icon white" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2" fill="#fff" stroke="none"></circle>
<circle cx="12" cy="12" r="2" fill="#fff" stroke="none"></circle>
<circle cx="12" cy="19" r="2" fill="#fff" stroke="none"></circle>
</svg>
</div>
</div>
<!-- Month header -->
<div class="month-row">
<span>August</span>
<svg class="icon white small" viewBox="0 0 24 24">
<path d="M15 6 L9 12 L15 18" stroke-width="2.4" fill="none"></path>
</svg>
</div>
<!-- Weekday labels -->
<div class="weekdays">
<span>Sun</span><span>Mon</span><span>Tue</span><span>Wed</span><span>Thu</span><span>Fri</span><span>Sat</span>
</div>
<!-- Calendar grid -->
<div class="calendar">
<div class="days">
<div class="day empty">0</div>
<div class="day empty">0</div>
<div class="day">1</div>
<div class="day">2</div>
<div class="day">3</div>
<div class="day">4</div>
<div class="day">5</div>
<div class="day">6</div>
<div class="day">7</div>
<div class="day">8</div>
<div class="day">9</div>
<div class="day">10</div>
<div class="day white">11</div>
<div class="day">12</div>
<div class="day selected">13</div>
<div class="day dark">14</div>
<div class="day dark">15</div>
<div class="day dark">16</div>
<div class="day dark">17</div>
<div class="day dark">18</div>
<div class="day dark">19</div>
<div class="day dark">20</div>
<div class="day dark">21</div>
<div class="day dark">22</div>
<div class="day dark">23</div>
<div class="day dark">24</div>
<div class="day dark">25</div>
<div class="day dark">26</div>
<div class="day dark">27</div>
<div class="day dark">28</div>
<div class="day dark">29</div>
<div class="day dark">30</div>
<div class="day dark">31</div>
<div class="day empty">0</div>
<div class="day empty">0</div>
</div>
</div>
<!-- Settings card -->
<div class="card">
<div class="row">
<div class="row-left">
<!-- Clock icon -->
<svg class="icon orange" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke-width="2.4"></circle>
<path d="M12 7 L12 12 L16 14" stroke-width="2.4"></path>
</svg>
<span class="row-title">Set Time</span>
</div>
<div class="row-actions">
<span class="row-value">06:00PM</span>
<!-- small X -->
<svg class="icon orange small" viewBox="0 0 24 24">
<path d="M6 6 L18 18 M18 6 L6 18" stroke-width="2.2"></path>
</svg>
</div>
</div>
<div class="row">
<div class="row-left">
<!-- Reminder (alarm) -->
<svg class="icon orange" viewBox="0 0 24 24">
<circle cx="12" cy="13" r="7" stroke-width="2.2"></circle>
<path d="M6 6 L8 8 M18 6 L16 8" stroke-width="2.2"></path>
<path d="M12 10 L12 13 L14 14" stroke-width="2.2"></path>
</svg>
<span class="row-title">Set Reminder</span>
</div>
<div class="row-actions">
<span class="row-value">On time</span>
<svg class="icon orange small" viewBox="0 0 24 24">
<path d="M6 6 L18 18 M18 6 L6 18" stroke-width="2.2"></path>
</svg>
</div>
</div>
<div class="row">
<div class="row-left">
<!-- Repeat icon -->
<svg class="icon orange" viewBox="0 0 24 24">
<path d="M4 7c2-2 6-2 8 0l2 2" stroke-width="2.4" fill="none"></path>
<path d="M20 17c-2 2-6 2-8 0l-2-2" stroke-width="2.4" fill="none"></path>
<polyline points="12,7 14,9 12,11" stroke-width="2.4" fill="none"></polyline>
<polyline points="12,13 10,15 12,17" stroke-width="2.4" fill="none"></polyline>
</svg>
<span class="row-title">Set Repeat</span>
</div>
<div class="row-actions">
<span class="row-value">Daily</span>
<svg class="icon orange small" viewBox="0 0 24 24">
<path d="M6 6 L18 18 M18 6 L6 18" stroke-width="2.2"></path>
</svg>
</div>
</div>
<div class="row">
<div class="row-left" style="color:#BDBDBD;">
<!-- Repeat ends icon (grey) -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8" stroke="#9E9E9E" stroke-width="2"></circle>
<path d="M12 8 L12 12 L15 13" stroke="#9E9E9E" stroke-width="2"></path>
</svg>
<span class="row-subtle">Repeat Ends</span>
</div>
<div class="row-actions" style="color:#9E9E9E;">
<span>Endlessly</span>
<svg class="chevron" viewBox="0 0 24 24">
<path d="M9 6 L15 12 L9 18" stroke="#9E9E9E" stroke-width="2.4" fill="none"></path>
</svg>
</div>
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>