-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
169 lines (127 loc) · 2.5 KB
/
style.css
File metadata and controls
169 lines (127 loc) · 2.5 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/* Reset CSS */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: 0;
}
/*
:root {
} */
html {
font-size: 16px;
font-family: 'Josefin Sans', sans-serif;
}
body {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.bot-wrapper {
width: 70%;
background-color: white;
box-shadow: 0 0 10px 5px #eee;
border-radius: 10px;
}
.bot-header {
display: flex;
align-items: center;
padding: 20px;
background-image: linear-gradient(to right bottom, #214fe4, #4b6be8, #6c86ea, #8ca0ea, #acbae8);
color: #eee;
border-radius: 10px 10px 0 0;
}
.bot-header i {
font-size: 3rem;
margin-right: 1rem;
}
.bot-header div h3 {
margin-bottom: 5px;
}
.bot-content {
height: 400px;
}
.bot-footer {
display: flex;
align-items: center;
gap: 20px;
padding: 15px 10px;
border-top: 0.3px solid black;
}
.bot-footer input {
width: 90%;
padding: 10px;
border: none;
border-bottom: 1px solid black;
}
input:focus,
input:active {
outline: none;
}
.bot-footer button {
cursor: pointer;
min-width: 45px;
height: 45px;
border-radius: 100%;
border: none;
background: linear-gradient(to right bottom, #214fe4, #4b6be8, #6c86ea, #8ca0ea, #acbae8);
color: #eee;
box-shadow: 0 0 10px rgb(167, 167, 167);
}
.bot-footer button i {
font-size: 1.2rem;
}
.bot-content {
padding: 15px;
overflow-y: auto;
scroll-behavior: smooth;
}
.msg {
width: 70%;
max-width: fit-content;
padding: 20px;
line-height: 20px;
background: #F0F3F7;
margin: 15px 0;
}
.bot-msg {
border-radius: 2px 10px 15px;
margin-right: auto;
}
.user-msg {
border-radius: 10px 2px 10px 15px;
margin-left: auto;
background: linear-gradient(to right bottom, #214fe4, #4b6be8, #6c86ea, #8ca0ea, #acbae8);
color: white;
font-weight: 600;
}
/* Load Msg */
.bot-msg.load-msg span {
font-size: 0.4rem;
}
.bot-msg.load-msg span:nth-child(1) {
display: inline-block;
animation: upDown 2s linear infinite;
}
.bot-msg.load-msg span:nth-child(2) {
display: inline-block;
animation: upDown 2s linear infinite 0.5s;
}
.bot-msg.load-msg span:nth-child(3) {
display: inline-block;
animation: upDown 2s linear infinite 1s;
}
@keyframes upDown {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(0px);
}
}