-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
110 lines (97 loc) · 1.9 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
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
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background-color: #1e1e1e;
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.chat-container {
width: 400px;
max-width: 90%;
background-color: #2e2e2e;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
}
.chat-header {
padding: 20px;
background-color: #3e3e3e;
border-bottom: 1px solid #4e4e4e;
}
.chat-header h2 {
margin: 0;
font-size: 18px;
color: #ffffff;
}
.chat-messages {
flex: 1;
padding: 20px;
overflow-y: auto;
background-color: #1e1e1e;
}
.message {
margin-bottom: 15px;
padding: 10px 15px;
border-radius: 20px;
max-width: 80%;
word-wrap: break-word;
animation: fadeIn 0.5s;
}
.user-message {
background-color: #007bff;
align-self: flex-end;
color: #ffffff;
}
.bot-message {
background-color: #444444;
align-self: flex-start;
color: #ffffff;
}
.chat-input {
padding: 15px;
background-color: #3e3e3e;
border-top: 1px solid #4e4e4e;
display: flex;
}
.chat-input input {
flex: 1;
padding: 10px;
border: none;
border-radius: 20px;
outline: none;
background-color: #5e5e5e;
color: #ffffff;
margin-right: 10px;
transition: background-color 0.3s ease;
}
.chat-input input:focus {
background-color: #6e6e6e;
}
.chat-input button {
padding: 10px 15px;
border: none;
border-radius: 20px;
background-color: #007bff;
color: #ffffff;
cursor: pointer;
transition: background-color 0.3s ease;
}
.chat-input button:hover {
background-color: #0056b3;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}