d310h commited on
Commit
eaabd07
·
verified ·
1 Parent(s): beec59b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +52 -15
index.html CHANGED
@@ -76,7 +76,8 @@
76
  color: var(--text-muted);
77
  }
78
 
79
- select, textarea {
 
80
  background-color: var(--bg-input);
81
  border: 1px solid var(--border-color);
82
  color: var(--text-main);
@@ -88,7 +89,8 @@
88
  resize: none;
89
  }
90
 
91
- select:focus, textarea:focus {
 
92
  border-color: var(--accent-color);
93
  }
94
 
@@ -110,8 +112,14 @@
110
  transition: background-color 0.3s;
111
  }
112
 
113
- .status-dot.online { background-color: #2e7d32; box-shadow: 0 0 5px #2e7d32; }
114
- .status-dot.offline { background-color: #c62828; }
 
 
 
 
 
 
115
 
116
  /*
117
  * MAIN CHAT AREA
@@ -215,8 +223,13 @@
215
  animation: bounce 1.4s infinite ease-in-out both;
216
  }
217
 
218
- .typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
219
- .typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
 
 
 
 
 
220
 
221
  /*
222
  * INPUT AREA
@@ -284,13 +297,28 @@
284
  * ANIMATIONS
285
  */
286
  @keyframes fadeIn {
287
- from { opacity: 0; transform: translateY(10px); }
288
- to { opacity: 1; transform: translateY(0); }
 
 
 
 
 
 
 
289
  }
290
 
291
  @keyframes bounce {
292
- 0%, 80%, 100% { transform: scale(0); }
293
- 40% { transform: scale(1); }
 
 
 
 
 
 
 
 
294
  }
295
 
296
  /*
@@ -326,17 +354,22 @@
326
  position: fixed;
327
  height: 100%;
328
  left: -280px;
329
- box-shadow: 2px 0 10px rgba(0,0,0,0.5);
330
  }
 
331
  aside.open {
332
  left: 0;
333
  }
 
334
  .mobile-menu-btn {
335
  display: block !important;
336
  }
337
- .message-bubble { max-width: 90%; }
 
 
 
338
  }
339
-
340
  .mobile-menu-btn {
341
  display: none;
342
  position: absolute;
@@ -387,11 +420,14 @@
387
 
388
  <!-- Main Chat -->
389
  <main>
390
- <header style="padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); display: flex; align-items: center;">
 
391
  <h1 style="font-size: 1.2rem; font-weight: 600; display: flex; align-items: center; gap: 10px;">
392
  <span>🤖</span> Ollama Chat
393
  </h1>
394
- <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" style="margin-left: auto; font-size: 0.8rem; color: var(--text-muted); text-decoration: none;">Built with anycoder</a>
 
 
395
  </header>
396
 
397
  <div id="chat-container">
@@ -699,4 +735,5 @@
699
  }
700
  </script>
701
  </body>
 
702
  </html>
 
76
  color: var(--text-muted);
77
  }
78
 
79
+ select,
80
+ textarea {
81
  background-color: var(--bg-input);
82
  border: 1px solid var(--border-color);
83
  color: var(--text-main);
 
89
  resize: none;
90
  }
91
 
92
+ select:focus,
93
+ textarea:focus {
94
  border-color: var(--accent-color);
95
  }
96
 
 
112
  transition: background-color 0.3s;
113
  }
114
 
115
+ .status-dot.online {
116
+ background-color: #2e7d32;
117
+ box-shadow: 0 0 5px #2e7d32;
118
+ }
119
+
120
+ .status-dot.offline {
121
+ background-color: #c62828;
122
+ }
123
 
124
  /*
125
  * MAIN CHAT AREA
 
223
  animation: bounce 1.4s infinite ease-in-out both;
224
  }
225
 
226
+ .typing-indicator span:nth-child(1) {
227
+ animation-delay: -0.32s;
228
+ }
229
+
230
+ .typing-indicator span:nth-child(2) {
231
+ animation-delay: -0.16s;
232
+ }
233
 
234
  /*
235
  * INPUT AREA
 
297
  * ANIMATIONS
298
  */
299
  @keyframes fadeIn {
300
+ from {
301
+ opacity: 0;
302
+ transform: translateY(10px);
303
+ }
304
+
305
+ to {
306
+ opacity: 1;
307
+ transform: translateY(0);
308
+ }
309
  }
310
 
311
  @keyframes bounce {
312
+
313
+ 0%,
314
+ 80%,
315
+ 100% {
316
+ transform: scale(0);
317
+ }
318
+
319
+ 40% {
320
+ transform: scale(1);
321
+ }
322
  }
323
 
324
  /*
 
354
  position: fixed;
355
  height: 100%;
356
  left: -280px;
357
+ box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
358
  }
359
+
360
  aside.open {
361
  left: 0;
362
  }
363
+
364
  .mobile-menu-btn {
365
  display: block !important;
366
  }
367
+
368
+ .message-bubble {
369
+ max-width: 90%;
370
+ }
371
  }
372
+
373
  .mobile-menu-btn {
374
  display: none;
375
  position: absolute;
 
420
 
421
  <!-- Main Chat -->
422
  <main>
423
+ <header
424
+ style="padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); display: flex; align-items: center;">
425
  <h1 style="font-size: 1.2rem; font-weight: 600; display: flex; align-items: center; gap: 10px;">
426
  <span>🤖</span> Ollama Chat
427
  </h1>
428
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank"
429
+ style="margin-left: auto; font-size: 0.8rem; color: var(--text-muted); text-decoration: none;">Built with
430
+ anycoder</a>
431
  </header>
432
 
433
  <div id="chat-container">
 
735
  }
736
  </script>
737
  </body>
738
+
739
  </html>