-
Notifications
You must be signed in to change notification settings - Fork 0
/
chatbot.css
85 lines (70 loc) · 1.51 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
83
84
85
body
{
margin:0;
padding:0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: rgb(162, 224, 226);
background-image: linear-gradient(-160deg,#ffccff 20%,#88ed88);
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
max-height: 100px;
}
.chatbot {
/* background-color: #f2f2f2; */
border-radius: 10px;
padding: 20px;
max-height: 10000px;
width:100%;
/* background: linear-gradient(120deg, #2d219a 10%,#4bbb96, #51c8e2 85%); */
background-image: linear-gradient(-160deg,#a776b9 20%,#9b54bf);
}
.chatbot-header {
text-align: center;
}
.chatbot-messages {
max-height: 300px;
overflow-y: scroll;
margin-bottom: 10px;
}
.chatbot-message {
padding: 10px;
margin: 5px;
border-radius: 5px;
}
.user {
background-color: #c5aacf;
color: #020202;
text-align: right;
}
.bot {
background-color: #e1e1e1;
text-align: left;
}
.chatbot-input {
display: flex;
justify-content: space-between;
align-items: center;
}
input[type="text"] {
flex: 1;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
padding: 10px 20px;
background-color: #1a024a;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #2980b9;
}