-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchatbot.css
82 lines (74 loc) · 1.38 KB
/
chatbot.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
.chatbot-icon {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background-image: url('<<YOUR_CHATBOT_ICON_IMAGE_URL');
background-size: cover;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
cursor: pointer;
border-radius: 50%;
z-index: 1000;
}
.chatbot-references ul {
list-style-type: disc;
padding-left: 20px;
font-size: 0.9em;
color: #4F5FFE;
}
.chatbot-dialog {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
width: 350px;
min-height: 150px;
background-color: #F7F7FA;
border-radius: 10px;
padding: 10px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
z-index: 1000;
display: flex;
flex-direction: column;
display: none;
}
.chatbot-prompt {
margin-bottom: 20px;
font-size: 0.9em;
}
.chatbot-input {
width: calc(100% - 20px);
height: 30px;
padding: 5px 10px;
border-radius: 5px;
border: 0px solid #ccc;
background-color: #FFFFFF;
font-style: italic;
font-size: 0.9em;
color: rgba(0, 0, 0, 0.5);
margin-bottom: 20px;
}
.chatbot-output {
font-size: 0.9em;
margin-bottom: 10px;
display: none;
flex-grow: 1;
overflow-y: auto;
}
.chatbot-buttons {
display: flex;
justify-content: flex-end;
gap: 10px;
}
.chatbot-button {
background: none;
border: none;
color: #4F5FFE;
cursor: pointer;
text-decoration: none;
font-size: 0.9em;
}
.chatbot-button:focus {
outline: none;
}