-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_chat.css
58 lines (58 loc) · 1.21 KB
/
example_chat.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
body {
margin: 0;
padding-bottom: 3rem;
font-family: Arial, Helvetica, sans-serif;
}
#form {
background: rgba(0, 0, 0, 0.15);
padding: 5px;
position: fixed;
bottom: 0;
left: 0;
right: 0;
display: flex;
height: 50px;
box-sizing: border-box;
}
#input {
border: none;
padding: 0 5px;
flex-grow: 1;
margin: 5px;
}
#input:focus {
outline: none;
}
#form button {
background: #000;
border: none;
padding: 0 10px;
margin: 0.25rem;
border-radius: 0;
outline: none;
color: #fff;
}
#messages {
list-style-type: none;
margin: 0;
padding: 0;
}
#messages > li {
padding: 15px;
border-bottom: 1px solid #000;
}
#messages > li:before {
content: "└ ";
}
#input:disabled, form button:disabled {
opacity: 0.5;
}
#loading {
position: fixed;
top: 40%;
left: 50%;
margin-left: -135px;
width: 270px;
text-align: center;
font-size: 40px;
}