-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (91 loc) · 1.72 KB
/
style.css
File metadata and controls
104 lines (91 loc) · 1.72 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
@import 'bootstrap/dist/css/bootstrap.min.css';
@import 'bootstrap-icons/font/bootstrap-icons.css';
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: black;
}
#chat-bubble {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background-color: #007bff;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 1000;
transition: all 0.3s ease;
}
#chat-bubble:hover {
transform: scale(1.1);
}
#chat-bubble i {
color: white;
font-size: 24px;
}
#chat-dialog {
position: fixed;
bottom: 100px;
right: 20px;
width: 300px;
height: 400px;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
display: none;
z-index: 1001;
overflow: hidden;
}
#chat-header {
background-color: #007bff;
color: white;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
#chat-header h3 {
margin: 0;
font-size: 18px;
}
#close-chat {
color: white;
border: none;
background: none;
}
#chat-messages {
height: 200px;
overflow-y: auto;
padding: 10px;
}
#chat-input {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 10px;
background-color: #f8f9fa;
border-top: 1px solid #dee2e6;
}
.message {
margin-bottom: 10px;
padding: 8px 12px;
border-radius: 20px;
max-width: 80%;
}
.user-message {
background-color: #007bff;
color: white;
align-self: flex-end;
margin-left: auto;
}
.bot-message {
background-color: #f1f3f5;
color: #343a40;
align-self: flex-start;
}