Added some static files to the chat example.
This commit is contained in:
48
examples/chat/static/css/style.css
Normal file
48
examples/chat/static/css/style.css
Normal file
@@ -0,0 +1,48 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #dec;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: #ac9;
|
||||
box-shadow: 0 0 5px #333;
|
||||
padding: 10px;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.footer textarea {
|
||||
background-color: #dec;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.messages {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.message {
|
||||
background-color: #efd;
|
||||
border-radius: 4px;
|
||||
font-size: 10pt;
|
||||
margin-bottom: 4px;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
|
||||
.message.system {
|
||||
color: #777;
|
||||
}
|
||||
Reference in New Issue
Block a user