-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbotStyle.css
More file actions
98 lines (84 loc) · 2.2 KB
/
botStyle.css
File metadata and controls
98 lines (84 loc) · 2.2 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
:root {
--primary-color: #007bff;
--secondary-color: #6c757d;
--background-color: #f8f9fa;
--text-color: #212529;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background-color);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.chat-container {
width: 100%;
max-width: 400px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.chat-header {
background-color: var(--primary-color);
color: #fff;
padding: 15px;
text-align: center;
font-size: 1.2em;
}
.chat-messages {
height: 400px;
overflow-y: auto;
padding: 15px;
}
.message {
margin-bottom: 15px;
padding: 10px;
border-radius: 20px;
max-width: 80%;
}
.bot-message {
background-color: var(--secondary-color);
color: #fff;
align-self: flex-start;
}
.user-message {
background-color: var(--primary-color);
color: #fff;
align-self: flex-end;
margin-left: auto;
}
.chat-input {
display: flex;
padding: 15px;
background-color: #fff;
border-top: 1px solid #e9ecef;
}
.chat-input input {
flex-grow: 1;
padding: 10px;
border: 1px solid #ced4da;
border-radius: 4px;
font-size: 1em;
}
.chat-input button {
padding: 10px 15px;
background-color: var(--primary-color);
color: #fff;
border: none;
border-radius: 4px;
margin-left: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.chat-input button:hover {
background-color: #0056b3;
}