/
App.css
79 lines (69 loc) · 1.16 KB
/
App.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
/* Reset some default styles */
body,
h1,
h2,
p,
ul,
li {
margin: 0;
padding: 0;
}
/* Set up a simple container for the chat */
#chat-container {
width: 400px;
margin: 0 auto;
border: 1px solid #ccc;
border-radius: 5px;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100vh;
}
.messages-container {
flex: 1;
padding: 10px;
overflow-y: scroll;
}
/* Style the chat messages */
.chat-message {
padding: 10px;
border-bottom: 1px solid #eee;
}
/* Style the user's messages */
.user-message {
background-color: #f2f2f2;
}
/* Style the AI's messages */
.ai-message {
background-color: #dff0d8;
}
/* Style the input area */
#input-area {
padding: 10px;
background-color: #fff;
}
/* Style the input field */
#user-input {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
/* Style the send button */
.button {
margin-top: 8px;
padding: 8px;
background-color: #4caf50;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
}
/* Hover effect for the send button */
.button:hover {
background-color: #45a049;
}
.button:disabled {
background-color: #ccc;
color: #666;
cursor: not-allowed;
}