Rounded user thumbnail in navbar

This commit is contained in:
Sahat Yalkabov
2013-12-07 14:56:36 -05:00
parent ccefcf5107
commit 2ceb35d036
3 changed files with 5 additions and 1 deletions

View File

@ -68,7 +68,7 @@ exports.getFoursquare = function(req, res) {
*/ */
exports.getTumblr = function(req, res) { exports.getTumblr = function(req, res) {
var token = _.findWhere(req.user.tokens, { kind: 'tumblr' }); var token = _.findWhere(req.user.tokens, { kind: 'tumblr' });
// TODO: MIDDLEWARE
if (!token) { if (!token) {
return res.render('api/unauthorized', { return res.render('api/unauthorized', {
title: 'Tumblr API', title: 'Tumblr API',

View File

@ -7,6 +7,9 @@ body {
} }
.user img { .user img {
border-radius: 50%;
border: 1px solid #777;
padding: 1px;
width: 40px; width: 40px;
height: 40px; height: 40px;
vertical-align: baseline; vertical-align: baseline;

View File

@ -86,6 +86,7 @@ a {
color: #007aff; color: #007aff;
background-color: transparent; background-color: transparent;
} }
&:hover { &:hover {
color: #007aff; color: #007aff;
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);