-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsays.css
57 lines (55 loc) · 1.16 KB
/
says.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
/* style bubbles */
.bubble,
.bubble-typing {
color: #212121;
background: #E8ECF2;
padding: 8px 16px;
border-radius: 5px 15px 15px 15px;
font-weight: 400;
text-transform: none;
text-align: left;
letter-spacing: .5px;
margin: 0 0 2px 0;
max-width: 65%;
float: none;
clear: both;
line-height: 1.5em;
word-break: break-word;
transform-origin: left top;
transition: all 200ms;
box-sizing: content-box;
}
.bubble .bubble-content {
transition: opacity 150ms;
}
.bubble:not(.say) .bubble-content {
opacity: 0;
}
.bubble-typing.imagine,
.bubble.imagine {
transform: scale(0);
transition: all 200ms, height 200ms 1s, padding 200ms 1s;
}
.bubble.imagine {
margin: 0;
height: 0;
padding: 0;
}
/* style media that's inside bubbles */
.bubble .bubble-content img {
width: calc(100% + 32px);
margin: -8px -16px;
overflow: hidden;
display: block;
border-radius: 5px 15px 15px 15px;
}
/* interaction recall styles */
.bubble.history,
.bubble.history .bubble-content,
.bubble.history .bubble-content .bubble-button,
.bubble.history .bubble-content .bubble-button:hover {
transition: all 0ms !important;
}
.bubble.history {
opacity: .25;
}