2014-03-05 13:46:16 +00:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
font: 12px Consolas, monospace;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2014-03-17 00:54:58 +00:00
|
|
|
|
|
|
|
a:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2014-03-05 13:46:16 +00:00
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
font: inherit;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-03-17 00:54:58 +00:00
|
|
|
#wrap,
|
|
|
|
#viewport {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#chat .toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-03-05 13:46:16 +00:00
|
|
|
#sidebar {
|
2014-03-16 19:00:57 +00:00
|
|
|
background: #f7f7f9;
|
|
|
|
border-right: 1px solid #e1e1e8;
|
2014-03-05 13:46:16 +00:00
|
|
|
float: left;
|
|
|
|
height: 100%;
|
2014-03-14 19:03:25 +00:00
|
|
|
width: 200px;
|
2014-03-05 13:46:16 +00:00
|
|
|
}
|
2014-03-16 19:00:57 +00:00
|
|
|
#sidebar .header {
|
|
|
|
background: #fff;
|
|
|
|
height: 43px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
#sidebar .header .nav {
|
|
|
|
bottom: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 10px;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#sidebar .header .nav a {
|
|
|
|
line-height: 1em;
|
|
|
|
}
|
|
|
|
#sidebar .header .nav .active a {
|
|
|
|
background: #f7f7f9;
|
|
|
|
}
|
2014-03-14 19:03:25 +00:00
|
|
|
#sidebar .list-group {
|
|
|
|
margin: 10px 0;
|
|
|
|
padding: 0 10px;
|
2014-03-05 13:46:16 +00:00
|
|
|
}
|
2014-03-15 15:07:49 +00:00
|
|
|
#sidebar .list-group-item {
|
|
|
|
padding: 10px 12px;
|
|
|
|
}
|
|
|
|
#sidebar .list-group-item .badge {
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: normal;
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
2014-03-16 20:07:27 +00:00
|
|
|
#sidebar .panel {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
#sidebar .panel label {
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 5px;
|
|
|
|
padding: 5px 0;
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
#sidebar .panel label.first {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
#sidebar .panel input[type=checkbox] {
|
|
|
|
float: left;
|
|
|
|
margin-top: 1px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2014-03-05 13:46:16 +00:00
|
|
|
#chat {
|
|
|
|
bottom: 0;
|
|
|
|
left: 200px;
|
|
|
|
line-height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
#chat form {
|
2014-03-16 19:00:57 +00:00
|
|
|
border-top: 1px solid #ddd;
|
2014-03-17 00:54:58 +00:00
|
|
|
bottom: 1px;
|
2014-03-16 19:00:57 +00:00
|
|
|
height: 30px;
|
2014-03-05 13:46:16 +00:00
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
#chat form input {
|
|
|
|
border: 0;
|
|
|
|
font: inherit;
|
2014-03-16 19:00:57 +00:00
|
|
|
height: 30px;
|
2014-03-05 13:46:16 +00:00
|
|
|
margin: 0;
|
|
|
|
outline: none;
|
2014-03-14 19:03:25 +00:00
|
|
|
padding: 0 10px;
|
2014-03-05 13:46:16 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
2014-03-16 20:07:27 +00:00
|
|
|
#chat.hide-join .join,
|
|
|
|
#chat.hide-part .part,
|
|
|
|
#chat.hide-nick .nick,
|
|
|
|
#chat.hide-quit .quit {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-03-15 15:51:21 +00:00
|
|
|
#chat .window {
|
2014-03-05 13:46:16 +00:00
|
|
|
background: #fff;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-03-15 15:51:21 +00:00
|
|
|
#chat .network .close,
|
2014-03-05 13:46:16 +00:00
|
|
|
#chat .network .users {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-03-16 19:00:57 +00:00
|
|
|
#chat .network .title,
|
2014-03-05 13:46:16 +00:00
|
|
|
#chat .network .messages {
|
|
|
|
right: 0;
|
|
|
|
}
|
2014-03-15 15:51:21 +00:00
|
|
|
#chat .query .users {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-03-16 19:00:57 +00:00
|
|
|
#chat .query .title,
|
2014-03-15 15:51:21 +00:00
|
|
|
#chat .query .messages {
|
|
|
|
right: 0;
|
|
|
|
}
|
2014-03-05 13:46:16 +00:00
|
|
|
#chat .title {
|
2014-03-16 19:00:57 +00:00
|
|
|
border-bottom: 1px solid #ddd;
|
2014-03-14 21:57:54 +00:00
|
|
|
height: 43px;
|
2014-03-16 19:00:57 +00:00
|
|
|
left: 0;
|
2014-03-17 00:54:58 +00:00
|
|
|
overflow: hidden;
|
2014-03-05 13:46:16 +00:00
|
|
|
padding-left: 10px;
|
|
|
|
position: absolute;
|
2014-03-16 19:00:57 +00:00
|
|
|
right: 160px;
|
2014-03-05 13:46:16 +00:00
|
|
|
top: 0;
|
|
|
|
}
|
2014-03-14 21:57:54 +00:00
|
|
|
#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;
|
|
|
|
}
|
2014-03-05 13:46:16 +00:00
|
|
|
#chat .users {
|
2014-03-17 00:54:58 +00:00
|
|
|
background: #fff;
|
2014-03-16 19:00:57 +00:00
|
|
|
border-left: 1px solid #ddd;
|
2014-03-17 16:24:32 +00:00
|
|
|
bottom: 30px;
|
2014-03-05 13:46:16 +00:00
|
|
|
overflow-y: auto;
|
2014-03-12 18:06:08 +00:00
|
|
|
padding: 4px 0;
|
|
|
|
position: absolute;
|
2014-03-16 19:00:57 +00:00
|
|
|
right: 0;
|
|
|
|
top: 0;
|
2014-03-15 15:07:49 +00:00
|
|
|
width: 160px;
|
2014-03-05 13:46:16 +00:00
|
|
|
}
|
|
|
|
#chat .users .user {
|
|
|
|
clear: both;
|
|
|
|
color: #f00;
|
|
|
|
float: left;
|
2014-03-16 19:00:57 +00:00
|
|
|
padding: 0 8px;
|
2014-03-05 13:46:16 +00:00
|
|
|
}
|
|
|
|
#chat .messages {
|
2014-03-16 19:00:57 +00:00
|
|
|
bottom: 30px;
|
2014-03-05 13:46:16 +00:00
|
|
|
left: 0;
|
|
|
|
overflow-y: auto;
|
2014-03-13 15:50:33 +00:00
|
|
|
padding: 4px 8px;
|
2014-03-05 13:46:16 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 160px;
|
2014-03-14 21:57:54 +00:00
|
|
|
top: 43px;
|
2014-03-06 18:53:02 +00:00
|
|
|
word-wrap: break-word;
|
2014-03-05 13:46:16 +00:00
|
|
|
z-index: 0;
|
|
|
|
}
|
2014-03-13 15:50:33 +00:00
|
|
|
#chat .message .time {
|
2014-03-05 13:46:16 +00:00
|
|
|
color: #bbb;
|
|
|
|
}
|
2014-03-13 15:50:33 +00:00
|
|
|
#chat .message .user {
|
2014-03-05 13:46:16 +00:00
|
|
|
color: #f00;
|
|
|
|
}
|
2014-03-13 15:50:33 +00:00
|
|
|
#chat .message .text {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
#chat .message.normal .text {
|
|
|
|
color: #000;
|
2014-03-17 00:54:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
#wrap {
|
|
|
|
overflow: hidden;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#viewport {
|
|
|
|
-webkit-transition: -webkit-transform .2s ease-out;
|
|
|
|
transition: transform .2s ease-out;
|
|
|
|
-webkit-transform: translateX(0);
|
|
|
|
transform: translateX(0);
|
|
|
|
height: 100%;
|
|
|
|
margin-left: -200px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#viewport.left {
|
|
|
|
-webkit-transform: translateX(200px);
|
|
|
|
transform: translateX(200px);
|
|
|
|
}
|
|
|
|
#viewport.right {
|
|
|
|
-webkit-transform: translateX(-160px);
|
|
|
|
transform: translateX(-160px);
|
|
|
|
}
|
|
|
|
#chat {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#chat .toggle {
|
|
|
|
background: #f00;
|
|
|
|
display: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
#chat .toggle a {
|
|
|
|
color: #000;
|
|
|
|
height: 42px;
|
|
|
|
line-height: 46px;
|
|
|
|
width: 46px;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
#chat .toggle .left {
|
|
|
|
border-left: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
#chat .toggle .right {
|
|
|
|
display: none;
|
|
|
|
border-right: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
#chat .channel .title,
|
|
|
|
#chat .channel .messages {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
#chat .channel .right {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
#chat .title {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#chat .title .btn {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#chat .users {
|
2014-03-17 16:24:32 +00:00
|
|
|
bottom: 0;
|
2014-03-17 00:54:58 +00:00
|
|
|
right: -160px;
|
|
|
|
}
|
|
|
|
#chat .users a {
|
|
|
|
line-height: 1.8em;
|
|
|
|
}
|
2014-03-13 15:50:33 +00:00
|
|
|
}
|