-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchatbot.css
More file actions
80 lines (73 loc) · 1.77 KB
/
chatbot.css
File metadata and controls
80 lines (73 loc) · 1.77 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
/* Global body settings */
body {
font-family: Arial, sans-serif;
background-color: #100d28; /* Dark Background for contrast */
}
/* Chatbot Button */
.chatbot-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #7375db; /* Main accent color */
color: #acd9da; /* Light text color */
border: none;
border-radius: 50px;
padding: 15px 20px;
font-size: 16px;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
z-index: 1000;
transition: background-color 0.3s ease;
}
.chatbot-button:hover {
background-color: #00003b; /* Hover color */
}
/* Chatbot Overlay */
.chatbot-overlay {
position: fixed;
bottom: 80px;
right: 20px;
width: 350px;
height: 500px;
background-color: #00003b; /* Deep background color */
border: 2px solid #7375db;
border-radius: 15px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
display: none;
opacity: 0;
transition: opacity 0.3s ease-in-out;
z-index: 999;
}
/* Show class to display the overlay */
.chatbot-overlay.show {
display: block;
opacity: 1;
}
/* Chatbot Header */
.chatbot-header {
background-color: #7375db; /* Header color */
color: #100d28; /* Contrast text */
padding: 10px 15px;
border-top-left-radius: 13px;
border-top-right-radius: 13px;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
}
/* Close Button */
.close-btn {
background: none;
border: none;
color: #100d28;
font-size: 18px;
cursor: pointer;
}
/* Chatbot Frame */
.chatbot-frame {
width: 100%;
height: calc(100% - 50px); /* Adjust height excluding header */
border: none;
border-bottom-left-radius: 13px;
border-bottom-right-radius: 13px;
}