File size: 5,376 Bytes
c32f9a6 | 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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Guest Details UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
color: #212121;
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 120px;
background: #000000;
}
/* Header */
.header {
position: absolute;
top: 120px;
left: 0;
width: 1080px;
height: 160px;
background: #ffffff;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
display: flex;
align-items: center;
padding: 0 36px;
}
.close-btn {
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 24px;
}
.header-title {
font-size: 48px;
font-weight: 500;
color: #333333;
}
/* List area */
.content {
position: absolute;
top: 280px; /* 120 + 160 */
left: 0;
width: 100%;
background: #ffffff;
}
.row {
display: flex;
align-items: center;
padding: 40px 36px;
height: 220px;
box-sizing: border-box;
border-bottom: 1.5px solid #E0E0E0;
}
.count {
font-size: 92px;
font-weight: 400;
width: 120px;
color: #333333;
}
.label {
font-size: 44px;
color: #606060;
flex: 1;
}
.actions {
display: flex;
gap: 32px;
align-items: center;
}
.icon-btn {
width: 88px;
height: 88px;
border-radius: 44px;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
background: #ffffff;
}
.icon-btn.disabled {
border: 2px solid #E0E0E0;
background: #F7F7F7;
}
.icon-btn.primary {
border: 3px solid #3D7BF6;
background: #ffffff;
}
.icon {
width: 44px;
height: 44px;
}
.icon path {
stroke-width: 8;
stroke-linecap: round;
}
.icon.primary path { stroke: #3D7BF6; }
.icon.disabled path { stroke: #BDBDBD; }
/* Bottom button */
.footer-btn {
position: absolute;
left: 60px;
bottom: 170px; /* above nav bar */
width: 960px;
height: 120px;
background: #3368F3;
border-radius: 60px;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 42px;
font-weight: 600;
letter-spacing: 1px;
}
/* Navigation bar */
.nav-bar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 140px;
background: #000000;
display: flex;
align-items: center;
justify-content: center;
}
.home-indicator {
width: 260px;
height: 12px;
background: #BDBDBD;
border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="statusbar"></div>
<div class="header">
<div class="close-btn" aria-label="Close">
<svg width="48" height="48" viewBox="0 0 48 48">
<path d="M8 8 L40 40 M40 8 L8 40" stroke="#4A4A4A" stroke-width="4" stroke-linecap="round"></path>
</svg>
</div>
<div class="header-title">Guest details</div>
</div>
<div class="content">
<!-- Row 1 -->
<div class="row">
<div class="count">1</div>
<div class="label">Room</div>
<div class="actions">
<div class="icon-btn disabled" aria-label="Decrease rooms">
<svg class="icon disabled" viewBox="0 0 48 48">
<path d="M12 24 H36" fill="none" stroke="#BDBDBD"></path>
</svg>
</div>
<div class="icon-btn primary" aria-label="Increase rooms">
<svg class="icon primary" viewBox="0 0 48 48">
<path d="M24 12 V36 M12 24 H36" fill="none" stroke="#3D7BF6"></path>
</svg>
</div>
</div>
</div>
<!-- Row 2 -->
<div class="row">
<div class="count">2</div>
<div class="label">Adults</div>
<div class="actions">
<div class="icon-btn primary" aria-label="Decrease adults">
<svg class="icon primary" viewBox="0 0 48 48">
<path d="M12 24 H36" fill="none" stroke="#3D7BF6"></path>
</svg>
</div>
<div class="icon-btn primary" aria-label="Increase adults">
<svg class="icon primary" viewBox="0 0 48 48">
<path d="M24 12 V36 M12 24 H36" fill="none" stroke="#3D7BF6"></path>
</svg>
</div>
</div>
</div>
<!-- Row 3 -->
<div class="row">
<div class="count">0</div>
<div class="label">Children</div>
<div class="actions">
<div class="icon-btn disabled" aria-label="Decrease children">
<svg class="icon disabled" viewBox="0 0 48 48">
<path d="M12 24 H36" fill="none" stroke="#BDBDBD"></path>
</svg>
</div>
<div class="icon-btn primary" aria-label="Increase children">
<svg class="icon primary" viewBox="0 0 48 48">
<path d="M24 12 V36 M12 24 H36" fill="none" stroke="#3D7BF6"></path>
</svg>
</div>
</div>
</div>
</div>
<div class="footer-btn">OK</div>
<div class="nav-bar">
<div class="home-indicator"></div>
</div>
</div>
</body>
</html> |