-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomponent.chat.css
More file actions
73 lines (62 loc) · 1.53 KB
/
Copy pathcomponent.chat.css
File metadata and controls
73 lines (62 loc) · 1.53 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
.chat__message {
position: relative;
width: 236px;
color: var(--color__text);
padding: var(--spacing--12px) var(--spacing--16px);
background-color: var(--color__white);
border-radius: var(--border__radius--12px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
margin-bottom: var(--spacing--28px);
}
.chat__controls {
position: relative;
max-width: 196px;
}
.chat__message--animated {
animation-direction: normal;
animation-fill-mode: forwards;
animation-duration: 0.4s;
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat__message--bot {
left: 0;
animation-name: slideInLeft;
transform: translate3d(-100%, 0, 0);
}
.chat__message--user {
left: calc(100% - var(--spacing--28px));
animation-name: slideInRight;
transform: translate3d(28px, 0, 0);
}
.chat__wrapper {
margin-left: -40px;
margin-right: -40px;
position: relative;
overflow-x: hidden;
min-height: 100%;
}
.chat__loadingWrapper {
padding-top: var(--spacing--120px);
margin-bottom: var(--spacing--20px);
padding-bottom: var(--spacing--20px);
}
.chat__loading {
display: flex;
flex-direction: column;
justify-content: space-around;
padding-bottom: var(--spacing--120px);
}
.chat__icon {
transform: scale(3) translate3d(0, 0, 0);
}
.chat__icon--animated {
animation: jump 1s alternate forwards infinite ease;
}
.chat__text {
text-overflow: ellipsis;
overflow: hidden;
display: block;
a {
text-decoration: underline;
}
}