File size: 3,098 Bytes
fa881a6 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Cart UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #111;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
}
/* Top App Bar */
.appbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 180px;
background: #17337A; /* deep navy */
color: #fff;
display: flex;
align-items: center;
padding: 0 48px;
box-sizing: border-box;
}
.appbar .title {
font-size: 56px;
font-weight: 700;
margin-left: 28px;
letter-spacing: 0.2px;
}
/* Main content area (empty cart) */
.content {
position: absolute;
top: 180px;
left: 0;
right: 0;
bottom: 280px; /* space for summary + checkout bar */
background: #fff;
}
/* Summary row above checkout */
.summary {
position: absolute;
left: 0;
right: 0;
bottom: 160px;
height: 120px;
padding: 0 48px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 36px;
}
.summary .amount {
font-size: 38px;
}
.summary .amount .value {
color: #1E3F93; /* blue for $0 */
font-weight: 700;
margin-left: 12px;
}
/* Checkout bottom bar */
.checkout-bar {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 160px;
background: #17337A;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
gap: 26px;
padding: 0 40px;
box-sizing: border-box;
}
.checkout-bar .label {
font-size: 48px;
font-weight: 600;
letter-spacing: 0.3px;
}
/* Icon styles */
.icon {
display: inline-block;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top App Bar -->
<div class="appbar">
<!-- Back arrow icon -->
<svg class="icon" width="64" height="64" viewBox="0 0 80 80" aria-hidden="true">
<path d="M50 15 L25 40 L50 65" stroke="#FFFFFF" stroke-width="10" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<div class="title">Cart</div>
</div>
<!-- Empty content area -->
<div class="content"></div>
<!-- Summary Row -->
<div class="summary">
<div>Total 0 items</div>
<div class="amount">Total HKD <span class="value">$0</span></div>
</div>
<!-- Checkout Bottom Bar -->
<div class="checkout-bar">
<svg class="icon" width="64" height="64" viewBox="0 0 24 24" aria-hidden="true">
<path d="M3 6h2l3 9h9l2-7H8" stroke="#FFFFFF" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
<circle cx="10" cy="19" r="2" fill="#FFFFFF"></circle>
<circle cx="17" cy="19" r="2" fill="#FFFFFF"></circle>
</svg>
<div class="label">Checkout</div>
</div>
</div>
</body>
</html> |