File size: 8,059 Bytes
ff1f000 | 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 | <html>
<head>
<meta charset="UTF-8">
<title>Time Picker Mock</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: Roboto, Arial, sans-serif; }
#render-target{
width:1080px; height:2400px; position:relative; overflow:hidden;
background:#121015; color:#EEE;
}
/* Status bar */
.status-bar{
position:absolute; top:0; left:0; right:0; height:90px;
padding:0 32px; box-sizing:border-box; display:flex; align-items:center;
font-size:34px; color:#fff; opacity:0.9;
}
.status-left{flex:1;}
.status-right{display:flex; gap:22px; align-items:center;}
.icon-signal, .icon-wifi, .icon-battery { width:44px; height:36px; }
/* Header / page content behind dialog */
.close-btn{
position:absolute; top:120px; left:48px; width:64px; height:64px;
display:flex; align-items:center; justify-content:center; border-radius:32px;
color:#cfc3e6; opacity:0.9;
}
.page-title{
position:absolute; top:150px; left:130px; font-size:78px; color:#d4c7ea; letter-spacing:1px;
}
.save-pill{
position:absolute; top:150px; right:72px; width:190px; height:90px; border-radius:45px;
background:#7E5AAE; display:flex; align-items:center; justify-content:center;
color:#f7eefe; font-weight:700; font-size:38px;
}
.list-area{ position:absolute; top:330px; left:72px; right:72px; }
.row{
display:flex; align-items:center; gap:22px; height:120px; border-bottom:1px solid #2a2530;
color:#c9c4d6; font-size:42px;
}
.avatar{
width:72px; height:72px; border-radius:50%; background:#6c3a56; color:#fff;
display:flex; align-items:center; justify-content:center; font-weight:700;
}
.dim-line{ height:100px; border-bottom:1px solid #2a2530; opacity:0.6; }
/* Modal overlay + card */
.overlay{ position:absolute; inset:0; background:rgba(0,0,0,0.55); z-index:5; }
.modal{
position:absolute; z-index:10; left:76px; top:520px; width:928px; height:1180px;
background:#26222B; border-radius:44px; box-shadow:0 20px 60px rgba(0,0,0,0.7);
padding:48px; box-sizing:border-box;
color:#EFEAF6;
}
.modal h2{ margin:0 0 36px 0; font-size:44px; font-weight:700; color:#EDE7F6; }
.time-head{
display:flex; align-items:center; gap:24px; margin-bottom:26px;
}
.box-hour, .box-min{
width:230px; height:190px; border-radius:22px; display:flex;
align-items:center; justify-content:center; font-size:110px; font-weight:700;
}
.box-hour{ background:#7E5AAF; color:#FFF; }
.box-min{ background:#3A333F; color:#EEE; }
.colon{ font-size:120px; color:#CFC8DA; margin:0 8px; }
.ampm{
margin-left:auto; display:flex; flex-direction:column; gap:14px;
}
.ampm .btn{
width:150px; height:90px; border-radius:18px; display:flex; align-items:center; justify-content:center;
font-size:42px; font-weight:700; color:#F4E9F7; background:#1E1A21; border:2px solid #47404E;
}
.ampm .btn.active{ background:#6b494b; border-color:#6b494b; }
/* Clock */
.clock-wrap{ margin-top:24px; display:flex; justify-content:center; }
.clock{
position:relative; width:760px; height:760px; border-radius:50%;
background:#332D39; box-shadow:inset 0 0 0 6px #3f3746;
}
.num{
position:absolute; color:#d8d2e2; font-size:48px; font-weight:600;
}
/* approximate positions */
.n12{ top:24px; left:50%; transform:translateX(-50%); }
.n1{ top:78px; right:182px; }
.n2{ top:184px; right:86px; }
.n3{ top:50%; right:26px; transform:translateY(-50%); }
.n4{ bottom:182px; right:86px; }
.n5{ bottom:82px; right:182px; }
.n6{ bottom:24px; left:50%; transform:translateX(-50%); }
.n7{ bottom:82px; left:182px; }
.n8{ bottom:182px; left:86px; }
.n9{ top:50%; left:26px; transform:translateY(-50%); }
.n10{ top:184px; left:86px; }
.n11{ top:78px; left:182px; }
/* selected hand to 9 o'clock */
.hand{
position:absolute; left:50%; top:50%;
width:300px; height:6px; background:#cbaae8; border-radius:3px;
transform:translate(-300px,-3px);
}
.hand .center-dot{
position:absolute; right:-12px; top:50%; width:12px; height:12px; border-radius:50%;
transform:translateY(-50%); background:#d6baf1;
}
.bubble9{
position:absolute; left:-10px; top:50%; transform:translateY(-50%);
width:140px; height:140px; background:#c8a8ed; border-radius:50%;
display:flex; align-items:center; justify-content:center; color:#3a2948; font-size:56px; font-weight:800;
box-shadow:0 0 0 6px rgba(200,168,237,0.2) inset;
}
/* bottom buttons */
.modal-footer{
position:absolute; left:48px; right:48px; bottom:36px; display:flex; align-items:center;
}
.kbd{
width:68px; height:48px; border-radius:8px; background:#4a4250; display:flex; align-items:center; justify-content:center;
}
.kbd svg{ width:40px; height:40px; }
.actions{ margin-left:auto; display:flex; gap:60px; }
.btn-text{ font-size:44px; color:#caa9ee; font-weight:700; }
/* subtle content underneath the overlay */
.under-note{
position:absolute; bottom:120px; left:72px; right:72px; color:#8b8498; opacity:0.5; font-size:38px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">8:41</div>
<div class="status-right">
<!-- simple icons -->
<svg class="icon-signal" viewBox="0 0 24 24" fill="#fff"><path d="M2 20h2v-4H2v4zm4 0h2v-7H6v7zm4 0h2v-10h-2v10zm4 0h2v-13h-2v13zm4 0h2V3h-2v17z"/></svg>
<svg class="icon-wifi" viewBox="0 0 24 24" fill="#fff"><path d="M12 18.5l2.1 2.1-2.1 2.1-2.1-2.1L12 18.5zM2 9l2 2c4.9-4.9 12.9-4.9 17.8 0l2-2C17.4 3.6 6.6 3.6 2 9zm5 5l2 2c2.7-2.7 7.3-2.7 10 0l2-2c-4-4-10-4-14 0z"/></svg>
<svg class="icon-battery" viewBox="0 0 24 24" fill="#fff"><path d="M16 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H3V8h13v8zM21 10v4h2v-4h-2z"/></svg>
</div>
</div>
<!-- Page content behind -->
<div class="close-btn">
<svg width="44" height="44" viewBox="0 0 24 24" stroke="#d9ccec" stroke-width="2" fill="none" stroke-linecap="round">
<path d="M5 5L19 19M19 5L5 19"/>
</svg>
</div>
<div class="page-title">Transport</div>
<div class="save-pill">Save</div>
<div class="list-area">
<div class="row">
<div class="avatar">C</div>
<div>Events</div>
</div>
<div class="dim-line"></div>
<div class="dim-line"></div>
<div class="dim-line"></div>
<div class="dim-line"></div>
</div>
<div class="under-note">Add location • Add notification • Default color</div>
<!-- Overlay and Modal -->
<div class="overlay"></div>
<div class="modal">
<h2>Select time</h2>
<div class="time-head">
<div class="box-hour">09</div>
<div class="colon">:</div>
<div class="box-min">00</div>
<div class="ampm">
<div class="btn active">AM</div>
<div class="btn">PM</div>
</div>
</div>
<div class="clock-wrap">
<div class="clock">
<!-- numbers -->
<div class="num n12">12</div>
<div class="num n1">1</div>
<div class="num n2">2</div>
<div class="num n3">3</div>
<div class="num n4">4</div>
<div class="num n5">5</div>
<div class="num n6">6</div>
<div class="num n7">7</div>
<div class="num n8">8</div>
<div class="num n9">9</div>
<div class="num n10">10</div>
<div class="num n11">11</div>
<!-- selected hand and bubble -->
<div class="hand">
<div class="center-dot"></div>
</div>
<div class="bubble9">9</div>
</div>
</div>
<div class="modal-footer">
<div class="kbd">
<svg viewBox="0 0 24 24" fill="#e9def7">
<rect x="3" y="6" width="18" height="12" rx="2" ry="2"></rect>
<rect x="5" y="8.5" width="14" height="2.5"></rect>
</svg>
</div>
<div class="actions">
<div class="btn-text">Cancel</div>
<div class="btn-text">OK</div>
</div>
</div>
</div>
</div>
</body>
</html> |