-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (84 loc) · 1.65 KB
/
style.css
File metadata and controls
94 lines (84 loc) · 1.65 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
body {
font-family: Arial, sans-serif;
}
#chatbot-btn {
position: fixed;
bottom: 20px;
right: 20px;
background: #271C5C;
color: white;
border: none;
border-radius: 80%;
width: 90px;
height: 90px;
display: flex; /* ✅ flex pour centrer */
align-items: center; /* ✅ centrer verticalement */
justify-content: center; /* ✅ centrer horizontalement */
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
padding: 0; /* ✅ supprime le padding par défaut */
cursor: pointer;
font-size: 10px;
z-index: 1000;
}
#chatbot-box {
position: fixed;
bottom: 90px;
right: 20px;
width: 520px;
height: 590px;
background: white;
border: 1px solid #ccc;
border-radius: 12px;
display: none;
flex-direction: column;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
z-index: 1000;
}
#chat-header {
background: #271C5C;
color: white;
padding: 10px;
border-radius: 12px 12px 0 0;
text-align: center;
font-weight: bold;
}
#messages {
flex: 1;
padding: 10px;
overflow-y: auto;
font-size: 14px;
display: flex;
flex-direction: column;
}
.msg {
margin: 6px 0;
padding: 8px;
border-radius: 8px;
max-width: 80%;
word-wrap: break-word;
}
.user {
background: #C3BFD6;
align-self: flex-end;
}
.bot {
background: #C3BFD6;
align-self: flex-start;
}
#input {
display: flex;
border-top: 1px solid #ccc;
}
#input input {
flex: 1;
padding: 8px;
border: none;
outline: none;
}
#input button {
padding: 8px 12px;
border: none;
background: #271C5C;
color: white;
cursor: pointer;
}