-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
73 lines (64 loc) · 1.26 KB
/
styles.css
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
.chat-container {
width: 360px;
border: 1px solid #ddd;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
height: 600px;
overflow: hidden;
}
.chat-box {
flex: 1;
padding: 20px;
overflow-y: auto;
border-bottom: 1px solid #ddd;
background: #f9f9f9;
}
.input-box {
display: flex;
border-top: 1px solid #ddd;
background: #fff;
padding: 10px;
}
#message-input {
flex: 1;
border: 1px solid #ddd;
padding: 10px;
border-radius: 24px;
font-size: 16px;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
#send-button {
padding: 10px 20px;
border: none;
background-color: #007bff;
color: white;
cursor: pointer;
border-radius: 24px;
font-size: 16px;
margin-left: 10px;
transition: background-color 0.3s ease;
}
#send-button:hover {
background-color: #0056b3;
}
.user-message,
.bot-message {
padding: 10px;
margin: 10px 0;
border-radius: 12px;
max-width: 80%;
word-wrap: break-word;
}
.user-message {
background-color: #007bff;
color: white;
align-self: flex-end;
}
.bot-message {
background-color: #e1e1e1;
color: #333;
align-self: flex-start;
}