File size: 1,594 Bytes
3301f89
35909d0
3301f89
 
 
 
 
35909d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3301f89
35909d0
 
3301f89
 
 
 
35909d0
 
 
 
3301f89
 
35909d0
 
 
 
 
3301f89
35909d0
3301f89
 
35909d0
 
3301f89
 
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
/* Sidebar styles */
#sidebar {
  background: linear-gradient(to bottom, rgba(31, 41, 55, 0.9), rgba(20, 78, 85, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

#sidebar nav ul li a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#sidebar nav ul li a:hover {
  background-color: rgba(55, 65, 81, 0.8);
  transform: translateX(4px);
}

#conversationList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#conversationList li:hover {
  background-color: rgba(55, 65, 81, 0.8);
  transform: translateX(4px);
}

#conversationList li span.truncate {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delete-conversation-btn {
  opacity: 0;
  transition: opacity 0.2s ease;
}

#conversationList li:hover .delete-conversation-btn {
  opacity: 1;
}

#swipeHint {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}



/* Responsive adjustments */
@media (max-width: 768px) {
  #sidebar {
    width: 80%;
    max-width: 280px;
  }
  .md\:ml-64 {
    margin-left: 0 !important;
  }
  #sidebarToggleMobile {
    display: none !important;
  }
}