File size: 10,937 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
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Chat UI with Bottom Sheet</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
  #render-target {
    width: 1080px; height: 2400px;
    position: relative; overflow: hidden;
    background: #FFFFFF;
  }

  /* Status bar */
  .status-bar {
    height: 120px;
    background: #ffffff;
    color: #333;
    display: flex;
    align-items: center;
    padding: 0 36px;
    font-size: 40px;
    box-sizing: border-box;
  }
  .status-left { flex: 1; display: flex; align-items: center; gap: 18px; }
  .status-right { display: flex; align-items: center; gap: 28px; }
  .status-icon { width: 40px; height: 40px; }

  /* Header */
  .header {
    height: 164px;
    border-bottom: 1px solid #e5e5e5;
    display: flex; align-items: center;
    padding: 0 30px;
    box-sizing: border-box;
  }
  .back-btn { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin-right: 6px; }
  .avatar {
    width: 96px; height: 96px; border-radius: 50%;
    background: #E0E0E0; border: 1px solid #BDBDBD;
    display: flex; align-items: center; justify-content: center;
    color: #757575; font-size: 32px; margin-right: 24px;
  }
  .title { flex: 1; }
  .title .name { font-size: 44px; font-weight: 700; color: #222; }
  .status-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
  .green-dot { width: 18px; height: 18px; background: #22aa3f; border-radius: 50%; }
  .status-text { font-size: 32px; color: #444; }
  .header-actions { display: flex; align-items: center; gap: 36px; }
  .icon-btn { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }

  /* Conversation area */
  .chat {
    padding: 24px 30px 180px 30px;
    box-sizing: border-box;
  }
  .day-sep {
    display: flex; align-items: center; gap: 24px; color: #666; font-size: 32px;
    margin: 28px 0;
  }
  .day-sep .line { flex: 1; height: 2px; background: #d1d1d1; }
  .msg-row { display: flex; align-items: flex-end; margin: 32px 0; }
  .msg-row .msg-avatar { margin-right: 18px; }
  .msg-bubble {
    max-width: 620px;
    padding: 26px 32px;
    border-radius: 28px;
    font-size: 40px;
    line-height: 1.3;
    color: #222;
  }
  .incoming { background: #eaeaea; }
  .outgoing { background: #77A8AB; color: #0b1f22; margin-left: auto; }
  .msg-time { font-size: 30px; color: #666; margin: 0 18px; }
  .emoji { width: 54px; height: 54px; border-radius: 50%; background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
           display: flex; align-items: center; justify-content: center; font-size: 24px; margin-left: 18px; }

  /* Dim overlay for sheet */
  .overlay {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.35);
  }

  /* Bottom sheet */
  .sheet {
    position: absolute; left: 0; bottom: 80px;
    width: 100%;
    background: #ffffff;
    border-top-left-radius: 36px; border-top-right-radius: 36px;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    padding-bottom: 30px;
  }
  .handle {
    width: 160px; height: 14px; background: #BDBDBD; border-radius: 7px;
    margin: 20px auto 24px;
  }
  .sheet-section { margin: 0 24px 24px 24px; background: #f2f2f2; border-radius: 24px; overflow: hidden; }
  .sheet-item {
    display: flex; align-items: center; justify-content: flex-start;
    padding: 28px; gap: 28px; font-size: 40px; color: #222; background: #f2f2f2;
    border-bottom: 1px solid #e7e7e7;
  }
  .sheet-item:last-child { border-bottom: none; }
  .sheet-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
  .danger { color: #d23a3a; }
  .danger-row {
    margin: 18px 24px 0 24px; background: #ffffff; border-radius: 24px; border: 1px solid #f1f1f1;
    overflow: hidden;
  }
  .danger-item {
    display: flex; align-items: center; gap: 28px; padding: 28px; font-size: 40px; color: #d23a3a;
  }

  /* Gesture bar */
  .gesture-bar {
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: 20px; width: 320px; height: 16px; background: #777; border-radius: 8px;
  }

  /* Utility avatar placeholder */
  .avatar-placeholder {
    width: 80px; height: 80px; border-radius: 50%;
    background: #E0E0E0; border: 1px solid #BDBDBD;
    display: flex; align-items: center; justify-content: center;
    color: #757575; font-size: 26px;
  }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status Bar -->
  <div class="status-bar">
    <div class="status-left">
      <div>3:12</div>
      <svg class="status-icon" viewBox="0 0 24 24">
        <path d="M12 2l3 6H9l3-6zm0 10a4 4 0 100 8 4 4 0 000-8z" fill="#666"/>
      </svg>
    </div>
    <div class="status-right">
      <svg class="status-icon" viewBox="0 0 24 24">
        <path d="M12 2a8 8 0 018 8h-3a5 5 0 00-10 0H4a8 8 0 018-8z" fill="#666"/>
      </svg>
      <svg class="status-icon" viewBox="0 0 24 24">
        <rect x="8" y="2" width="8" height="20" rx="2" fill="#666"/>
      </svg>
    </div>
  </div>

  <!-- Header -->
  <div class="header">
    <div class="back-btn">
      <svg width="44" height="44" viewBox="0 0 24 24">
        <path d="M15 18l-6-6 6-6" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
      </svg>
    </div>
    <div class="avatar">RW</div>
    <div class="title">
      <div class="name">Richard Wagner</div>
      <div class="status-row">
        <span class="green-dot"></span>
        <span class="status-text">Active now</span>
      </div>
    </div>
    <div class="header-actions">
      <div class="icon-btn">
        <svg width="48" height="48" viewBox="0 0 24 24">
          <rect x="3" y="5" width="18" height="14" rx="2" stroke="#333" stroke-width="2" fill="none"/>
          <path d="M16 10l5-3v10l-5-3" fill="#333"/>
        </svg>
      </div>
      <div class="icon-btn">
        <svg width="48" height="48" viewBox="0 0 24 24">
          <path d="M6 2h5l3 5-4 3 3 5-4 3L6 22l-2-4 3-3-3-3 2-4z" fill="#333"/>
        </svg>
      </div>
    </div>
  </div>

  <!-- Conversation -->
  <div class="chat">
    <div class="day-sep">
      <div class="line"></div>
      <div>Yesterday</div>
      <div class="line"></div>
    </div>

    <!-- Right outgoing bubble -->
    <div class="msg-row">
      <div class="msg-time" style="margin-left:auto;">4:37 PM</div>
    </div>
    <div class="msg-row">
      <div class="msg-bubble outgoing">Hii Richard</div>
    </div>

    <div class="day-sep" style="margin-top: 40px;">
      <div class="line"></div>
      <div>Today</div>
      <div class="line"></div>
    </div>

    <!-- Incoming message -->
    <div class="msg-row">
      <div class="msg-avatar avatar-placeholder">RW</div>
      <div style="font-size:30px; color:#666; margin-bottom: 8px;">Richard, 7:30 AM</div>
    </div>
    <div class="msg-row">
      <div class="msg-avatar avatar-placeholder">RW</div>
      <div class="msg-bubble incoming">Hi Natalie</div>
      <div class="emoji">:)</div>
    </div>

    <!-- Another incoming -->
    <div class="msg-row" style="margin-top: 22px;">
      <div class="msg-avatar avatar-placeholder">RW</div>
      <div style="font-size:30px; color:#666; margin-bottom: 8px;">Richard, 7:42 AM</div>
    </div>
    <div class="msg-row">
      <div class="msg-avatar avatar-placeholder">RW</div>
      <div class="msg-bubble incoming">Hi Natalie</div>
      <div class="emoji">:)</div>
    </div>

    <!-- Outgoing latest -->
    <div class="msg-row" style="margin-top: 60px;">
      <div class="msg-time" style="margin-left:auto;">8:14 AM</div>
    </div>
    <div class="msg-row">
      <div class="msg-bubble outgoing" style="margin-left:auto;">How are you doing?</div>
    </div>
  </div>

  <!-- Dimmed overlay -->
  <div class="overlay"></div>

  <!-- Bottom Sheet -->
  <div class="sheet">
    <div class="handle"></div>

    <div class="sheet-section">
      <div class="sheet-item">
        <div class="sheet-icon">
          <svg width="44" height="44" viewBox="0 0 24 24">
            <path d="M4 20l4-4h8v-8H8l-4-4v16z" stroke="#333" stroke-width="2" fill="none" stroke-linejoin="round"/>
          </svg>
        </div>
        <div>Edit</div>
      </div>
      <div class="sheet-item">
        <div class="sheet-icon">
          <svg width="44" height="44" viewBox="0 0 24 24">
            <path d="M15 6l-6 6 6 6" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
          </svg>
        </div>
        <div>Reply</div>
      </div>
      <div class="sheet-item">
        <div class="sheet-icon">
          <svg width="44" height="44" viewBox="0 0 24 24">
            <path d="M9 6l6 6-6 6" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
          </svg>
        </div>
        <div>Forward</div>
      </div>
    </div>

    <div class="sheet-section">
      <div class="sheet-item">
        <div class="sheet-icon">
          <svg width="44" height="44" viewBox="0 0 24 24">
            <rect x="6" y="3" width="12" height="18" rx="2" stroke="#333" stroke-width="2" fill="none"/>
            <path d="M9 7h6M9 11h6M9 15h6" stroke="#333" stroke-width="2"/>
          </svg>
        </div>
        <div>Copy</div>
      </div>
      <div class="sheet-item">
        <div class="sheet-icon">
          <svg width="44" height="44" viewBox="0 0 24 24">
            <path d="M7 17h10M6 7h12M8 12h8" stroke="#333" stroke-width="2"/>
            <text x="4" y="9" font-size="6" fill="#333">aあ</text>
          </svg>
        </div>
        <div>Translate</div>
      </div>
      <div class="sheet-item">
        <div class="sheet-icon">
          <svg width="44" height="44" viewBox="0 0 24 24">
            <path d="M6 4h12v16l-6-4-6 4V4z" stroke="#333" stroke-width="2" fill="none"/>
          </svg>
        </div>
        <div>Add bookmark</div>
      </div>
      <div class="sheet-item">
        <div class="sheet-icon">
          <svg width="44" height="44" viewBox="0 0 24 24">
            <circle cx="12" cy="12" r="9" stroke="#333" stroke-width="2" fill="none"/>
            <path d="M9 12l2 2 4-4" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round"/>
          </svg>
        </div>
        <div>Select Messages</div>
      </div>
    </div>

    <div class="danger-row">
      <div class="danger-item">
        <div class="sheet-icon">
          <svg width="44" height="44" viewBox="0 0 24 24">
            <path d="M4 7h16l-1 12H5L4 7z" fill="none" stroke="#d23a3a" stroke-width="2"/>
            <path d="M10 3h4l1 4H9l1-4z" fill="#d23a3a"/>
          </svg>
        </div>
        <div class="danger">Remove</div>
      </div>
    </div>
  </div>

  <!-- Gesture bar -->
  <div class="gesture-bar"></div>
</div>
</body>
</html>