-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchat.css
More file actions
117 lines (97 loc) · 2.08 KB
/
Copy pathchat.css
File metadata and controls
117 lines (97 loc) · 2.08 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/* Chat container styles */
.chat-container {
height: 100vh;
background-color: white;
}
/* Fixed height chat messages */
.chat-messages {
height: calc(100vh - 180px);
overflow-y: auto;
scroll-behavior: smooth;
}
/* Chat list item hover effect */
.chat-list-item {
transition: all 0.2s ease;
}
.chat-list-item:hover {
transform: translateX(4px);
}
/* Custom scrollbar for chat messages */
.chat-messages::-webkit-scrollbar {
width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
background: #ffffff;
}
.chat-messages::-webkit-scrollbar-thumb {
background: #e5e7eb;
border-radius: 3px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
background: #d1d5db;
}
/* Message animations */
.message-animation {
animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Left panel active chat indicator */
.active-chat {
border-left: 3px solid #3b82f6;
background-color: #eff6ff;
}
/* Chat input container */
.chat-input-container {
position: sticky;
bottom: 0;
background: white;
border-top: 1px solid #e5e7eb;
padding: 1rem;
z-index: 10;
}
/* Add these styles to ensure proper message display */
.message-bubble {
transition: transform 0.2s ease;
}
.message-bubble:hover {
transform: scale(1.01);
}
/* Input focus effects */
.chat-input:focus {
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
/* Send button hover animation */
.send-button {
transition: all 0.2s ease;
}
.send-button:hover {
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* AI Avatar pulse animation */
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.ai-avatar {
animation: pulse 2s infinite;
}
/* Typing indicator animation */
@keyframes typing {
0% { opacity: 0.4; }
50% { opacity: 1; }
100% { opacity: 0.4; }
}
.typing-indicator span {
animation: typing 1s infinite;
}