Minor bugfix

This commit is contained in:
Mattias Erming 2014-03-19 01:52:09 +01:00
parent db4e62b693
commit 923dbcbeeb
3 changed files with 11 additions and 12 deletions

View File

@ -3,7 +3,6 @@ body {
font: 12px Consolas, monospace; font: 12px Consolas, monospace;
height: 100%; height: 100%;
} }
a:focus { a:focus {
outline: 0; outline: 0;
} }
@ -162,9 +161,8 @@ h2 {
width: 160px; width: 160px;
} }
#chat .users .user { #chat .users .user {
clear: both; display: block;
color: #f00; color: #f00;
float: left;
padding: 0 8px; padding: 0 8px;
} }
#chat .messages { #chat .messages {
@ -220,8 +218,9 @@ h2 {
} }
#chat .toggle { #chat .toggle {
background: #f00; background: #f00;
display: inherit; display: block;
font-size: 14px; font-size: 14px;
position: relative;
} }
#chat .toggle a { #chat .toggle a {
color: #000; color: #000;
@ -230,7 +229,6 @@ h2 {
width: 46px; width: 46px;
position: absolute; position: absolute;
text-align: center; text-align: center;
z-index: 9999;
} }
#chat .toggle .left { #chat .toggle .left {
border-left: 0; border-left: 0;
@ -249,6 +247,7 @@ h2 {
display: inherit; display: inherit;
} }
#chat .title { #chat .title {
padding: 0;
text-align: center; text-align: center;
} }
#chat .title .btn { #chat .title .btn {

View File

@ -80,11 +80,11 @@
<script type="text/html" id="window"> <script type="text/html" id="window">
{{#channels}} {{#channels}}
<div class="window {{type}}" data-id="{{id}}"> <div class="window {{type}}" data-id="{{id}}">
<div class="toggle">
<a href="#" class="left"><i class="fa fa-toggle-right"></i></a>
<a href="#" class="right"><i class="fa fa-toggle-left"></i></a>
</div>
<div class="title"> <div class="title">
<div class="toggle">
<a href="#" class="left"><i class="fa fa-toggle-right"></i></a>
<a href="#" class="right"><i class="fa fa-toggle-left"></i></a>
</div>
<h1>{{name}}</h1> <h1>{{name}}</h1>
<button class="close btn btn-danger btn-sm ">Leave</button> <button class="close btn btn-danger btn-sm ">Leave</button>
</div> </div>

View File

@ -202,9 +202,9 @@ $(function() {
$.fn.bringToTop = function() { $.fn.bringToTop = function() {
return this.css('z-index', highest++) return this.css('z-index', highest++)
.addClass("active") .addClass("active")
//.find(".input") .find(".input")
//.focus() .focus()
//.end() .end()
.siblings() .siblings()
.removeClass("active") .removeClass("active")
.end(); .end();