thelounge/client/css/style.css

248 lines
3.6 KiB
CSS
Raw Normal View History

2014-03-05 14:46:16 +01:00
html,
body {
2014-03-23 02:48:40 +01:00
font: 13px "Consolas", monospace;
2014-03-05 14:46:16 +01:00
height: 100%;
}
2014-03-17 01:54:58 +01:00
a:focus {
outline: 0;
}
2014-03-05 14:46:16 +01:00
h1,
h2 {
font: inherit;
margin: 0;
}
2014-04-09 22:54:04 +02:00
.nav a[data-toggle]:hover {
2014-03-30 05:12:29 +02:00
background: #f9f9f9;
}
2014-04-09 22:54:04 +02:00
.user {
color: #f00;
cursor: pointer;
2014-04-10 23:34:53 +02:00
}
.user:hover {
color: #999;
2014-04-09 22:54:04 +02:00
}
2014-03-17 01:54:58 +01:00
#wrap,
#viewport {
height: 100%;
width: 100%;
}
#chat .toggle {
display: none;
}
2014-03-05 14:46:16 +01:00
#sidebar {
2014-03-16 20:00:57 +01:00
background: #f7f7f9;
border-right: 1px solid #e1e1e8;
2014-03-05 14:46:16 +01:00
float: left;
height: 100%;
2014-03-14 20:03:25 +01:00
width: 200px;
2014-03-05 14:46:16 +01:00
}
2014-03-16 20:00:57 +01: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 20:03:25 +01:00
#sidebar .list-group {
margin: 10px 0;
padding: 0 10px;
2014-03-05 14:46:16 +01:00
}
2014-03-15 16:07:49 +01: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 21:07:27 +01: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 14:46:16 +01:00
#chat {
bottom: 0;
left: 200px;
line-height: 16px;
position: absolute;
right: 0;
top: 0;
}
2014-04-14 02:39:34 +02:00
#chat a {
color: inherit;
}
2014-03-05 14:46:16 +01:00
#chat form {
2014-03-16 20:00:57 +01:00
border-top: 1px solid #ddd;
2014-03-17 01:54:58 +01:00
bottom: 1px;
2014-03-16 20:00:57 +01:00
height: 30px;
2014-03-05 14:46:16 +01:00
left: 0;
position: absolute;
right: 0;
}
#chat form input {
border: 0;
font: inherit;
2014-03-16 20:00:57 +01:00
height: 30px;
2014-03-05 14:46:16 +01:00
margin: 0;
outline: none;
2014-03-14 20:03:25 +01:00
padding: 0 10px;
2014-03-05 14:46:16 +01:00
width: 100%;
}
2014-03-22 20:23:48 +01:00
#chat .join,
#chat .part,
#chat .nick,
2014-04-08 16:18:06 +02:00
#chat .quit,
#chat .mode,
#chat .kick {
2014-03-22 20:23:48 +01:00
/* Hidden by default */
2014-03-16 21:07:27 +01:00
display: none;
}
2014-03-22 20:23:48 +01:00
#chat.show-join .join,
#chat.show-part .part,
#chat.show-nick .nick,
2014-04-08 16:18:06 +02:00
#chat.show-quit .quit,
#chat.show-mode .mode,
#chat.show-kick .kick {
2014-03-22 20:23:48 +01:00
display: block;
}
2014-03-15 16:51:21 +01:00
#chat .window {
2014-03-05 14:46:16 +01:00
background: #fff;
height: 100%;
position: absolute;
width: 100%;
}
2014-03-19 18:30:06 +01:00
#chat .window.active {
display: block;
}
2014-03-15 16:51:21 +01:00
#chat .network .close,
2014-03-05 14:46:16 +01:00
#chat .network .users {
display: none;
}
2014-03-16 20:00:57 +01:00
#chat .network .title,
2014-03-05 14:46:16 +01:00
#chat .network .messages {
right: 0;
}
2014-03-15 16:51:21 +01:00
#chat .query .users {
display: none;
}
2014-03-16 20:00:57 +01:00
#chat .query .title,
2014-03-15 16:51:21 +01:00
#chat .query .messages {
right: 0;
}
2014-03-05 14:46:16 +01:00
#chat .title {
2014-03-16 20:00:57 +01:00
border-bottom: 1px solid #ddd;
2014-03-14 22:57:54 +01:00
height: 43px;
2014-03-16 20:00:57 +01:00
left: 0;
2014-03-17 01:54:58 +01:00
overflow: hidden;
2014-03-05 14:46:16 +01:00
padding-left: 10px;
position: absolute;
2014-03-16 20:00:57 +01:00
right: 160px;
2014-03-05 14:46:16 +01:00
top: 0;
}
2014-03-14 22:57:54 +01: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 14:46:16 +01:00
#chat .users {
2014-03-17 01:54:58 +01:00
background: #fff;
2014-03-16 20:00:57 +01:00
border-left: 1px solid #ddd;
2014-03-17 17:24:32 +01:00
bottom: 30px;
2014-03-23 02:48:40 +01:00
line-height: 1.4em;
2014-03-05 14:46:16 +01:00
overflow-y: auto;
2014-03-12 19:06:08 +01:00
padding: 4px 0;
position: absolute;
2014-03-16 20:00:57 +01:00
right: 0;
top: 0;
2014-03-15 16:07:49 +01:00
width: 160px;
2014-03-05 14:46:16 +01:00
}
2014-04-14 17:18:18 +02:00
#chat .users .count {
color: #bbb;
padding: 0 8px;
}
2014-03-05 14:46:16 +01:00
#chat .users .user {
2014-03-16 20:00:57 +01:00
padding: 0 8px;
2014-03-05 14:46:16 +01:00
}
#chat .messages {
2014-04-21 17:08:57 +02:00
box-shadow: inset 8px 0 0 #f7f7f9;
2014-03-16 20:00:57 +01:00
bottom: 30px;
2014-03-05 14:46:16 +01:00
left: 0;
overflow-y: auto;
2014-03-23 02:48:40 +01:00
padding: 4px 0;
2014-03-05 14:46:16 +01:00
position: absolute;
right: 160px;
2014-03-14 22:57:54 +01:00
top: 43px;
2014-03-06 19:53:02 +01:00
word-wrap: break-word;
2014-03-05 14:46:16 +01:00
z-index: 0;
}
2014-03-23 02:48:40 +01:00
#chat .message {
2014-04-21 17:08:57 +02:00
border-left: 8px solid #f7f7f9;
2014-03-23 02:48:40 +01:00
line-height: 1.4em;
2014-04-07 23:19:20 +02:00
padding: 0 8px;
2014-03-23 02:48:40 +01:00
}
2014-04-02 17:24:33 +02:00
#chat .message div {
display: inline;
}
2014-03-13 16:50:33 +01:00
#chat .message .time {
2014-03-05 14:46:16 +01:00
color: #bbb;
}
2014-04-07 23:19:20 +02:00
#chat .message .type,
2014-03-13 16:50:33 +01:00
#chat .message .text {
2014-03-22 21:37:09 +01:00
color: inherit;
2014-03-13 16:50:33 +01:00
}
2014-04-21 17:20:19 +02:00
#chat .join,
#chat .part,
#chat .nick,
#chat .quit,
#chat .notice,
#chat .error {
2014-03-22 21:37:09 +01:00
color: #999;
2014-03-17 01:54:58 +01:00
}
2014-04-21 17:20:19 +02:00
#chat .highlight,
#chat .topic {
2014-04-21 17:08:57 +02:00
background: #fcf8e3;
border-left-color: #faebcc;
color: #8a6d3b;
}
2014-04-21 17:20:19 +02:00
#chat .highlight .type {
2014-04-21 17:08:57 +02:00
display: none;
}
2014-04-21 17:20:19 +02:00
#chat .topic .type {
opacity: 0.5;
}
#chat .topic .type:after {
content: ":";
}