2014-03-05 13:46:16 +00:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
font: 12px Consolas, monospace;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
ul,
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
font: inherit;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
#sidebar {
|
|
|
|
background: #f0f0f0;
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
float: left;
|
|
|
|
height: 100%;
|
2014-03-06 18:02:43 +00:00
|
|
|
line-height: 36px;
|
2014-03-05 13:46:16 +00:00
|
|
|
width: 199px;
|
|
|
|
}
|
|
|
|
#sidebar .channel {
|
2014-03-06 18:02:43 +00:00
|
|
|
border-bottom: 1px solid transparent;
|
2014-03-05 13:46:16 +00:00
|
|
|
color: #f00;
|
2014-03-05 17:33:11 +00:00
|
|
|
cursor: pointer;
|
2014-03-06 18:02:43 +00:00
|
|
|
padding: 0 12px;
|
2014-03-05 13:46:16 +00:00
|
|
|
}
|
2014-03-06 18:02:43 +00:00
|
|
|
#sidebar .channel[data-id='0'] {
|
|
|
|
background: #eaeaea;
|
|
|
|
border-bottom-color: #e5e5e5;
|
2014-03-05 17:33:11 +00:00
|
|
|
}
|
2014-03-06 18:02:43 +00:00
|
|
|
#sidebar .channel:first-child {
|
|
|
|
color: #333;
|
2014-03-05 13:46:16 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2014-03-06 18:02:43 +00:00
|
|
|
#sidebar .channel:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-03-05 13:46:16 +00:00
|
|
|
#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: 26px;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
#chat form input {
|
|
|
|
border: 0;
|
|
|
|
font: inherit;
|
|
|
|
height: 26px;
|
|
|
|
margin: 0;
|
|
|
|
outline: none;
|
|
|
|
padding: 0 6px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#chat .channel,
|
|
|
|
#chat .network {
|
|
|
|
background: #fff;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#chat .network .users {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#chat .network .messages {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
#chat .title {
|
|
|
|
background: #f5f5f5;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
color: #333;
|
|
|
|
font-size: 18px;
|
|
|
|
height: 36px;
|
|
|
|
line-height: 36px;
|
|
|
|
padding-left: 10px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#chat .users {
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
float: right;
|
|
|
|
height: 100%;
|
|
|
|
margin-top: 36px;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding-top: 6px;
|
|
|
|
width: 159px;
|
|
|
|
}
|
|
|
|
#chat .users .user {
|
|
|
|
clear: both;
|
|
|
|
color: #f00;
|
|
|
|
float: left;
|
|
|
|
padding: 0px 8px;
|
|
|
|
}
|
|
|
|
#chat .messages {
|
2014-03-06 18:53:02 +00:00
|
|
|
bottom: 26px;
|
2014-03-05 13:46:16 +00:00
|
|
|
left: 0;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: 6px 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 160px;
|
|
|
|
top: 36px;
|
2014-03-06 18:53:02 +00:00
|
|
|
word-wrap: break-word;
|
2014-03-05 13:46:16 +00:00
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
#chat .messages .message {
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
|
|
|
#chat .messages .time {
|
|
|
|
color: #bbb;
|
|
|
|
}
|
|
|
|
#chat .messages .user {
|
|
|
|
color: #f00;
|
|
|
|
}
|