232 lines
4.3 KiB
CSS
232 lines
4.3 KiB
CSS
#chat_container > header {
|
|
font-weight: bold;
|
|
line-height: 30px;
|
|
font-size: 18px;
|
|
background-color: #ffe7cf;
|
|
padding: 5px;
|
|
color: #96612d;
|
|
margin: -13px -10px -10px -10px;
|
|
}
|
|
|
|
#chat_container > header > span:last-child {
|
|
font-size: 14px;
|
|
float: right;
|
|
}
|
|
|
|
#chat_container .chat-items {
|
|
position: absolute;
|
|
top: 35px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 160px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item {
|
|
padding: 5px;
|
|
border-radius: 3px;
|
|
background-color: #f9f9f9;
|
|
color: #888;
|
|
margin-bottom: 10px;
|
|
line-height: 170%;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item i {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item em {
|
|
font-weight: normal;
|
|
color: gray;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
font-style: normal;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item > header {
|
|
font-weight: bold;
|
|
float: left;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item > section {
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item > section img {
|
|
max-width: 300px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
#chat_container .chat-items .chat-item > section > div {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item > time {
|
|
float: right;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item-alert {
|
|
color: #46474E;
|
|
background-color: #F8F8F8;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item-warning {
|
|
color: #bb4474;
|
|
background-color: #FFF4F4;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item-self {
|
|
color: rgb(55, 153, 55);
|
|
background-color: #EFFAEF;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-items-system {
|
|
border: 2px solid;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item-receive {
|
|
color: rgb(50, 83, 168);
|
|
background-color: #F9FAFF;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item-target {
|
|
color: rgb(50, 83, 168);
|
|
background-color: #BBE7FF;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-item-private {
|
|
border-width: 2px;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-state-disconnect,
|
|
#chat_container .chat-items .chat-state-error {
|
|
background-color: #ffeeee;
|
|
color: rgb(168, 50, 64);
|
|
}
|
|
|
|
#chat_container .chat-items .chat-state-disconnect a {
|
|
text-decoration: underline;
|
|
color: #7A7A7A;
|
|
}
|
|
|
|
#chat_container .chat-items .chat-state-disconnect a:hover {
|
|
color: #444444;
|
|
}
|
|
|
|
#chat_container .chat-item-at {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#chat_container .chat-editor {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 150px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
#chat_container .chat-editor > header > .editor-group {
|
|
display: inline-block;
|
|
position: relative;
|
|
vertical-align: bottom;
|
|
overflow: hidden;
|
|
margin-right: -1px;
|
|
}
|
|
|
|
#chat_container .chat-editor > header > .editor-group input[type=file] {
|
|
z-index: 1;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
display: block;
|
|
width: 30px;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#chat_container .chat-editor > header > .editor-group button {
|
|
width: 30px;
|
|
}
|
|
|
|
|
|
#chat_container .chat-editor > header > select {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#chat_container .chat-editor > header > button,
|
|
#chat_container .chat-editor > header > input {
|
|
margin-right: -1px;
|
|
}
|
|
|
|
#chat_container .chat-editor > header > select {
|
|
width: 120px;
|
|
}
|
|
|
|
|
|
#chat_container .chat-editor input[type='color'] {
|
|
padding: 0;
|
|
background: none;
|
|
vertical-align: bottom;
|
|
border: 1px solid #ccc;
|
|
cursor: pointer;
|
|
width: 30px;
|
|
}
|
|
|
|
#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;
|
|
line-height: 24px;
|
|
}
|
|
|
|
#chat_container .chat-editor > section .chat-editor-at {
|
|
padding: 5px;
|
|
background-color: royalblue;
|
|
color: #fff;
|
|
margin-right: 5px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#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;
|
|
}
|