AndroidCode / code /10002 /10002_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Photo Editor UI Mock</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #000000;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
color: #FFFFFF;
}
/* Top nav */
.top-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 140px;
display: flex;
align-items: center;
padding: 0 32px;
}
.back-btn {
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
cursor: default;
}
.counter-pill {
position: absolute;
top: 158px;
left: 50%;
transform: translateX(-50%);
background: rgba(255,255,255,0.12);
color: #FFFFFF;
padding: 10px 22px;
border-radius: 18px;
font-size: 30px;
letter-spacing: 0.4px;
}
/* Image area */
.image-stage {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 470px;
width: 940px;
height: 1320px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
text-align: center;
font-size: 30px;
line-height: 1.4;
}
/* Bottom controls */
.bottom-panel {
position: absolute;
left: 0;
right: 0;
bottom: 140px;
height: 220px;
padding: 0 32px;
display: flex;
align-items: center;
gap: 24px;
}
.actions {
display: grid;
grid-auto-flow: column;
grid-auto-columns: 1fr;
align-items: center;
width: calc(100% - 340px);
height: 100%;
}
.action {
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
color: #E0E0E0;
}
.action svg {
width: 72px;
height: 72px;
fill: none;
stroke: #FFFFFF;
stroke-width: 4;
stroke-linecap: round;
stroke-linejoin: round;
}
.action span {
font-size: 30px;
color: #E0E0E0;
}
.done-btn {
margin-left: auto;
background: #1E88E5;
color: #FFFFFF;
height: 120px;
width: 280px;
border-radius: 32px;
display: flex;
align-items: center;
justify-content: center;
gap: 18px;
font-size: 38px;
font-weight: 600;
}
.done-btn svg {
width: 40px;
height: 40px;
fill: #FFFFFF;
stroke: none;
}
/* Red indicator near "More" */
.indicator {
position: absolute;
top: 8px;
right: 170px;
width: 18px;
height: 18px;
background: #E53935;
border-radius: 50%;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 48px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 12px;
background: rgba(255,255,255,0.75);
border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top Navigation -->
<div class="top-bar">
<div class="back-btn" aria-label="Back">
<svg viewBox="0 0 24 24">
<path d="M15 4 L7 12 L15 20" stroke="#FFFFFF" stroke-width="3.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="counter-pill">1/1</div>
<!-- Main Image Placeholder -->
<div class="image-stage">[IMG: Office desk with laptop, cables, and workspace]</div>
<!-- Bottom Controls -->
<div class="bottom-panel">
<div class="actions">
<!-- Add -->
<div class="action">
<svg viewBox="0 0 24 24" aria-hidden="true">
<rect x="3.5" y="6" width="17" height="12" rx="2"></rect>
<path d="M12 9.5v5M9.5 12h5"></path>
<path d="M8 6l1.5-2h5L16 6"></path>
</svg>
<span>Add</span>
</div>
<!-- Filters -->
<div class="action">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M4 7h10"></path>
<circle cx="16" cy="7" r="2" fill="#FFFFFF" stroke="none"></circle>
<path d="M4 12h8"></path>
<circle cx="10" cy="12" r="2" fill="#FFFFFF" stroke="none"></circle>
<path d="M4 17h13"></path>
<circle cx="8" cy="17" r="2" fill="#FFFFFF" stroke="none"></circle>
</svg>
<span>Filters</span>
</div>
<!-- Crop -->
<div class="action">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M7 3v14a2 2 0 0 0 2 2h14"></path>
<path d="M21 7H7"></path>
<path d="M17 21V7a2 2 0 0 0-2-2H3"></path>
</svg>
<span>Crop</span>
</div>
<!-- Rotate -->
<div class="action">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M12 6a6 6 0 1 1-4.24 10.24"></path>
<path d="M12 2v4H8"></path>
</svg>
<span>Rotate</span>
</div>
<!-- More -->
<div class="action" style="position: relative;">
<svg viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="5" r="2" fill="#FFFFFF" stroke="none"></circle>
<circle cx="12" cy="12" r="2" fill="#FFFFFF" stroke="none"></circle>
<circle cx="12" cy="19" r="2" fill="#FFFFFF" stroke="none"></circle>
</svg>
<span>More</span>
</div>
</div>
<div class="done-btn">
<span>Done</span>
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M9 18l6-6-6-6" />
</svg>
</div>
<!-- Small red notification dot near More -->
<div class="indicator" aria-hidden="true"></div>
</div>
<!-- Gesture Bar -->
<div class="gesture" aria-hidden="true"></div>
</div>
</body>
</html>