140 lines
1.9 KiB
CSS
140 lines
1.9 KiB
CSS
html,
|
|
body {
|
|
font: 12px Consolas, monospace;
|
|
height: 100%;
|
|
}
|
|
ul,
|
|
li {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
h1,
|
|
h2 {
|
|
font: inherit;
|
|
margin: 0;
|
|
}
|
|
#sidebar {
|
|
border-right: 1px solid #ccc;
|
|
float: left;
|
|
height: 100%;
|
|
width: 200px;
|
|
}
|
|
#sidebar .list-group {
|
|
margin: 10px 0;
|
|
padding: 0 10px;
|
|
}
|
|
#sidebar .list-group-item {
|
|
padding: 10px 12px;
|
|
}
|
|
#sidebar .list-group-item .badge {
|
|
font-size: 11px;
|
|
font-weight: normal;
|
|
margin-top: -1px;
|
|
}
|
|
#chat {
|
|
bottom: 0;
|
|
left: 200px;
|
|
line-height: 16px;
|
|
min-width: 400px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
#chat form {
|
|
border-top: 1px solid #ccc;
|
|
bottom: 0;
|
|
height: 32px;
|
|
left: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
}
|
|
#chat form input {
|
|
border: 0;
|
|
font: inherit;
|
|
height: 32px;
|
|
margin: 0;
|
|
outline: none;
|
|
padding: 0 10px;
|
|
width: 100%;
|
|
}
|
|
#chat .window {
|
|
background: #fff;
|
|
height: 100%;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
#chat .network .close,
|
|
#chat .network .users {
|
|
display: none;
|
|
}
|
|
#chat .network .messages {
|
|
right: 0;
|
|
}
|
|
#chat .query .users {
|
|
display: none;
|
|
}
|
|
#chat .query .messages {
|
|
right: 0;
|
|
}
|
|
#chat .title {
|
|
border-bottom: 1px solid #ccc;
|
|
height: 43px;
|
|
padding-left: 10px;
|
|
position: absolute;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
#chat .title h1 {
|
|
color: #333;
|
|
display: inline-block;
|
|
font-size: 18px;
|
|
line-height: 43px;
|
|
}
|
|
#chat .title .btn {
|
|
float: right;
|
|
margin: 6px 6px 0 0;
|
|
}
|
|
#chat .title .btn:focus {
|
|
outline: none;
|
|
}
|
|
#chat .users {
|
|
border-left: 1px solid #ccc;
|
|
bottom: 32px;
|
|
overflow-y: auto;
|
|
padding: 4px 0;
|
|
position: absolute;
|
|
right: 0px;
|
|
top: 43px;
|
|
width: 160px;
|
|
}
|
|
#chat .users .user {
|
|
clear: both;
|
|
color: #f00;
|
|
float: left;
|
|
padding: 0px 8px;
|
|
}
|
|
#chat .messages {
|
|
bottom: 32px;
|
|
left: 0;
|
|
overflow-y: auto;
|
|
padding: 4px 8px;
|
|
position: absolute;
|
|
right: 160px;
|
|
top: 43px;
|
|
word-wrap: break-word;
|
|
z-index: 0;
|
|
}
|
|
#chat .message .time {
|
|
color: #bbb;
|
|
}
|
|
#chat .message .user {
|
|
color: #f00;
|
|
}
|
|
#chat .message .text {
|
|
color: #999;
|
|
}
|
|
#chat .message.normal .text {
|
|
color: #000;
|
|
} |