Minor changes

This commit is contained in:
Mattias Erming 2014-08-15 17:05:37 -07:00
parent 03a79a1312
commit cb1effa375
4 changed files with 260 additions and 284 deletions

View File

@ -277,7 +277,7 @@ button {
}
#windows .input {
border: 1px solid #cdd3da;
border-radius: 3px;
border-radius: 2px;
color: #222;
font-size: 14px;
margin: 2px 0;
@ -481,13 +481,6 @@ button {
#chat .highlight .from {
color: #f00;
}
#chat.hide-join .join,
#chat.hide-nick .nick,
#chat.hide-part .nick,
#chat.hide-mode .mode,
#chat.hide-quit .quit {
display: none !important;
}
#chat .notice .type {
display: none;
}
@ -593,6 +586,9 @@ button {
#settings #play {
color: #7f8c8d;
}
#settings .about small {
margin-left: 2px;
}
#settings #play:hover {
opacity: .8;
}
@ -646,7 +642,8 @@ button {
transform: translate3d(220px, 0, 0);
}
#viewport.rt #chat .sidebar {
right: 0px;
-webkit-transform: translate3d(-180px, 0, 0);
transform: translate3d(-180px, 0, 0);
}
#sidebar {
left: -220px;
@ -667,7 +664,11 @@ button {
}
#chat .sidebar {
right: -180px;
transition: .2s right;
transition: all .4s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-perspective: 1000;
perspective: 1000;
}
}

View File

@ -113,39 +113,6 @@
<div class="col-sm-12">
<h1 class="title">Settings</h1>
</div>
<div class="col-sm-12">
<h2>Messages</h2>
</div>
<div class="col-sm-6">
<label class="opt">
<input type="checkbox" name="join">
Show joins
</label>
</div>
<div class="col-sm-6">
<label class="opt">
<input type="checkbox" name="nick">
Show nick changes
</label>
</div>
<div class="col-sm-6">
<label class="opt">
<input type="checkbox" name="part">
Show parts
</label>
</div>
<div class="col-sm-6">
<label class="opt">
<input type="checkbox" name="mode">
Show mode
</label>
</div>
<div class="col-sm-6">
<label class="opt">
<input type="checkbox" name="quit">
Show quits
</label>
</div>
<div class="col-sm-12">
<h2>Sound</h2>
</div>
@ -165,10 +132,8 @@
</div>
<div class="col-sm-12">
<p class="about">
You're currently running
<strong class="version">Shout <%=version%></strong>
<br>
Click <a href="http://github.com/erming/shout" target="_blank">here</a> for updates.
You're currently running version <small><%=version%></small><br>
<a href="http://github.com/erming/shout" target="_blank">Check for updates</a>
</p>
</div>
</div>

View File

@ -177,7 +177,10 @@ $(function() {
.prop("disabled", false)
.end()
.find("input")
.val("");
.each(function() {
var self = $(this);
self.val(self.data("default"));
});
});
socket.on("nick", function(data) {
@ -213,6 +216,13 @@ $(function() {
.html(render("users", data));
});
$("#connect")
.find("input")
.each(function() {
var self = $(this);
self.data("default", self.val());
});
$.cookie.json = true;
var settings = $("#settings");
var options = $.extend({

View File

@ -1,7 +1,7 @@
{
"name": "shout",
"description": "A web IRC client",
"version": "0.9.8",
"version": "0.9.9",
"author": "Mattias Erming",
"preferGlobal": true,
"bin": {