GD-ML/AndroidCode
13.4k
1<!DOCTYPE html>2<html lang="en">3<head>4<meta charset="UTF-8">5<meta name="viewport" content="width=1080, initial-scale=1.0">6<title>FitAI Chat UI</title>7<style>8 body { margin: 0; padding: 0; background: transparent; }9 #render-target {10 width: 1080px; height: 2400px;11 position: relative; overflow: hidden;12 background: #0c0b18; color: #e8ebf5;13 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;14 }15 .status-bar {16 position: absolute; top: 0; left: 0; right: 0;17 height: 100px; padding: 24px 36px;18 display: flex; align-items: center; justify-content: space-between;19 color: #cfd6e7; font-size: 36px;20 }21 .status-left { display: flex; align-items: center; gap: 18px; }22 .lr-badge {23 width: 52px; height: 36px; border-radius: 8px;24 background: #1b1928; color: #cfd6e7;25 display: flex; align-items: center; justify-content: center;26 font-size: 24px; border: 1px solid #2b2940;27 }28 .status-right { display: flex; align-items: center; gap: 22px; }29 .icon { width: 40px; height: 40px; }30 .nav-bar {31 position: absolute; top: 100px; left: 0; right: 0;32 height: 140px; padding: 0 36px;33 display: flex; align-items: center; justify-content: space-between;34 }35 .nav-left { display: flex; align-items: center; gap: 24px; }36 .title { font-size: 54px; font-weight: 600; color: #e8ebf5; }37 .title .ai { color: #4c86ff; }38 .nav-right { display: flex; align-items: center; gap: 18px; color: #a9b0c6; }39 .powered { font-size: 28px; line-height: 1; margin-right: 6px; text-align: right; }40 .help-box {41 width: 64px; height: 64px; border-radius: 12px; border: 1px solid #3a3955;42 display: flex; align-items: center; justify-content: center; color: #cfd6e7; font-weight: 700;43 background: #131225;44 }45 .menu { width: 40px; height: 40px; }46 .chat-area {47 position: absolute; left: 0; right: 0; top: 240px; bottom: 960px;48 padding: 16px 36px 0 36px;49 }50 .date {51 text-align: center; color: #8b92a8; font-size: 34px; margin: 26px 0;52 }53 .row { display: flex; }54 .left { justify-content: flex-start; }55 .right { justify-content: flex-end; }56 .bubble {57 position: relative;58 max-width: 820px;59 padding: 28px 34px;60 font-size: 34px; line-height: 1.45;61 border-radius: 28px;62 }63 .bubble.left {64 background: #4c86ff; color: #ffffff;65 border-top-left-radius: 28px; border-top-right-radius: 28px;66 border-bottom-right-radius: 28px; border-bottom-left-radius: 28px;67 }68 .bubble.left::after {69 content: ""; position: absolute; left: -18px; bottom: 14px; width: 0; height: 0;70 border-right: 22px solid transparent; border-top: 22px solid #4c86ff;71 }72 .bubble.right {73 background: #2a2d3a; color: #e9edf6; max-width: 560px;74 }75 .bubble.right::after {76 content: ""; position: absolute; right: -18px; bottom: 12px; width: 0; height: 0;77 border-left: 22px solid #2a2d3a; border-top: 22px solid transparent;78 }79 .small-left { max-width: 180px; }80 .input-area {81 position: absolute; left: 36px; right: 36px; bottom: 980px;82 display: flex; align-items: center; gap: 16px;83 }84 .field {85 flex: 1; height: 120px; border-radius: 60px;86 background: #1c1f2d; border: 1px solid #2f3247;87 display: flex; align-items: center; justify-content: space-between;88 padding: 0 30px; color: #9aa1b6; font-size: 36px;89 }90 .counter { color: #8c93a8; font-size: 30px; }91 .send-btn {92 width: 120px; height: 120px; border-radius: 60px; background: #4c86ff;93 display: flex; align-items: center; justify-content: center;94 box-shadow: 0 8px 24px rgba(76,134,255,0.35);95 }96 .keyboard-placeholder {97 position: absolute; left: 0; right: 0; bottom: 64px; height: 900px;98 display: flex; align-items: center; justify-content: center;99 background: #202228; border-top: 1px solid #3a3d4f; color: #b7bccb; font-size: 36px;100 }101 .keyboard-placeholder .img-box {102 width: 960px; height: 720px; background: #E0E0E0; border: 1px solid #BDBDBD;103 display: flex; align-items: center; justify-content: center; color: #757575;104 }105 .gesture-bar {106 position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);107 width: 220px; height: 10px; border-radius: 8px; background: #ffffff33;108 }109</style>110</head>111<body>112<div id="render-target">113 114 <!-- Status bar -->115 <div class="status-bar">116 <div class="status-left">117 <div>7:59</div>118 <div class="lr-badge">LR</div>119 </div>120 <div class="status-right">121 <!-- simple icons -->122 <svg class="icon" viewBox="0 0 24 24" fill="none">123 <path d="M3 16l3-3 4 4 5-5 6 6" stroke="#cfd6e7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>124 </svg>125 <svg class="icon" viewBox="0 0 30 24" fill="none">126 <rect x="1" y="4" width="24" height="16" rx="3" stroke="#cfd6e7" stroke-width="2"/>127 <rect x="4" y="7" width="18" height="10" fill="#cfd6e7"/>128 <rect x="26" y="9" width="3" height="6" rx="1" fill="#cfd6e7"/>129 </svg>130 <div style="font-size:28px; color:#cfd6e7;">3%</div>131 </div>132 </div>133 134 <!-- Navigation bar -->135 <div class="nav-bar">136 <div class="nav-left">137 <svg class="icon" viewBox="0 0 24 24" fill="none">138 <path d="M15 20L5 12l10-8" stroke="#e8ebf5" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>139 </svg>140 <div class="title">Fit<span class="ai">AI</span></div>141 </div>142 <div class="nav-right">143 <div class="powered">144 Powered by<br>ChatGPT145 </div>146 <div class="help-box">?</div>147 <svg class="menu" viewBox="0 0 6 24" fill="#cfd6e7">148 <circle cx="3" cy="4" r="3"></circle>149 <circle cx="3" cy="12" r="3"></circle>150 <circle cx="3" cy="20" r="3"></circle>151 </svg>152 </div>153 </div>154 155 <!-- Chat area -->156 <div class="chat-area">157 <div class="date">20 October 2023</div>158 159 <div class="row left">160 <div class="bubble left">161 Hi Karin, I am your personal smart workout assistant. I see that you are 45 years old, stand 160 cm tall, and weigh 59.0 kg. How can I assist with your workout today?162 </div>163 </div>164 165 <div class="date">25 October 2023</div>166 167 <div class="row right">168 <div class="bubble right">169 I want to customize my workout170 </div>171 </div>172 173 <div class="row left" style="margin-top: 60px;">174 <div class="bubble left small-left">...</div>175 </div>176 </div>177 178 <!-- Input area -->179 <div class="input-area">180 <div class="field">181 <div>Ask any question</div>182 <div class="counter">0/300</div>183 </div>184 <div class="send-btn">185 <svg width="44" height="44" viewBox="0 0 24 24" fill="none">186 <path d="M3 21l18-9L3 3l4 7 8 2-8 2-4 7z" fill="#fff"/>187 </svg>188 </div>189 </div>190 191 <!-- Keyboard placeholder -->192 <div class="keyboard-placeholder">193 <div class="img-box">[IMG: Android Keyboard]</div>194 </div>195 196 <div class="gesture-bar"></div>197</div>198</body>199</html>