AxL95 commited on
Commit
d8e42ab
verified
1 Parent(s): 540ce5d

Update frontend/src/App.css

Browse files
Files changed (1) hide show
  1. frontend/src/App.css +480 -456
frontend/src/App.css CHANGED
@@ -1,456 +1,480 @@
1
- /* ----- Disposition g茅n茅rale ----- */
2
- .App {
3
- display: flex;
4
- min-height: 100vh;
5
- margin: 0;
6
- background-image: url('../public/blurBackground.png');
7
- background-size: cover;
8
- background-position: center;
9
- background-repeat: no-repeat;
10
- background-attachment: fixed;
11
- }
12
- .body{
13
- background-image: url('../public/blurBackground.png');
14
- background-size: cover;
15
- background-position: center;
16
- background-repeat: no-repeat;
17
- background-attachment: fixed;
18
- }
19
-
20
- /* ----- Panel lat茅ral (sidebar) ----- */
21
- .sidebar-panel {
22
- display: flex;
23
- flex-direction: column;
24
- width: 100%;
25
- max-width: 250px;
26
- height: 100vh; /* Add fixed height */
27
- background-color: #1E2136;
28
- color: #ffffff;
29
- overflow-y: auto;
30
- transition: max-width 0.3s ease;
31
- }
32
-
33
- .App.panel-collapsed .main-content {
34
- margin-left: 0;
35
- }
36
-
37
- .sidebar-panel.collapsed {
38
- max-width: 0;
39
- overflow: hidden;
40
- }
41
-
42
- /* ----- Contenu principal (zone de chat + header) ----- */
43
- .main-content {
44
- flex: 1;
45
- display: flex;
46
- flex-direction: column;
47
- transition: margin-left 0.3s ease;
48
-
49
- }
50
- .new-chat-button {
51
-
52
- background-color: #1e2136;
53
- border: none;
54
- border-radius: 50%;
55
-
56
- cursor: pointer;
57
- }
58
-
59
- .new-chat-button:hover {
60
- background-color: #2a2d45;
61
- }
62
-
63
- .new-chat-button svg {
64
- width: 20px;
65
- height: 20px;
66
- fill: #ffffff;
67
- }
68
- /* ----- Header du chat ----- */
69
- .chat-header {
70
- display: flex;
71
- position: relative;
72
- justify-content: center;
73
- align-items: center;
74
- padding: 10px 15px;
75
- color: #ffffff;
76
- font-size: 1.3rem;
77
- margin: 0;
78
- }
79
- .chat-header .avatar-container {
80
- position: absolute;
81
- right: 15px;
82
- top: 50%;
83
- transform: translateY(-50%);
84
- }
85
-
86
- .chat-title {
87
- font-weight: 400;
88
- font-size: 1.3rem;
89
- color: #ffffff;
90
- text-transform: uppercase;
91
- letter-spacing: 1px;
92
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
93
- font-family: 'Montserrat', sans-serif;
94
- text-align: center;
95
- }
96
- /* ----- Conteneur du chat (zone de messages + input) ----- */
97
- .chat-container {
98
- display: flex;
99
- flex-direction: column;
100
- height: 100vh;
101
- }
102
- /* ----- Vue sans message : contenu centr茅 ----- */
103
- .no-messages-view {
104
- flex: 1;
105
- display: flex;
106
- flex-direction: column;
107
- justify-content: center;
108
- align-items: center;
109
- padding: 20px;
110
- text-align: center;
111
- }
112
- .no-messages-view .welcome-message {
113
- margin-bottom: 20px;
114
- color:white;
115
- font-size:1.5rem;
116
- }
117
-
118
- .no-messages-view .input-container {
119
- position: relative;
120
- bottom: auto;
121
- left: auto;
122
- right: auto;
123
- margin-top: 20px;
124
- width: 100%;
125
- }
126
-
127
-
128
- .welcome-content {
129
- flex-direction: column;
130
- align-items: center;
131
- justify-content: center;
132
- max-width: 600px;
133
- width: 100%;
134
- margin-bottom: 100px;
135
- }
136
-
137
- .no-messages-view .input-form {
138
- max-width: 600px;
139
- width: 100%;
140
- }
141
-
142
- /* ----- Zone des messages scrollable ----- */
143
- .messages-container {
144
- flex: 1;
145
- overflow-y: auto;
146
- padding: 20px 15px;
147
- display: flex;
148
- flex-direction: column;
149
- align-items: center;
150
- justify-content: flex-start;
151
- gap: 12px;
152
- margin-left: 10vw;
153
- margin-right: 10vw;
154
- margin-bottom: 8vw;
155
- }
156
- .messages-container::-webkit-scrollbar {
157
-
158
- display:none;
159
-
160
- }
161
-
162
- @media (max-width: 768px) {
163
- .messages-container {
164
- margin-left: 5vw;
165
- margin-right: 5vw;
166
- margin-bottom: 100px;
167
- }
168
- }
169
-
170
- @media (max-width: 480px) {
171
- .messages-container {
172
- margin-left: 2vw;
173
- margin-right: 2vw;
174
- margin-bottom: 120px; /* Ajuste l'espace en bas pour les tr猫s petits 茅crans */
175
- }
176
- }
177
- /* ----- Style des messages ----- */
178
- .message {
179
- max-width: 70%; /* Limite la largeur des messages */
180
- padding: 12px 16px;
181
- border-radius: 8px;
182
- word-break: break-word;
183
- animation: fade-in 0.3s ease-in-out;
184
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ajoute une ombre l茅g猫re */
185
- }
186
- .message.user {
187
- align-self: flex-end; /* Aligne 脿 droite */
188
- background: rgba(67, 72, 105, 0.3);
189
- backdrop-filter: blur(10px);
190
- color: #ffffff;
191
- font-size: 1rem;
192
- line-height: 1.5;
193
- border-bottom-right-radius: 4px;
194
- }
195
-
196
- .message.bot .message-content{
197
- display:flex;
198
- align-self: flex-end;
199
- }
200
- .message.user .message-content{
201
- display:flex;
202
- align-self: flex-start;
203
- }
204
- .message.bot {
205
- align-self: flex-start;
206
- color: #e1e1e1;
207
- font-size: 1rem;
208
- line-height: 1.5;
209
- border-bottom-left-radius: 4px;
210
- }
211
-
212
- /* ----- Animation pour l'apparition ----- */
213
- @keyframes fade-in {
214
- from { opacity: 0; transform: translateY(5px); }
215
- to { opacity: 1; transform: translateY(0); }
216
- }
217
-
218
- /* ----- Indicateur de chargement ----- */
219
- .loading span {
220
- display: inline-block;
221
- animation: loading-dots 1.4s infinite ease-in-out;
222
- font-size: 1.2rem;
223
- margin-right: 2px;
224
- }
225
-
226
- @keyframes loading-dots {
227
- 0%, 80%, 100% { transform: scale(0); }
228
- 40% { transform: scale(1); }
229
- }
230
-
231
- .input-container {
232
- position: fixed;
233
- bottom: 20px;
234
- left: 0;
235
- right: 0;
236
- display: flex;
237
- flex-direction: column;
238
- align-items: center;
239
- z-index: 999;
240
- width: 100%;
241
- }
242
- .disclaimer-text {
243
- font-size: 12px;
244
- color: #666;
245
- text-align: center;
246
- margin-top: 8px;
247
- font-style: italic;
248
- max-width: 600px;
249
- }
250
-
251
- .conversation-date{
252
- font-size: 0.8rem;
253
- font-style: italic;
254
- margin-top: 2px;
255
- color:rgb(183, 183, 183);
256
- }
257
-
258
- /* ----- Formulaire d'entr茅e ----- */
259
- .input-form {
260
- display: flex;
261
- align-items: center;
262
- justify-content: space-between;
263
- background: linear-gradient(180deg, #1E2136 0%, #1E2136 100%);
264
- border-radius: 20px;
265
- padding: 12px 16px;
266
- width: 100%;
267
- max-width: 600px;
268
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
269
- }
270
- /* Input */
271
- .input-form input {
272
- flex: 1;
273
- padding: 10px 12px;
274
- border: none;
275
- border-radius: 16px;
276
- font-size: 14px;
277
- outline: none;
278
- background: transparent;
279
- color: rgba(255, 255, 255, 0.8);
280
- }
281
-
282
- .input-form textarea {
283
- flex: 1;
284
- padding: 10px 12px;
285
- border: none;
286
- border-radius: 16px;
287
- font-size: 14px;
288
- outline: none;
289
- background: transparent;
290
- color: rgba(255, 255, 255, 0.8);
291
- resize: none;
292
- overflow-y: auto;
293
- height: auto;
294
- max-height: 150px;
295
-
296
- }
297
- .input-form textarea::placeholder {
298
- color: rgba(255, 255, 255, 0.5);
299
- }
300
- textarea::-webkit-scrollbar {
301
- width: 12px;
302
- }
303
-
304
- /* For Firefox */
305
- textarea {
306
- scrollbar-width: thin;
307
- scrollbar-color: #acacac transparent;
308
- }
309
-
310
- textarea:hover {
311
- scrollbar-color: #b1b1b1 transparent;
312
- }
313
-
314
- /* Placeholder */
315
- .input-form input::placeholder {
316
- color: rgba(255, 255, 255, 0.5);
317
- }
318
-
319
- /* Bouton d'envoi */
320
- .input-form button {
321
- display: flex;
322
- align-items: center;
323
- justify-content: center;
324
- background: transparent;
325
- border: none;
326
- cursor: pointer;
327
- color: rgba(255, 255, 255, 0.8);
328
- font-size: 16px;
329
- padding: 6px 12px;
330
- margin-left: 8px;
331
- transition: opacity 0.2s;
332
- border-radius: 50%;
333
-
334
- }
335
-
336
- .input-form button:hover {
337
- opacity: 0.7;
338
- }
339
-
340
- /* D茅sactivation du bouton */
341
- .input-form button:disabled {
342
- opacity: 0.3;
343
- cursor: not-allowed;
344
- }
345
-
346
- h2{
347
- display: block;
348
- text-align: center;
349
- }
350
- /* ----- Bouton de collapse principal ----- */
351
- .collapse-button-main {
352
- position: absolute;
353
- top: 20px;
354
- left: 20px;
355
- z-index: 999;
356
- background: none;
357
- border: none;
358
- color: #fff;
359
- cursor: pointer;
360
- font-size: 24px;
361
- }
362
-
363
- /* ----- Ic么nes ----- */
364
- .material-icons {
365
- vertical-align: middle;
366
- }
367
-
368
- /* ----- Liste des conversations dans le panel ----- */
369
- .conversations-list {
370
- display: flex;
371
- flex-direction: column;
372
- flex: 1;
373
- overflow-y: auto;
374
- max-height: calc(100vh - 100px);
375
- }
376
-
377
-
378
- .conversations-list::-webkit-scrollbar {
379
- width: 12px;
380
- }
381
-
382
- .conversation-today-title{
383
- display: flex;
384
- margin-left: 6%;
385
- }
386
- .conversation-before-title{
387
- display: flex;
388
- margin-left: 6%;
389
- }
390
- .delete-button{
391
- background: none;
392
- border: none;
393
- color: #fff;
394
- cursor: pointer;
395
- font-size: 24px;
396
- margin-left: auto;
397
-
398
- }
399
- /* For Firefox */
400
- .conversations-list {
401
- scrollbar-width: thin;
402
- scrollbar-color: #acacac transparent;
403
- }
404
-
405
- .conversations-list:hover {
406
- scrollbar-color: #b1b1b1 transparent;
407
- }
408
-
409
- .conversation-item {
410
- padding: 8px;
411
- gap: 12px;
412
- border-bottom: 1px solid #525467;
413
- cursor: pointer;
414
- display: flex;
415
- align-items: center;
416
- }
417
-
418
- .conversation-item:hover {
419
- background-color: #525467;
420
- }
421
-
422
- .conversation-icon {
423
- margin-right: 6px;
424
- }
425
-
426
- /* ----- Footer du panel ----- */
427
- .sidebar-footer {
428
- margin-top: auto;
429
- border-top: 1px solid #525467;
430
- padding: 8px;
431
- }
432
- .sidebar-header{
433
- display:flex;
434
- justify-content: space-between;
435
- align-items: center;
436
- margin-bottom: 1.3rem;
437
- padding-top:0.5rem;
438
- padding-inline-start: calc(0.5rem);
439
- padding-inline-end: calc(0.5rem); ;}
440
-
441
- .user-info {
442
- display: flex;
443
- align-items: center;
444
- gap: 6px;
445
- }
446
-
447
- .user-avatar {
448
- font-size: 20px;
449
- }
450
-
451
- .collapse-button {
452
- background: none;
453
- border: none;
454
- color: #fff;
455
- cursor: pointer;
456
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ----- Disposition g茅n茅rale ----- */
2
+ .App {
3
+ display: flex;
4
+ min-height: 100vh;
5
+ margin: 0;
6
+ background-image: url('../public/blurBackground.png');
7
+ background-size: cover;
8
+ background-position: center;
9
+ background-repeat: no-repeat;
10
+ background-attachment: fixed;
11
+ }
12
+ .body{
13
+ background-image: url('../public/blurBackground.png');
14
+ background-size: cover;
15
+ background-position: center;
16
+ background-repeat: no-repeat;
17
+ background-attachment: fixed;
18
+ }
19
+
20
+ /* ajouter dans votre fichier CSS */
21
+ .user-info {
22
+ display: flex;
23
+ flex-direction: column;
24
+ align-items: center;
25
+ margin: 10px 0;
26
+ font-size: 0.9rem;
27
+ }
28
+
29
+ .logout-btn {
30
+ margin-top: 5px;
31
+ padding: 5px 10px;
32
+ background-color: #f44336;
33
+ color: white;
34
+ border: none;
35
+ border-radius: 4px;
36
+ cursor: pointer;
37
+ font-size: 0.8rem;
38
+ }
39
+
40
+ .logout-btn:hover {
41
+ background-color: #d32f2f;
42
+ }
43
+
44
+ /* ----- Panel lat茅ral (sidebar) ----- */
45
+ .sidebar-panel {
46
+ display: flex;
47
+ flex-direction: column;
48
+ width: 100%;
49
+ max-width: 250px;
50
+ height: 100vh; /* Add fixed height */
51
+ background-color: #1E2136;
52
+ color: #ffffff;
53
+ overflow-y: auto;
54
+ transition: max-width 0.3s ease;
55
+ }
56
+
57
+ .App.panel-collapsed .main-content {
58
+ margin-left: 0;
59
+ }
60
+
61
+ .sidebar-panel.collapsed {
62
+ max-width: 0;
63
+ overflow: hidden;
64
+ }
65
+
66
+ /* ----- Contenu principal (zone de chat + header) ----- */
67
+ .main-content {
68
+ flex: 1;
69
+ display: flex;
70
+ flex-direction: column;
71
+ transition: margin-left 0.3s ease;
72
+
73
+ }
74
+ .new-chat-button {
75
+
76
+ background-color: #1e2136;
77
+ border: none;
78
+ border-radius: 50%;
79
+
80
+ cursor: pointer;
81
+ }
82
+
83
+ .new-chat-button:hover {
84
+ background-color: #2a2d45;
85
+ }
86
+
87
+ .new-chat-button svg {
88
+ width: 20px;
89
+ height: 20px;
90
+ fill: #ffffff;
91
+ }
92
+ /* ----- Header du chat ----- */
93
+ .chat-header {
94
+ display: flex;
95
+ position: relative;
96
+ justify-content: center;
97
+ align-items: center;
98
+ padding: 10px 15px;
99
+ color: #ffffff;
100
+ font-size: 1.3rem;
101
+ margin: 0;
102
+ }
103
+ .chat-header .avatar-container {
104
+ position: absolute;
105
+ right: 15px;
106
+ top: 50%;
107
+ transform: translateY(-50%);
108
+ }
109
+
110
+ .chat-title {
111
+ font-weight: 400;
112
+ font-size: 1.3rem;
113
+ color: #ffffff;
114
+ text-transform: uppercase;
115
+ letter-spacing: 1px;
116
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
117
+ font-family: 'Montserrat', sans-serif;
118
+ text-align: center;
119
+ }
120
+ /* ----- Conteneur du chat (zone de messages + input) ----- */
121
+ .chat-container {
122
+ display: flex;
123
+ flex-direction: column;
124
+ height: 100vh;
125
+ }
126
+ /* ----- Vue sans message : contenu centr茅 ----- */
127
+ .no-messages-view {
128
+ flex: 1;
129
+ display: flex;
130
+ flex-direction: column;
131
+ justify-content: center;
132
+ align-items: center;
133
+ padding: 20px;
134
+ text-align: center;
135
+ }
136
+ .no-messages-view .welcome-message {
137
+ margin-bottom: 20px;
138
+ color:white;
139
+ font-size:1.5rem;
140
+ }
141
+
142
+ .no-messages-view .input-container {
143
+ position: relative;
144
+ bottom: auto;
145
+ left: auto;
146
+ right: auto;
147
+ margin-top: 20px;
148
+ width: 100%;
149
+ }
150
+
151
+
152
+ .welcome-content {
153
+ flex-direction: column;
154
+ align-items: center;
155
+ justify-content: center;
156
+ max-width: 600px;
157
+ width: 100%;
158
+ margin-bottom: 100px;
159
+ }
160
+
161
+ .no-messages-view .input-form {
162
+ max-width: 600px;
163
+ width: 100%;
164
+ }
165
+
166
+ /* ----- Zone des messages scrollable ----- */
167
+ .messages-container {
168
+ flex: 1;
169
+ overflow-y: auto;
170
+ padding: 20px 15px;
171
+ display: flex;
172
+ flex-direction: column;
173
+ align-items: center;
174
+ justify-content: flex-start;
175
+ gap: 12px;
176
+ margin-left: 10vw;
177
+ margin-right: 10vw;
178
+ margin-bottom: 8vw;
179
+ }
180
+ .messages-container::-webkit-scrollbar {
181
+
182
+ display:none;
183
+
184
+ }
185
+
186
+ @media (max-width: 768px) {
187
+ .messages-container {
188
+ margin-left: 5vw;
189
+ margin-right: 5vw;
190
+ margin-bottom: 100px;
191
+ }
192
+ }
193
+
194
+ @media (max-width: 480px) {
195
+ .messages-container {
196
+ margin-left: 2vw;
197
+ margin-right: 2vw;
198
+ margin-bottom: 120px; /* Ajuste l'espace en bas pour les tr猫s petits 茅crans */
199
+ }
200
+ }
201
+ /* ----- Style des messages ----- */
202
+ .message {
203
+ max-width: 70%; /* Limite la largeur des messages */
204
+ padding: 12px 16px;
205
+ border-radius: 8px;
206
+ word-break: break-word;
207
+ animation: fade-in 0.3s ease-in-out;
208
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ajoute une ombre l茅g猫re */
209
+ }
210
+ .message.user {
211
+ align-self: flex-end; /* Aligne 脿 droite */
212
+ background: rgba(67, 72, 105, 0.3);
213
+ backdrop-filter: blur(10px);
214
+ color: #ffffff;
215
+ font-size: 1rem;
216
+ line-height: 1.5;
217
+ border-bottom-right-radius: 4px;
218
+ }
219
+
220
+ .message.bot .message-content{
221
+ display:flex;
222
+ align-self: flex-end;
223
+ }
224
+ .message.user .message-content{
225
+ display:flex;
226
+ align-self: flex-start;
227
+ }
228
+ .message.bot {
229
+ align-self: flex-start;
230
+ color: #e1e1e1;
231
+ font-size: 1rem;
232
+ line-height: 1.5;
233
+ border-bottom-left-radius: 4px;
234
+ }
235
+
236
+ /* ----- Animation pour l'apparition ----- */
237
+ @keyframes fade-in {
238
+ from { opacity: 0; transform: translateY(5px); }
239
+ to { opacity: 1; transform: translateY(0); }
240
+ }
241
+
242
+ /* ----- Indicateur de chargement ----- */
243
+ .loading span {
244
+ display: inline-block;
245
+ animation: loading-dots 1.4s infinite ease-in-out;
246
+ font-size: 1.2rem;
247
+ margin-right: 2px;
248
+ }
249
+
250
+ @keyframes loading-dots {
251
+ 0%, 80%, 100% { transform: scale(0); }
252
+ 40% { transform: scale(1); }
253
+ }
254
+
255
+ .input-container {
256
+ position: fixed;
257
+ bottom: 20px;
258
+ left: 0;
259
+ right: 0;
260
+ display: flex;
261
+ flex-direction: column;
262
+ align-items: center;
263
+ z-index: 999;
264
+ width: 100%;
265
+ }
266
+ .disclaimer-text {
267
+ font-size: 12px;
268
+ color: #666;
269
+ text-align: center;
270
+ margin-top: 8px;
271
+ font-style: italic;
272
+ max-width: 600px;
273
+ }
274
+
275
+ .conversation-date{
276
+ font-size: 0.8rem;
277
+ font-style: italic;
278
+ margin-top: 2px;
279
+ color:rgb(183, 183, 183);
280
+ }
281
+
282
+ /* ----- Formulaire d'entr茅e ----- */
283
+ .input-form {
284
+ display: flex;
285
+ align-items: center;
286
+ justify-content: space-between;
287
+ background: linear-gradient(180deg, #1E2136 0%, #1E2136 100%);
288
+ border-radius: 20px;
289
+ padding: 12px 16px;
290
+ width: 100%;
291
+ max-width: 600px;
292
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
293
+ }
294
+ /* Input */
295
+ .input-form input {
296
+ flex: 1;
297
+ padding: 10px 12px;
298
+ border: none;
299
+ border-radius: 16px;
300
+ font-size: 14px;
301
+ outline: none;
302
+ background: transparent;
303
+ color: rgba(255, 255, 255, 0.8);
304
+ }
305
+
306
+ .input-form textarea {
307
+ flex: 1;
308
+ padding: 10px 12px;
309
+ border: none;
310
+ border-radius: 16px;
311
+ font-size: 14px;
312
+ outline: none;
313
+ background: transparent;
314
+ color: rgba(255, 255, 255, 0.8);
315
+ resize: none;
316
+ overflow-y: auto;
317
+ height: auto;
318
+ max-height: 150px;
319
+
320
+ }
321
+ .input-form textarea::placeholder {
322
+ color: rgba(255, 255, 255, 0.5);
323
+ }
324
+ textarea::-webkit-scrollbar {
325
+ width: 12px;
326
+ }
327
+
328
+ /* For Firefox */
329
+ textarea {
330
+ scrollbar-width: thin;
331
+ scrollbar-color: #acacac transparent;
332
+ }
333
+
334
+ textarea:hover {
335
+ scrollbar-color: #b1b1b1 transparent;
336
+ }
337
+
338
+ /* Placeholder */
339
+ .input-form input::placeholder {
340
+ color: rgba(255, 255, 255, 0.5);
341
+ }
342
+
343
+ /* Bouton d'envoi */
344
+ .input-form button {
345
+ display: flex;
346
+ align-items: center;
347
+ justify-content: center;
348
+ background: transparent;
349
+ border: none;
350
+ cursor: pointer;
351
+ color: rgba(255, 255, 255, 0.8);
352
+ font-size: 16px;
353
+ padding: 6px 12px;
354
+ margin-left: 8px;
355
+ transition: opacity 0.2s;
356
+ border-radius: 50%;
357
+
358
+ }
359
+
360
+ .input-form button:hover {
361
+ opacity: 0.7;
362
+ }
363
+
364
+ /* D茅sactivation du bouton */
365
+ .input-form button:disabled {
366
+ opacity: 0.3;
367
+ cursor: not-allowed;
368
+ }
369
+
370
+ h2{
371
+ display: block;
372
+ text-align: center;
373
+ }
374
+ /* ----- Bouton de collapse principal ----- */
375
+ .collapse-button-main {
376
+ position: absolute;
377
+ top: 20px;
378
+ left: 20px;
379
+ z-index: 999;
380
+ background: none;
381
+ border: none;
382
+ color: #fff;
383
+ cursor: pointer;
384
+ font-size: 24px;
385
+ }
386
+
387
+ /* ----- Ic么nes ----- */
388
+ .material-icons {
389
+ vertical-align: middle;
390
+ }
391
+
392
+ /* ----- Liste des conversations dans le panel ----- */
393
+ .conversations-list {
394
+ display: flex;
395
+ flex-direction: column;
396
+ flex: 1;
397
+ overflow-y: auto;
398
+ max-height: calc(100vh - 100px);
399
+ }
400
+
401
+
402
+ .conversations-list::-webkit-scrollbar {
403
+ width: 12px;
404
+ }
405
+
406
+ .conversation-today-title{
407
+ display: flex;
408
+ margin-left: 6%;
409
+ }
410
+ .conversation-before-title{
411
+ display: flex;
412
+ margin-left: 6%;
413
+ }
414
+ .delete-button{
415
+ background: none;
416
+ border: none;
417
+ color: #fff;
418
+ cursor: pointer;
419
+ font-size: 24px;
420
+ margin-left: auto;
421
+
422
+ }
423
+ /* For Firefox */
424
+ .conversations-list {
425
+ scrollbar-width: thin;
426
+ scrollbar-color: #acacac transparent;
427
+ }
428
+
429
+ .conversations-list:hover {
430
+ scrollbar-color: #b1b1b1 transparent;
431
+ }
432
+
433
+ .conversation-item {
434
+ padding: 8px;
435
+ gap: 12px;
436
+ border-bottom: 1px solid #525467;
437
+ cursor: pointer;
438
+ display: flex;
439
+ align-items: center;
440
+ }
441
+
442
+ .conversation-item:hover {
443
+ background-color: #525467;
444
+ }
445
+
446
+ .conversation-icon {
447
+ margin-right: 6px;
448
+ }
449
+
450
+ /* ----- Footer du panel ----- */
451
+ .sidebar-footer {
452
+ margin-top: auto;
453
+ border-top: 1px solid #525467;
454
+ padding: 8px;
455
+ }
456
+ .sidebar-header{
457
+ display:flex;
458
+ justify-content: space-between;
459
+ align-items: center;
460
+ margin-bottom: 1.3rem;
461
+ padding-top:0.5rem;
462
+ padding-inline-start: calc(0.5rem);
463
+ padding-inline-end: calc(0.5rem); ;}
464
+
465
+ .user-info {
466
+ display: flex;
467
+ align-items: center;
468
+ gap: 6px;
469
+ }
470
+
471
+ .user-avatar {
472
+ font-size: 20px;
473
+ }
474
+
475
+ .collapse-button {
476
+ background: none;
477
+ border: none;
478
+ color: #fff;
479
+ cursor: pointer;
480
+ }