|
|
|
#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; } |
|
} |
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) { |
|
#sidebar { |
|
width: 80%; |
|
max-width: 280px; |
|
} |
|
.md\:ml-64 { |
|
margin-left: 0 !important; |
|
} |
|
#sidebarToggleMobile { |
|
display: none !important; |
|
} |
|
} |
|
|
|
|
|
|