-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
81 lines (70 loc) · 1.2 KB
/
style.css
File metadata and controls
81 lines (70 loc) · 1.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
body {
width: 300px;
height: 400px;
margin: 0;
font-family: sans-serif;
}
#chat-container {
display: flex;
flex-direction: column;
height: 100%;
}
#chat-messages {
flex-grow: 1;
overflow-y: auto;
padding: 10px;
border-bottom: 1px solid #ccc;
}
#input-container {
display: flex;
padding: 10px;
}
#message-input {
flex-grow: 1;
border: 1px solid #ccc;
border-radius: 5px;
padding: 5px;
resize: none;
}
#send-button {
margin-left: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
}
#send-button:disabled {
background-color: #ccc;
cursor: not-allowed;
}
.message {
margin-bottom: 10px;
padding: 5px 10px;
border-radius: 5px;
position: relative;
}
.user-message {
background-color: #007bff;
color: white;
align-self: flex-end;
}
.bot-message {
background-color: #f0f0f0;
align-self: flex-start;
}
.copy-button {
position: absolute;
top: 5px;
right: 5px;
background-color: #ccc;
border: none;
border-radius: 3px;
padding: 2px 5px;
cursor: pointer;
display: none; /* Initially hidden */
}
.bot-message:hover .copy-button {
display: block; /* Show on hover */
}