File size: 3,915 Bytes
0e1717f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Recipe Step UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Helvetica Neue", Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #B0183E; /* deep raspberry header */
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 210px;
padding: 40px 44px;
box-sizing: border-box;
color: #FFFFFF;
}
.status-left {
position: absolute;
left: 44px;
top: 40px;
font-size: 48px;
font-weight: 600;
letter-spacing: 0.5px;
}
.status-right {
position: absolute;
right: 44px;
top: 40px;
display: flex;
align-items: center;
gap: 22px;
}
.status-right span {
font-size: 40px;
font-weight: 600;
}
.icon { display: inline-block; }
/* Main dark panel */
.panel {
position: absolute;
top: 150px;
left: 0;
width: 1080px;
height: 2100px;
background: #2C2D31;
border-top-left-radius: 64px;
border-top-right-radius: 64px;
box-sizing: border-box;
}
/* Tabs/header inside panel */
.tabs {
display: flex;
justify-content: space-between;
align-items: center;
padding: 70px 56px 22px 56px;
color: #ECEFF1;
}
.tabs .left {
font-size: 44px;
font-weight: 700;
letter-spacing: 0.4px;
}
.tabs .right {
font-size: 44px;
font-weight: 800;
color: #E58A96;
}
.progress {
height: 10px;
margin: 0 0 30px 0;
background: #1E1F23;
}
.progress .bar {
width: 120px; /* small progress */
height: 10px;
background: #E58A96;
}
/* Content text */
.content {
padding: 60px 64px 0 64px;
color: #E6E7EA;
line-height: 88px;
font-size: 64px;
font-weight: 500;
}
/* Bottom gesture area */
.gesture-area {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 160px;
background: #000000;
}
.gesture-pill {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 220px;
height: 18px;
background: #E8E8E8;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div class="status-left">7:48</div>
<div class="status-right">
<!-- WiFi Icon -->
<svg class="icon" width="56" height="48" viewBox="0 0 56 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 16 C 18 6 38 6 50 16" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round"/>
<path d="M12 24 C 22 16 34 16 44 24" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round"/>
<path d="M18 32 C 24 28 32 28 38 32" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round"/>
<circle cx="28" cy="38" r="3.5" fill="#FFFFFF"/>
</svg>
<!-- Battery Icon -->
<svg class="icon" width="64" height="40" viewBox="0 0 64 40" xmlns="http://www.w3.org/2000/svg">
<rect x="2" y="8" width="52" height="24" rx="4" stroke="#FFFFFF" stroke-width="4" fill="none"/>
<rect x="56" y="14" width="6" height="12" rx="2" fill="#FFFFFF"/>
<rect x="6" y="12" width="44" height="16" rx="2" fill="#FFFFFF"/>
</svg>
<span>100%</span>
</div>
</div>
<!-- Main panel -->
<div class="panel">
<div class="tabs">
<div class="left">1 of 10</div>
<div class="right">Ingredients</div>
</div>
<div class="progress">
<div class="bar"></div>
</div>
<div class="content">
Preheat the oven to 350ºF (180ºC). Grease a 9 x 13-inch<br>
baking dish with nonstick spray.
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture-area">
<div class="gesture-pill"></div>
</div>
</div>
</body>
</html> |