Skip to content

Node.js based forum software built for the modern web

Merge branch 'master' of https://github.com/psychobunny/node-forum

psychobunnyc113f4151b10
diff --cc public/css/style.less
index d8920f5604,55196a5724..4852b00ab4
--- a/public/css/style.less
+++ b/public/css/style.less
@@@ -19,9 -9,14 +19,18 @@@
zoom: 1;
}
+body {
+ background: #fdfdfd;
+}
++
+ .none {
+ display: none;
+ }
+
+ .block {
+ display: block;
+ }
+
@media (min-width: 979px) {
body {
padding-top: 60px;
@@@ -219,14 -174,33 +229,33 @@@ footer.footer
padding: 0;
li {
- .inline-block;
+ vertical-align: top;
+ background: transparent;
+ .none;
.pointer;
- }
- }
- .none {
- display: none !important;
- }
- .block {
- display: block !important;
+ &.google {
+ width: 202px;
+ height: 32px;
+ background-image: url('../images/google_login.png');
+
+ &:hover {
+ background-position-x: -265px;
+ }
+
+ &:active {
+ background-position-x: -535px;
+ }
+ }
+
+ &.twitter {
+ width: 158px;
+ height: 28px;
+ background-image: url('../images/twitter_login.png');
+ }
+
+ &.active {
+ .inline-block;
+ }
+ }
-}
+}
diff --cc src/webserver.js
index cb9e26ac31,7df945e438..0b611681e8
--- a/src/webserver.js
+++ b/src/webserver.js
@@@ -140,12 -156,11 +156,11 @@@ passport.deserializeUser(function(uid,
'alternate_logins:display': 'block'
}
for (var i=0, ii=num_strategies; i<ii; i++) {
- data[login_strategies[i] + ':display'] = 'block';
+ data[login_strategies[i] + ':display'] = 'active';
}
}
-
++
res.send(JSON.stringify(data));
--
break;
case 'topic' :
global.modules.posts.get(function(data) {