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 { #windows .input {
border: 1px solid #cdd3da; border: 1px solid #cdd3da;
border-radius: 3px; border-radius: 2px;
color: #222; color: #222;
font-size: 14px; font-size: 14px;
margin: 2px 0; margin: 2px 0;
@ -481,13 +481,6 @@ button {
#chat .highlight .from { #chat .highlight .from {
color: #f00; 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 { #chat .notice .type {
display: none; display: none;
} }
@ -593,6 +586,9 @@ button {
#settings #play { #settings #play {
color: #7f8c8d; color: #7f8c8d;
} }
#settings .about small {
margin-left: 2px;
}
#settings #play:hover { #settings #play:hover {
opacity: .8; opacity: .8;
} }
@ -646,7 +642,8 @@ button {
transform: translate3d(220px, 0, 0); transform: translate3d(220px, 0, 0);
} }
#viewport.rt #chat .sidebar { #viewport.rt #chat .sidebar {
right: 0px; -webkit-transform: translate3d(-180px, 0, 0);
transform: translate3d(-180px, 0, 0);
} }
#sidebar { #sidebar {
left: -220px; left: -220px;
@ -667,7 +664,11 @@ button {
} }
#chat .sidebar { #chat .sidebar {
right: -180px; 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"> <div class="col-sm-12">
<h1 class="title">Settings</h1> <h1 class="title">Settings</h1>
</div> </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"> <div class="col-sm-12">
<h2>Sound</h2> <h2>Sound</h2>
</div> </div>
@ -165,10 +132,8 @@
</div> </div>
<div class="col-sm-12"> <div class="col-sm-12">
<p class="about"> <p class="about">
You're currently running You're currently running version <small><%=version%></small><br>
<strong class="version">Shout <%=version%></strong> <a href="http://github.com/erming/shout" target="_blank">Check for updates</a>
<br>
Click <a href="http://github.com/erming/shout" target="_blank">here</a> for updates.
</p> </p>
</div> </div>
</div> </div>

View File

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

View File

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