Light12306/Web12306/css/ui/chat/chat-container.css
2014-07-25 22:28:51 +08:00

128 lines
2.3 KiB
CSS

#chat_container > header {
font-weight: bold;
line-height: 30px;
font-size: 18px;
background-color: #ffe7cf;
padding: 5px;
color: #96612d;
}
#chat_container > header > span:last-child {
font-size: 14px;
float: right;
}
#chat_container .chat-items {
position: absolute;
top: 45px;
left: 0;
right: 0;
bottom: 210px;
}
#chat_container .chat-items .chat-item {
padding: 5px;
border-radius: 3px;
border: 1px solid #adadad;
background-color: #f9f9f9;
color: #888;
margin-bottom: 10px;
line-height: 170%;
}
#chat_container .chat-items .chat-item > header > span {
font-weight: bold;
}
#chat_container .chat-items .chat-item > header > time {
float: right;
}
#chat_container .chat-items .chat-item-alert {
color: #a85252;
background-color: #fffafa;
border-color: #a85252;
}
#chat_container .chat-items .chat-item-self {
color: rgb(15, 136, 15);
border-color: green;
background-color: #fafffa;
}
#chat_container .chat-items .chat-item-receive {
color: rgb(147, 95, 224);
border-color: rgb(152, 106, 201);
background-color: #fafaff;
}
#chat_container .chat-items .chat-item-private {
border-width: 4px;
}
#chat_container .chat-editor {
position: absolute;
bottom: 0;
right: 0;
left: 0;
height: 200px;
}
#chat_container .chat-editor > header {
}
#chat_container .chat-editor input[type='color'] {
padding: 0;
background: none;
vertical-align: bottom;
border: 1px solid #ccc;
cursor: pointer;
}
#chat_container .chat-editor input[type='color']:hover {
background-color: #fafafa;
}
#chat_container .chat-editor > header > button {
background: none;
border: 1px solid #ccc;
padding: 4px 5px;
margin: 0;
vertical-align: bottom;
cursor: pointer;
}
#chat_container .chat-editor > header > button:hover {
background-color: #fafafa;
}
#chat_container .chat-editor > section {
overflow-y: auto;
position: absolute;
left: 0;
right: 0;
top: 35px;
bottom: 45px;
border: 1px solid #bbb;
border-radius: 5px;
padding: 10px;
}
#chat_container .chat-editor > section:focus {
outline: none;
}
#chat_container .chat-editor > header {
}
#chat_container .chat-editor > footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
#chat_container .chat-editor > footer button.button-primary {
float: right;
}