Fix user toggle

This commit is contained in:
Mattias Erming 2014-08-15 14:33:22 -07:00
parent e4d6f8f9ab
commit 03a79a1312
2 changed files with 11 additions and 9 deletions

View file

@ -16,7 +16,7 @@ body {
margin: 0; margin: 0;
} }
a { a {
/*transition: opacity .2s;*/ transition: opacity .2s;
} }
a:hover { a:hover {
text-decoration: none; text-decoration: none;
@ -349,12 +349,14 @@ button {
margin: 6px 12px 0 -12px; margin: 6px 12px 0 -12px;
width: 36px; width: 36px;
} }
#chat .header .lt:before { #chat .header .lt:before,
#chat .header .rt:before {
font: 16px Octicons; font: 16px Octicons;
content: "\f05e"; content: "\f05e";
} }
#chat .header .rt { #chat .header .rt {
float: right; float: right;
margin: 6px -12px 0 12px;
} }
#chat .header .title { #chat .header .title {
font: 16px Lato; font: 16px Lato;
@ -643,9 +645,8 @@ button {
-webkit-transform: translate3d(220px, 0, 0); -webkit-transform: translate3d(220px, 0, 0);
transform: translate3d(220px, 0, 0); transform: translate3d(220px, 0, 0);
} }
#viewport.rt { #viewport.rt #chat .sidebar {
-webkit-transform: translate3d(-180px, 0, 0); right: 0px;
transform: translate3d(-180px, 0, 0);
} }
#sidebar { #sidebar {
left: -220px; left: -220px;
@ -660,11 +661,13 @@ button {
#chat .chat { #chat .chat {
right: 0; right: 0;
} }
#chat .header .lt { #chat .header .lt,
#chat .channel .header .rt {
display: block; display: block;
} }
#chat .sidebar { #chat .sidebar {
right: -180px; right: -180px;
transition: .2s right;
} }
} }

View file

@ -1,8 +1,7 @@
{ {
"name": "shout", "name": "shout",
"description": "A web IRC client", "description": "A web IRC client",
"version": "0.9.6", "version": "0.9.8",
"homepage": "http://github.com/erming/shout",
"author": "Mattias Erming", "author": "Mattias Erming",
"preferGlobal": true, "preferGlobal": true,
"bin": { "bin": {
@ -13,7 +12,7 @@
"url": "https://github.com/erming/shout.git" "url": "https://github.com/erming/shout.git"
}, },
"scripts": { "scripts": {
"start": "node index.js start" "start": "node index start"
}, },
"keywords": [ "keywords": [
"browser", "browser",