IRC output gets queued until RPL_WELCOME, added tcp timeouts and error handling, store selected tab in localStorage, more design work, upgraded to lodash 3.0.0

This commit is contained in:
khlieng 2015-01-30 00:38:51 +01:00
parent 5c6c43e017
commit 3c02b00303
18 changed files with 268 additions and 53 deletions

View file

@ -5,17 +5,24 @@
}
body {
font-family: Inconsolata, sans-serif;
font-family: Roboto, sans-serif;
background: #f0f0f0;
}
input {
font: 16px Inconsolata, sans-serif;
font: 16px Roboto, sans-serif;
border: none;
border-top: 1px solid #DDD;
outline: none;
}
button {
font: 16px Montserrat, sans-serif;
border: none;
outline: none;
cursor: pointer;
}
p {
line-height: 1.5;
}
@ -26,20 +33,64 @@ p {
top: 0;
bottom: 0;
width: 200px;
padding: 15px;
overflow: auto;
background: #272626;
background: #222;
color: #FFF;
font-family: Montserrat, sans-serif;
}
.tablist p {
padding: 3px 15px;
cursor: pointer;
}
.tablist p:hover {
background: #111;
}
.tablist p.selected {
padding-left: 10px;
border-left: 5px solid #6BB758;
}
.tab-server {
color: #AAA;
margin-top: 15px !important;
}
.button-connect {
width: 100%;
height: 50px;
background: #6BB758;
color: #FFF;
}
.button-connect:hover {
background: #7BBF6A;
}
.button-connect:active {
background: #6BB758;
}
.side-buttons {
position: fixed;
bottom: 0;
height: 50px;
width: 200px;
text-align: center;
}
.side-buttons button {
background: #333;
color: #FFF;
margin: 5px;
height: 40px;
width: 100px;
}
.chat-title-bar {
font-family: Montserrat, sans-serif;
position: fixed;
left: 200px;
top: 0;
@ -47,14 +98,34 @@ p {
height: 50px;
padding: 0 15px;
line-height: 50px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border-bottom: 1px solid #DDD;
}
.chat-title-bar div {
position: absolute;
left: 0;
right: 100px;
white-space: nowrap;
overflow: hidden;
}
.chat-title {
font-size: 24px;
margin-left: 15px;
font-size: 28px;
}
.chat-topic {
display: none;
font: 16px Roboto, sans-serif;
line-height: 50px;
vertical-align: top;
color: #222;
margin-left: 15px;
}
.chat-usercount {
font-size: 20px;
float: right;
}
.messagebox {
@ -69,11 +140,25 @@ p {
}
.message {
padding-left: 50px;
text-indent: -50px;
}
.message span {
margin-right: 10px;
}
.message-info {
color: #666;
color: #999;
}
.message-time {
color: #999;
}
.message-sender {
color: #6BB758;
font: 16px Montserrat, sans-serif;
}
.message-input-wrap {
@ -100,4 +185,5 @@ p {
padding: 15px;
overflow: auto;
border-left: 1px solid #DDD;
overflow-x: hidden;
}