Initial commit
This commit is contained in:
116
app/plugins/chat/css/chat.css
Normal file
116
app/plugins/chat/css/chat.css
Normal file
@ -0,0 +1,116 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 20px auto;
|
||||
font-family: "Lato";
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
form {
|
||||
padding: 15px 25px;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
form label {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input {
|
||||
font-family: "Lato";
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0000ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#chatMessages {
|
||||
text-align: left;
|
||||
margin: 0 auto;
|
||||
padding: 10px;
|
||||
height: 300px;
|
||||
border: 1px solid #a7a7a7;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#usermsg {
|
||||
flex: 1;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ff9800;
|
||||
}
|
||||
|
||||
#name {
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ff9800;
|
||||
padding: 2px 8px;
|
||||
}
|
||||
|
||||
#submitmsg,
|
||||
#enter{
|
||||
background: #ff9800;
|
||||
border: 2px solid #e65100;
|
||||
color: white;
|
||||
padding: 4px 10px;
|
||||
font-weight: bold;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
#menu {
|
||||
padding: 15px 25px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
#menu p.welcome {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
a#exit {
|
||||
color: white;
|
||||
background: #c62828;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.msgln {
|
||||
margin: 0 0 5px 0;
|
||||
}
|
||||
|
||||
.span.left-info {
|
||||
color: orangered;
|
||||
}
|
||||
|
||||
span .chat-time {
|
||||
color: #666;
|
||||
font-size: 80%;
|
||||
vertical-align: super;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.msgln b.user-name, .msgln b.user-name-left {
|
||||
font-weight: bold;
|
||||
background: #546e7a;
|
||||
color: white;
|
||||
padding: 2px 4px;
|
||||
font-size: 90%;
|
||||
border-radius: 4px;
|
||||
margin: 0 5px 0 0;
|
||||
}
|
||||
|
||||
.msgln b.user-name-left {
|
||||
background: orangered;
|
||||
}
|
Reference in New Issue
Block a user