Adieee5 commited on
Commit
0372630
·
verified ·
1 Parent(s): 9cd69c0

Upload 4 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ static/juitlogo.png filter=lfs diff=lfs merge=lfs -text
37
+ static/userlogo.png filter=lfs diff=lfs merge=lfs -text
static/images/.DS_Store ADDED
Binary file (6.15 kB). View file
 
static/juitlogo.png ADDED

Git LFS Details

  • SHA256: 6868ab5dee398b42d9fd8b8fbf1f0e158412d3f8ed56aa8cef8b6958d1a15d6d
  • Pointer size: 131 Bytes
  • Size of remote file: 691 kB
static/style.css ADDED
@@ -0,0 +1,463 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body, html {
2
+ height: 100%;
3
+ margin: 0;
4
+ background: var(--bg-color);
5
+ background: linear-gradient(to right, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
6
+ color: var(--text-color);
7
+ }
8
+ :root {
9
+ --bg-color: rgb(44, 47, 59);
10
+ --gradient-start: rgb(38, 51, 61);
11
+ --gradient-mid: rgb(50, 55, 65);
12
+ --gradient-end: rgb(33, 33, 78);
13
+ --card-bg: rgba(0, 0, 0, 0.4);
14
+ --text-color: white;
15
+ --msg-bg: rgb(82, 172, 255);
16
+ --msg-send-bg: #58cc71;
17
+ --placeholder-color: #ccc;
18
+ --input-bg: rgba(0,0,0,0.3);
19
+ --border-color: white;
20
+ }
21
+ .light-mode {
22
+ --bg-color: #e6e6e6; /* Cool light grey background */
23
+ --gradient-start: #dcdcdc; /* Softer gradient transition */
24
+ --gradient-mid: #e6e6e6;
25
+ --gradient-end: #cfcfcf;
26
+ --card-bg: rgba(255, 255, 255, 0.95); /* Slightly more opaque for clarity */
27
+ --text-color: #222; /* Darker text for better contrast */
28
+ --msg-bg: #3498db; /* Incoming message bubble color */
29
+ --msg-send-bg: #2ecc71; /* Sent message bubble color */
30
+ --placeholder-color: #666; /* Darker placeholder text for readability */
31
+ --input-bg: rgba(255, 255, 255, 0.85);
32
+ --border-color: #444; /* Slightly softer black for a modern look */
33
+
34
+ background: linear-gradient(
35
+ to bottom,
36
+ var(--gradient-start),
37
+ var(--gradient-mid),
38
+ var(--gradient-end)
39
+ ) !important;
40
+ color: var(--text-color) !important;
41
+ }
42
+ /* Light Mode - Ensure theme toggle button is dark */
43
+ /* Theme Toggle Button */
44
+ #themeToggle {
45
+ position: absolute;
46
+ right: 15px;
47
+ top: 10px;
48
+ font-size: 14px;
49
+ padding: 5px 10px;
50
+ border-radius: 5px;
51
+ cursor: pointer;
52
+ transition: all 0.3s ease-in-out;
53
+ }
54
+ .dark-mode {
55
+ --bg-color: #1a1a1a; /* Slightly darker for better contrast */
56
+ --gradient-start: #2c2f36;
57
+ --gradient-mid: #343a40;
58
+ --gradient-end: #23272a;
59
+ --card-bg: rgba(0, 0, 0, 0.6); /* More opacity to make text more readable */
60
+ --text-color: #f8f8f8; /* Slightly off-white for less strain */
61
+ --msg-bg: #3498db;
62
+ --msg-send-bg: #2ecc71;
63
+ --placeholder-color: #bbb;
64
+ --input-bg: rgba(0,0,0,0.5);
65
+ --border-color: #777;
66
+
67
+ background: linear-gradient(to right, var(--gradient-start), var(--gradient-mid), var(--gradient-end)) !important;
68
+ color: var(--text-color) !important;
69
+ }
70
+ .dark-mode .msg_container {
71
+ background-color: var(--msg-bg) !important;
72
+ color: #ffffff !important; /* Ensure text is visible */
73
+ }
74
+
75
+ .dark-mode .msg_container_send {
76
+ background-color: var(--msg-send-bg) !important;
77
+ color: #ffffff !important;
78
+ }
79
+ .dark-mode .type_msg::placeholder {
80
+ color: rgba(255, 255, 255, 0.7) !important; /* Make it more readable */
81
+ }
82
+
83
+ /* Dark Mode - Light button */
84
+ .dark-mode #themeToggle {
85
+ background-color: #ddd !important;
86
+ color: black !important;
87
+ border: 1px solid #333 !important;
88
+ }
89
+
90
+ /* Light Mode - Dark button */
91
+ .light-mode #themeToggle {
92
+ background-color: #333 !important;
93
+ color: white !important;
94
+ border: 1px solid #000 !important;
95
+ }
96
+
97
+
98
+
99
+ .light-mode .user_info span,
100
+ .light-mode .user_info p {
101
+ color: var(--text-color) !important;
102
+ }
103
+
104
+ .light-mode .type_msg {
105
+ background-color: var(--input-bg) !important;
106
+ color: var(--text-color) !important;
107
+ border: 1px solid var(--border-color) !important;
108
+ }
109
+
110
+ /* Placeholder text */
111
+ .light-mode .type_msg::placeholder {
112
+ color: var(--placeholder-color) !important;
113
+ }
114
+
115
+ /* Chat container */
116
+ .light-mode .card {
117
+ background-color: var(--card-bg) !important;
118
+ border: 1px solid var(--border-color);
119
+ }
120
+
121
+ .light-mode .msg_container {
122
+ background-color: var(--msg-bg) !important;
123
+ color: #fff !important; /* White text for better contrast */
124
+ }
125
+
126
+ .light-mode .msg_container_send {
127
+ background-color: var(--msg-send-bg) !important;
128
+ color: #fff !important;
129
+ }
130
+
131
+ ::placeholder {
132
+ color: var(--placeholder-color);
133
+ opacity: 1;
134
+ }
135
+
136
+ /* Chat Container */
137
+ .chat {
138
+ height: 85vh; /* Adjust as needed */
139
+ max-height: 700px; /* Ensures it doesn't get too large */
140
+ }
141
+ .card {
142
+ height: calc(100% - 40px);
143
+ max-height: calc(100% - 40px);
144
+ overflow: hidden;
145
+ position: relative;
146
+ background-color: var(--card-bg) !important;
147
+ border-radius: 15px !important;
148
+ }
149
+
150
+ /* Message Box */
151
+ .msg_card_body {
152
+
153
+ max-height: 70vh; /* Adjust based on screen size */
154
+ overflow-y: auto; /* Enable scrolling */
155
+ }
156
+
157
+
158
+ /* Predictive Text */
159
+ .predictive-text {
160
+ position: absolute;
161
+ background-color: var(--input-bg);
162
+ border: 1px solid var(--border-color);
163
+ border-radius: 10px;
164
+ padding: 5px;
165
+ z-index: 999;
166
+ cursor: pointer;
167
+ max-height: 150px;
168
+ overflow-y: auto;
169
+ width: calc(100% - 22px);
170
+ bottom: 65px;
171
+ left: 10px;
172
+ color: var(--text-color);
173
+ }
174
+
175
+ .predictive-text p {
176
+ margin: 5px 0;
177
+ padding: 5px;
178
+ cursor: pointer;
179
+ transition: background-color 0.3s;
180
+ border-radius: 5px;
181
+ }
182
+
183
+ .predictive-text p:hover {
184
+ background-color: rgba(255, 255, 255, 0.2);
185
+ }
186
+
187
+ .predictive-text p:not(:last-child) {
188
+ border-bottom: 1px solid #555;
189
+ }
190
+
191
+ /* Input Fields */
192
+ input[type="text"] {
193
+ white-space: normal;
194
+ overflow-wrap: break-word;
195
+ word-wrap: break-word;
196
+ width: 100%;
197
+ padding: 10px;
198
+ height: auto;
199
+ background-color: var(--input-bg) !important;
200
+ color: var(--text-color) !important;
201
+ border: 0 !important;
202
+ }
203
+
204
+ ::placeholder {
205
+ white-space: normal;
206
+ overflow-wrap: break-word;
207
+ word-wrap: break-word;
208
+ color: var(--placeholder-color);
209
+ }
210
+
211
+
212
+
213
+ a {
214
+ text-decoration: underline !important;
215
+ color: blue; /* Keeps the default link color */
216
+ }
217
+
218
+ .attach_btn, .send_btn, .search_btn {
219
+ border-radius: 15px !important;
220
+ background-color: var(--input-bg) !important;
221
+ border: 0 !important;
222
+ color: var(--text-color) !important;
223
+ cursor: pointer;
224
+ }
225
+
226
+ /* User Info */
227
+ .user_info span {
228
+ font-size: 20px;
229
+ color: var(--text-color);
230
+ }
231
+
232
+ .user_info p {
233
+ font-size: 10px;
234
+ color: rgba(255, 255, 255, 0.6);
235
+ }
236
+
237
+
238
+
239
+ .chat{
240
+ margin-top: auto;
241
+ margin-bottom: auto;
242
+ }
243
+ .card{
244
+ min-height: 100%;
245
+ max-height: 90vh;
246
+ }
247
+ .contacts_body{
248
+ padding: 0.75rem 0 !important;
249
+ overflow-y: auto;
250
+ white-space: nowrap;
251
+ }
252
+ .msg_card_body{
253
+ overflow-y: auto;
254
+ }
255
+ .card-header{
256
+ border-radius: 15px 15px 0 0 !important;
257
+ border-bottom: 0 !important;
258
+ }
259
+ .card-footer{
260
+ border-radius: 0 0 15px 15px !important;
261
+ border-top: 0 !important;
262
+ }
263
+ .container{
264
+ display: flex;
265
+ flex-direction: column;
266
+ height: 100vh;
267
+ }
268
+ .msg_card_body {
269
+ flex-grow: 1;
270
+ }
271
+ .search{
272
+ border-radius: 15px 0 0 15px !important;
273
+ background-color: rgba(0,0,0,0.3) !important;
274
+ border:0 !important;
275
+ color:white !important;
276
+ }
277
+ .search:focus{
278
+ box-shadow:none !important;
279
+ outline:0px !important;
280
+ }
281
+ .type_msg{
282
+ background-color: rgba(0,0,0,0.3) !important;
283
+ border:0 !important;
284
+ color:white !important;
285
+ height: 60px !important;
286
+ overflow-y: auto;
287
+ }
288
+ .type_msg:focus{
289
+ box-shadow:none !important;
290
+ outline:0px !important;
291
+ }
292
+ .attach_btn{
293
+ border-radius: 15px 0 0 15px !important;
294
+ background-color: rgba(0,0,0,0.3) !important;
295
+ border:0 !important;
296
+ color: white !important;
297
+ cursor: pointer;
298
+ }
299
+ .send_btn{
300
+ border-radius: 0 15px 15px 0 !important;
301
+ background-color: rgba(0,0,0,0.3) !important;
302
+ border:0 !important;
303
+ color: white !important;
304
+ cursor: pointer;
305
+ }
306
+ .search_btn{
307
+ border-radius: 0 15px 15px 0 !important;
308
+ background-color: rgba(0,0,0,0.3) !important;
309
+ border:0 !important;
310
+ color: white !important;
311
+ cursor: pointer;
312
+ }
313
+ .contacts{
314
+ list-style: none;
315
+ padding: 0;
316
+ }
317
+ .contacts li{
318
+ width: 100% !important;
319
+ padding: 5px 10px;
320
+ margin-bottom: 15px !important;
321
+ }
322
+ .active{
323
+ background-color: rgba(0,0,0,0.3);
324
+ }
325
+ .user_img{
326
+ height: 70px;
327
+ width: 70px;
328
+ border:1.5px solid #f5f6fa;
329
+
330
+ }
331
+ .user_img_msg{
332
+ height: 40px;
333
+ width: 40px;
334
+ border:1.5px solid #f5f6fa;
335
+
336
+ }
337
+ .img_cont{
338
+ position: relative;
339
+ height: 70px;
340
+ width: 70px;
341
+ }
342
+ .img_cont_msg{
343
+ height: 40px;
344
+ width: 40px;
345
+ }
346
+ .online_icon{
347
+ position: absolute;
348
+ height: 15px;
349
+ width:15px;
350
+ background-color: #4cd137;
351
+ border-radius: 50%;
352
+ bottom: 0.2em;
353
+ right: 0.4em;
354
+ border:1.5px solid white;
355
+ }
356
+ .offline{
357
+ background-color: #c23616 !important;
358
+ }
359
+ .user_info{
360
+ margin-top: auto;
361
+ margin-bottom: auto;
362
+ margin-left: 15px;
363
+ }
364
+ .user_info span{
365
+ font-size: 20px;
366
+ color: white;
367
+ }
368
+ .user_info p{
369
+ font-size: 10px;
370
+ color: rgba(255,255,255,0.6);
371
+ }
372
+ .video_cam{
373
+ margin-left: 50px;
374
+ margin-top: 5px;
375
+ }
376
+ .video_cam span{
377
+ color: white;
378
+ font-size: 20px;
379
+ cursor: pointer;
380
+ margin-right: 20px;
381
+ }.msg_cotainer {
382
+ background-color: var(--msg-bg);
383
+ padding: 10px;
384
+ border-radius: 25px;
385
+ }
386
+
387
+ .msg_cotainer_send {
388
+ background-color: var(--msg-send-bg);
389
+ padding: 10px;
390
+ border-radius: 25px;
391
+ }
392
+ .msg_time{
393
+ position: absolute;
394
+ left: 0;
395
+ bottom: -15px;
396
+ color: rgba(255,255,255,0.5);
397
+ font-size: 10px;
398
+ }
399
+ .msg_time_send{
400
+ position: absolute;
401
+ right:0;
402
+ bottom: -15px;
403
+ color: rgba(255,255,255,0.5);
404
+ font-size: 10px;
405
+ }
406
+ .msg_head{
407
+ position: relative;
408
+ }
409
+ #action_menu_btn{
410
+ position: absolute;
411
+ right: 10px;
412
+ top: 10px;
413
+ color: white;
414
+ cursor: pointer;
415
+ font-size: 20px;
416
+ }.action_menu {
417
+ z-index: 1;
418
+ position: absolute;
419
+ padding: 15px 0;
420
+ background-color: var(--input-bg);
421
+ color: var(--text-color);
422
+ border-radius: 15px;
423
+ top: 30px;
424
+ right: 15px;
425
+ display: none;
426
+ }
427
+
428
+ .action_menu ul li {
429
+ width: 100%;
430
+ padding: 10px 15px;
431
+ margin-bottom: 5px;
432
+ cursor: pointer;
433
+ }
434
+
435
+ .action_menu ul li:hover {
436
+ background-color: rgba(0,0,0,0.2);
437
+ }
438
+ @media (max-width: 768px) {
439
+ .chat {
440
+ height: 75vh; /* Smaller on mobile */
441
+ }
442
+ .msg_card_body {
443
+ max-height: 60vh;
444
+ }
445
+ }
446
+
447
+
448
+ .predefined-text a {
449
+ color: #0a66c2; /* LinkedIn blue */
450
+ text-decoration: none;
451
+ font-weight: bold;
452
+ margin-right: 10px;
453
+ }
454
+
455
+ .predefined-text a i {
456
+ margin-right: 5px;
457
+ }
458
+
459
+ .predefined-text a:hover {
460
+ text-decoration: underline;
461
+ }
462
+
463
+ }
static/userlogo.png ADDED

Git LFS Details

  • SHA256: 89f550e39fdb30924121522d3469b9e7291c74d5e66762e28a4547dcf64b2027
  • Pointer size: 131 Bytes
  • Size of remote file: 122 kB