-
Notifications
You must be signed in to change notification settings - Fork 1
/
mbot_style.css
85 lines (77 loc) · 1.28 KB
/
mbot_style.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
/*default msg color*/
:root {
--message-color: #8420ad;
--message-color-hover: #a621d1;
}
a {
font-family: Arial;
}
#messageBox {
margin: 0px;
padding: 0px;
}
#userInput {
width: 100%;
border: none;
border-radius: 10px;
border-bottom: 1px solid #4b1b4d;
font-size: 20px;
padding: 10px;
margin-bottom: 20px;
webkit-transition: border-bottom 0.2s;
}
#userInput:focus {
border-bottom: 4px solid #4b1b4d;
}
.message {
text-align: left;
border-radius: 4px;
color: #ffffff;
width: 250px;
font-size: 20px;
font-family: Arial;
display: inline-block;
padding: 5px;
cursor: default;
margin-bottom: 3px;
transition: 0.3s;
border-radius: 15px;
background-color: var(--message-color);
}
.message:hover {
transition: 0.3;
background-color: var(--message-color-hover);
border-radius: 10px;
}
.em {
border-radius: 10px;
border-color: #ffffff;
}
#typingNotification {
margin-top: 10px;
font-family: Arial;
font-size: 20px;
animation: typing 0.5s infinite;
animation-direction: alternate-reverse;
}
@keyframes typing {
0% {
font-size: 90%;
}
100% {
font-size: 100%;
}
}
.messageAnimation {
animation: fadein 0.4s;
}
@keyframes fadein {
0% {
opacity: 0;
width: 10%;
}
100% {
opacity: 1;
width: 100%;
}
}