2014-03-05 13:46:16 +00:00
|
|
|
html,
|
|
|
|
body {
|
2014-03-23 01:48:40 +00:00
|
|
|
font: 13px "Consolas", monospace;
|
2014-03-05 13:46:16 +00:00
|
|
|
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-22 19:23:48 +00:00
|
|
|
#chat .join,
|
|
|
|
#chat .part,
|
|
|
|
#chat .nick,
|
|
|
|
#chat .quit {
|
|
|
|
/* Hidden by default */
|
2014-03-16 20:07:27 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2014-03-22 19:23:48 +00:00
|
|
|
#chat.show-join .join,
|
|
|
|
#chat.show-part .part,
|
|
|
|
#chat.show-nick .nick,
|
|
|
|
#chat.show-quit .quit {
|
|
|
|
display: block;
|
|
|
|
}
|
2014-03-15 15:51:21 +00:00
|
|
|
#chat .window {
|
2014-03-05 13:46:16 +00:00
|
|
|
background: #fff;
|
2014-03-19 17:30:06 +00:00
|
|
|
display: none;
|
2014-03-05 13:46:16 +00:00
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-03-19 17:30:06 +00:00
|
|
|
#chat .window.active {
|
|
|
|
display: block;
|
|
|
|
}
|
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-23 01:48:40 +00:00
|
|
|
line-height: 1.4em;
|
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 {
|
2014-03-19 00:52:09 +00:00
|
|
|
display: block;
|
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-23 01:48:40 +00:00
|
|
|
padding: 4px 0;
|
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-23 01:48:40 +00:00
|
|
|
#chat .message {
|
|
|
|
line-height: 1.4em;
|
|
|
|
padding: 0 6px;
|
|
|
|
}
|
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 {
|
2014-03-22 20:37:09 +00:00
|
|
|
color: inherit;
|
2014-03-13 15:50:33 +00:00
|
|
|
}
|
2014-03-22 20:37:09 +00:00
|
|
|
#chat .message.join,
|
|
|
|
#chat .message.part,
|
|
|
|
#chat .message.nick,
|
|
|
|
#chat .message.quit,
|
2014-03-22 21:42:02 +00:00
|
|
|
#chat .message.notice,
|
|
|
|
#chat .message.error {
|
2014-03-22 20:37:09 +00:00
|
|
|
color: #999;
|
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;
|
2014-03-19 00:52:09 +00:00
|
|
|
display: block;
|
2014-03-17 00:54:58 +00:00
|
|
|
font-size: 14px;
|
2014-03-19 00:52:09 +00:00
|
|
|
position: relative;
|
2014-03-17 00:54:58 +00:00
|
|
|
}
|
|
|
|
#chat .toggle a {
|
|
|
|
color: #000;
|
|
|
|
height: 42px;
|
|
|
|
line-height: 46px;
|
|
|
|
width: 46px;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#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 {
|
2014-03-19 00:52:09 +00:00
|
|
|
padding: 0;
|
2014-03-17 00:54:58 +00:00
|
|
|
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
|
|
|
}
|