thelounge/client/style.css
2014-04-30 17:14:54 +02:00

231 lines
3.3 KiB
CSS

* {
box-sizing: border-box;
}
html,
body {
background: #fff;
color: #34495e;
font: 13px Helvetica, Arial, sans-serif;
height: 100%;
margin: 0;
}
a,
.user {
color: #16a085;
text-decoration: none;
transition: all .25s;
}
a:hover,
.user:hover {
color: #1abc9c;
}
a:focus,
button:focus {
outline: 0;
}
h1,
h2 {
font: inherit;
margin: 0;
}
button {
background: none;
border: 0;
color: inherit;
font: inherit;
margin: 0;
padding: 0;
}
button {
cursor: pointer;
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}
.btn {
border: 2px solid #bdc3c7;
border-radius: 3px;
color: #aeb6bf;
font: 14px Helvetica, Arial, sans-serif;
padding: 8px 12px;
text-decoration: none;
transition: all .25s;
}
.btn:hover {
border-color: #7f8c8d;
color: #7f8c8d;
}
.badge {
background-color: #d8dce0;
border-radius: 4px;
color: #ffffff;
font-size: 13px;
line-height: 1.615;
padding: 0 8px;
}
#wrap,
#viewport {
height: 100%;
min-width: 720px;
position: relative;
width: 100%;
}
#sidebar {
border-right: 4px solid #bdc3c7;
float: left;
height: 100%;
padding: 20px;
width: 200px;
}
#sidebar .network + .network {
border-top: 2px solid #ebedef;
margin-top: 14px;
padding-top: 14px;
}
#sidebar .header {
color: #aeb6bf;
font-size: 13px;
font-weight: bold;
padding: 6px 12px;
text-transform: uppercase;
}
#sidebar .channel {
border-radius: 2px;
color: #16a085;
display: block;
font-size: 15px;
font-weight: bold;
line-height: 1.2;
padding: 6px 12px;
text-align: left;
transition: all .25s;
width: 100%;
}
#sidebar .channel + .channel {
margin-top: 3px;
}
#sidebar .channel:hover {
background-color: #f1f2f3;
color: #1abc9c;
}
#sidebar .channel.active {
background-color: #ebedef;
color: #526476;
}
#chat {
background: #fff;
bottom: 0;
font: 12px "Consolas", monospace;
left: 200px;
line-height: 16px;
position: absolute;
right: 0;
top: 0;
}
#chat form {
border-top: 1px solid #bdc3c7;
bottom: 1px;
height: 30px;
left: 0;
position: absolute;
right: 0;
}
#chat form input {
border: 0;
font: inherit;
height: 30px;
margin: 0;
outline: none;
padding: 0 10px;
width: 100%;
}
#chat .query .users,
#chat .lobby .users,
#chat .lobby .close {
display: none;
}
#chat .query .messages,
#chat .lobby .messages {
right: 0;
}
#chat .window {
background: #fff;
height: 100%;
position: absolute;
width: 100%;
}
#chat .messages {
bottom: 30px;
left: 0;
overflow-y: auto;
padding: 0 8px 4px;
position: absolute;
right: 160px;
top: 0;
word-wrap: break-word;
z-index: 0;
}
#chat .show-more {
display: none;
margin-top: 4px;
padding: 2px 0;
}
#chat .show-more .btn {
width: 100%;
}
#chat .msg {
margin: 4px 0;
}
#chat .time {
color: #bdc3c7;
}
#chat .error,
#chat .join,
#chat .kick,
#chat .mode,
#chat .motd,
#chat .nick,
#chat .notice,
#chat .part,
#chat .quit,
#chat .topic,
#chat .whois {
color: #95a5a6;
}
#chat .motd .type,
#chat .notice .type,
#chat .whois .type {
display: none;
}
#chat .users {
border-left: 4px solid #bdc3c7;
bottom: 30px;
overflow-y: auto;
padding-bottom: 6px;
position: absolute;
right: 0;
top: 0;
width: 160px;
}
#chat .users .count {
background: #ecf0f1;
color: #aeb6bf;
margin-bottom: 4px;
padding: 8px 12px;
}
#chat .users .user {
display: block;
padding: 4px 12px;
}
#footer {
bottom: 0;
position: absolute;
text-align: center;
width: 195px;
}
#footer .btn {
display: block;
margin: 20px;
}