diff --git a/client/css/style.css b/client/css/style.css index e91d63ec..5b806b9f 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -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; } } diff --git a/client/index.html b/client/index.html index 3e86b2f2..0608382d 100644 --- a/client/index.html +++ b/client/index.html @@ -1,272 +1,237 @@ - - - - - - - - - Shout - - - - - - - - - "> - -
-
- -
-
-
-
-
-
-
-

Sign in

-
-
- -
-
- -
- -
- -
-
-
-
-
-
-
-
-

Connect

-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
-
-
-
-
-

Settings

-
-
-

Messages

-
-
- -
-
- -
-
- -
-
- -
-
- -
-
-

Sound

-
-
- -
-
-
- -
-
-
-

About Shout

-
-
-

- You're currently running - Shout <%=version%> -
- Click here for updates. -

-
-
-
-
-
-
-
- - -
-
-
-
-
- -
- - - - - - - - - -
- - - - - - + + + + + + + + + Shout + + + + + + + + + "> + +
+
+ +
+
+
+
+
+
+
+

Sign in

+
+
+ +
+
+ +
+ +
+ +
+
+
+
+
+
+
+
+

Connect

+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+

Settings

+
+
+

Sound

+
+
+ +
+
+
+ +
+
+
+

About Shout

+
+
+

+ You're currently running version <%=version%>
+ Check for updates +

+
+
+
+
+
+
+
+ + +
+
+
+
+
+ +
+ + + + + + + + + +
+ + + + + + diff --git a/client/js/chat.js b/client/js/chat.js index 2d610d81..f5a1f12d 100644 --- a/client/js/chat.js +++ b/client/js/chat.js @@ -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({ diff --git a/package.json b/package.json index 19c856a7..58b5e911 100644 --- a/package.json +++ b/package.json @@ -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": {