AndroidCode / code /10071 /10071_12.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>Edit restaurant - Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background:#f3f5f6;
color:#263238;
}
/* Status bar */
.status-bar {
height: 110px;
background:#101417;
color:#fff;
display:flex;
align-items:center;
padding: 0 36px;
font-size:46px;
box-sizing: border-box;
}
.status-icons {
margin-left:auto;
display:flex; align-items:center; gap:26px;
}
.status-dot { width:18px; height:18px; background:#e0e0e0; border-radius:50%; opacity:.9; }
.status-batt {
width:64px; height:32px; border:3px solid #fff; border-radius:6px; position:relative;
}
.status-batt::after { content:""; position:absolute; right:-10px; top:7px; width:6px; height:18px; background:#fff; border-radius:2px; }
.status-batt .lvl { position:absolute; top:0; bottom:0; left:0; width:38px; background:#fff; }
.status-wifi, .status-signal {
width:44px; height:32px;
}
/* Top app bar */
.app-bar {
height:140px;
background:#ffffff;
display:flex; align-items:center;
padding: 0 24px;
box-sizing:border-box;
border-bottom:1px solid #e6ebee;
}
.icon-btn {
width:96px; height:96px; display:flex; align-items:center; justify-content:center; cursor:default;
}
.title {
font-size:56px; font-weight:700; color:#1f2a33;
}
.title-wrap { display:flex; align-items:center; gap:12px; }
.action {
margin-left:auto; font-size:48px; color:#1e88e5; font-weight:600;
}
/* Content area */
.content {
position:absolute; left:0; right:0; top:250px; bottom:0;
overflow:auto;
padding: 28px 28px 140px;
box-sizing:border-box;
}
.card {
background:#fff;
border-radius:14px;
box-shadow: 0 2px 0 rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.06);
padding: 36px 36px 24px;
margin: 16px 12px 28px;
}
/* Form fields */
.field {
padding: 28px 8px 26px;
border-bottom:1px solid #e3e7ea;
}
.field.placeholder-big {
padding-top: 36px; padding-bottom: 32px;
}
.placeholder-big .hint {
font-size:64px; color:#b0bec5; font-weight:500;
}
.label {
font-size:34px; color:#9aa6ae; margin-bottom:8px;
}
.value {
font-size:44px; color:#1f2a33;
}
.row {
display:flex; gap:28px;
}
.row .col { flex: 1; }
.row .col.time { max-width: 320px; flex: 0 0 320px; text-align:left; }
.spacer { height:8px; }
/* Section title inside card */
.section-title {
font-size:42px; font-weight:700; color:#1f2a33; margin: 8px 8px 10px;
}
/* Gesture bar */
.gesture {
position:absolute; left:0; right:0; bottom:0;
height:110px; background:#000;
display:flex; align-items:center; justify-content:center;
}
.gesture .pill {
width: 240px; height: 12px; background:#ffffff; opacity:.9; border-radius:8px;
}
/* Simple SVG helpers */
svg { display:block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>6:02</div>
<div class="status-icons">
<div class="status-dot"></div>
<svg class="status-signal" viewBox="0 0 24 24">
<path fill="#fff" d="M2 20h2v-6H2v6zm4 0h2v-9H6v9zm4 0h2v-12h-2v12zm4 0h2V4h-2v16z"/>
</svg>
<svg class="status-wifi" viewBox="0 0 24 24">
<path fill="none" stroke="#fff" stroke-width="2" d="M2 8c6-6 14-6 20 0M5 11c4-4 10-4 14 0M8 14c3-3 7-3 10 0"/>
<circle cx="12" cy="18" r="2" fill="#fff"/>
</svg>
<div class="status-batt"><div class="lvl"></div></div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="icon-btn" aria-hidden="true">
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M5 5l14 14M19 5L5 19" stroke="#1f2a33" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="title">Edit restaurant</div>
<div class="action">Save</div>
</div>
<!-- Content -->
<div class="content">
<div class="card">
<div class="field placeholder-big">
<div class="hint">Restaurant name*</div>
</div>
<div class="field">
<div class="label">Location</div>
</div>
<div class="row">
<div class="col">
<div class="field">
<div class="label">Start date*</div>
<div class="value">Wed Jan 24, 2024</div>
</div>
</div>
<div class="col time">
<div class="field">
<div class="label">&nbsp;</div>
<div class="value">12:00 PM</div>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="field">
<div class="label">End date</div>
<div class="value">Wed Jan 24, 2024</div>
</div>
</div>
<div class="col time">
<div class="field">
<div class="label">&nbsp;</div>
<div class="value">2:00 PM</div>
</div>
</div>
</div>
<div class="field">
<div class="label">Timezone</div>
</div>
<div class="field">
<div class="label">Confirmation #</div>
</div>
<div class="field">
<div class="label">Phone</div>
</div>
<div class="field">
<div class="label">Website</div>
</div>
<div class="field">
<div class="label">Notes</div>
</div>
</div>
<div class="card">
<div class="section-title">Booking details</div>
<div class="field">
<div class="label">Booking website</div>
</div>
<div class="field">
<div class="label">Booking URL</div>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"><div class="pill"></div></div>
</div>
</body>
</html>