Select the previous tab or redirect to /connect when closing a tab, move some CSS from inline react styles to classes

This commit is contained in:
khlieng 2015-05-14 01:42:25 +02:00
parent 92de7cb8ef
commit 0eca6a1823
7 changed files with 145 additions and 71 deletions

View file

@ -170,7 +170,7 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
position: fixed;
left: 200px;
top: 0;
right: 200px;
right: 0;
height: 50px;
padding-left: 15px;
line-height: 50px;
@ -179,11 +179,23 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
font-size: 20px;
}
.chat-channel .chat-title-bar {
right: 200px;
}
.chat-title-bar i {
padding: 0 15px;
cursor: pointer;
}
.chat-server .icon-search {
display: none;
}
.chat-server .userlist-bar, .chat-private .userlist-bar {
display: none;
}
.button-leave {
border-left: 1px solid #DDD;
}
@ -226,6 +238,10 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
background: #f0f0f0;
}
.chat-private .search {
right: 0;
}
.search-input {
width: 100%;
padding: 15px;
@ -246,10 +262,14 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
left: 200px;
top: 50px;
bottom: 50px;
right: 200px;
right: 0;
z-index: 1;
}
.chat-channel .messagebox {
right: 200px;
}
.messagebox > div {
padding: 10px 15px;
overflow-y: auto !important;