Major cleanup on comments in iOS app.

This commit is contained in:
Samuel Clay 2012-12-11 17:53:17 -08:00
parent 4f0b24b507
commit 9626f48f73
12 changed files with 150 additions and 192 deletions

View file

@ -50,7 +50,7 @@ server {
}
location /favicon.ico {
alias /home/sclay/newsblur/media/img/favicon.png;
alias /home/sclay/newsblur/media/img/favicon_32.png;
expires max;
access_log off;
}

View file

@ -20,7 +20,7 @@ server {
root /home/sclay/staging;
}
location /favicon.ico {
alias /home/sclay/staging/media/img/favicon.png;
alias /home/sclay/staging/media/img/favicon_32.png;
expires max;
access_log off;
}

View file

@ -3555,7 +3555,8 @@ form.opml_import_form input {
-moz-transition: all .12s ease-out;
-o-transition: all .12s ease-out;
-ms-transition: all .12s ease-out;
background: transparent url('/media/embed/reader/spacer_16.png') no-repeat 1px 0px;
background: transparent url('/media/embed/reader/spacer_16.png') no-repeat 0 -17px;
background-size: 16px;
}
@media screen and (max-width: 1050px) {
@ -3574,19 +3575,24 @@ form.opml_import_form input {
.NB-splash-info .NB-splash-links .NB-splash-link-faq a:hover,
.NB-splash-info .NB-splash-links .NB-splash-link-api a:hover,
.NB-splash-info .NB-splash-links .NB-splash-link-press a:hover {
background: transparent url('/media/embed/favicon.png') no-repeat 0 7px;
background: transparent url('/media/embed/favicon_32.png') no-repeat 0 7px;
background-size: 16px;
}
.NB-splash-info .NB-splash-links .NB-splash-link-github a:hover {
background: transparent url('/media/embed/reader/octocat.png') no-repeat 0 7px;
background-size: 16px;
}
.NB-splash-info .NB-splash-links .NB-splash-link-getsatisfaction a:hover {
background: transparent url('/media/embed/reader/getsatisfaction.png') no-repeat 0 7px;
background-size: 16px;
}
.NB-splash-info .NB-splash-links .NB-splash-link-blog a:hover {
background: transparent url('/media/embed/reader/ofbrooklyn_icon.png') no-repeat 0 7px;
background-size: 16px;
}
.NB-splash-info .NB-splash-links .NB-splash-link-twitter a:hover {
background: transparent url('/media/embed/reader/twitter_bird.png') no-repeat 0 7px;
background-size: 16px;
}
.NB-splash-info .NB-splash-links a {

View file

@ -241,11 +241,11 @@
cell.selectionStyle = UITableViewCellSelectionStyleNone;
fontSizeSegment.frame = CGRectMake(8, 4, cell.frame.size.width - 8*2, kMenuOptionHeight - 4*2);
[fontSizeSegment setTitle:@"11pt" forSegmentAtIndex:0];
[fontSizeSegment setTitle:@"12pt" forSegmentAtIndex:1];
[fontSizeSegment setTitle:@"12pt" forSegmentAtIndex:0];
[fontSizeSegment setTitle:@"13pt" forSegmentAtIndex:1];
[fontSizeSegment setTitle:@"14pt" forSegmentAtIndex:2];
[fontSizeSegment setTitle:@"16pt" forSegmentAtIndex:3];
[fontSizeSegment setTitle:@"18pt" forSegmentAtIndex:4];
[fontSizeSegment setTitle:@"15pt" forSegmentAtIndex:3];
[fontSizeSegment setTitle:@"17pt" forSegmentAtIndex:4];
[fontSizeSegment setTintColor:UIColorFromRGB(0x738570)];
[cell addSubview:fontSizeSegment];

View file

@ -177,26 +177,26 @@
"<html>"
"<head>%@</head>" // header string
"<body id=\"story_pane\" class=\"%@\">"
" <div id=\"NB-header-container\">%@</div>" // storyHeader
" %@" // shareBar
" <div class=\"%@\" id=\"NB-font-style\">"
" <div class=\"%@\" id=\"NB-font-size\">"
" <div id=\"NB-header-container\">%@</div>" // storyHeader
" %@" // shareBar
" <div class=\"NB-story\">%@</div>"
" %@" // share
" <div id=\"NB-comments-wrapper\">"
" %@" // friends comments
" </div>"
" %@"
" </div>" // font-size
" </div>" // font-style
" %@" // share
" <div id=\"NB-comments-wrapper\">"
" %@" // friends comments
" </div>"
" %@"
"</body>"
"</html>",
headerString,
contentWidthClass,
storyHeader,
shareBarString,
fontStyleClass,
fontSizeClass,
storyHeader,
shareBarString,
[self.activeStory objectForKey:@"story_content"],
sharingHtmlString,
commentString,
@ -451,12 +451,12 @@
[[self.activeStory objectForKey:@"comment_count"] intValue]) {
commentLabel = [commentLabel stringByAppendingString:[NSString stringWithFormat:@
"<div class=\"NB-story-comments-label\">"
"%@" // comment count
//"%@" // reply count
"%@" // comment count
//"%@" // reply count
"</div>"
"<div class=\"NB-story-share-profiles NB-story-share-profiles-comments\">"
"%@" // friend avatars
"%@" // public avatars
"%@" // friend avatars
"%@" // public avatars
"</div>",
[[self.activeStory objectForKey:@"comment_count"] intValue] == 1
? [NSString stringWithFormat:@"<b>1 comment</b>"] :
@ -476,9 +476,9 @@
"%@" // friend avatars
"%@" // public avatars
"</div>"
"<div class=\"NB-story-share-label\">"
"%@" // comment count
"</div>"
"<div class=\"NB-story-share-label\">"
"%@" // comment count
"</div>"
"</div>",
[self getAvatars:@"shared_by_public"],
[self getAvatars:@"shared_by_friends"],
@ -492,19 +492,16 @@
comments = [comments stringByAppendingString:[NSString stringWithFormat:@
"<div class=\"NB-story-shares\">"
"<div class=\"NB-story-comments-shares-teaser-wrapper\">"
"<div class=\"NB-story-comments-shares-teaser\">"
"%@"
"%@"
"</div></div></div></div>",
"<div class=\"NB-story-comments-shares-teaser-wrapper\">"
"<div class=\"NB-story-comments-shares-teaser\">"
"%@"
"%@"
"</div>"
"</div>"
"</div>",
commentLabel,
shareLabel
]];
comments = [comments stringByAppendingString:[NSString stringWithFormat:@"</div>"]];
}
comments = [comments stringByAppendingString:[NSString stringWithFormat:@"</div>"]];
return comments;
@ -544,7 +541,7 @@
userLikeButton = [NSString stringWithFormat:@
"<div class=\"NB-story-comment-like-button NB-button selected\">"
"<a href=\"http://ios.newsblur.com/unlike-comment/%@\"><div class=\"NB-story-comment-like-button-wrapper\">"
"<span class=\"NB-favorite-icon\"></span>Favorited"
"<span class=\"NB-favorite-icon\"></span>"
"</div></a>"
"</div>",
commentUserId];
@ -552,7 +549,7 @@
userLikeButton = [NSString stringWithFormat:@
"<div class=\"NB-story-comment-like-button NB-button\">"
"<a href=\"http://ios.newsblur.com/like-comment/%@\"><div class=\"NB-story-comment-like-button-wrapper\">"
"<span class=\"NB-favorite-icon\"></span>Favorite"
"<span class=\"NB-favorite-icon\"></span>"
"</div></a>"
"</div>",
commentUserId];
@ -595,19 +592,19 @@
"<div class=\"NB-story-comment-author-container\">"
" %@"
" <div class=\"NB-story-comment-username\">%@</div>"
" %@" // location
" <div class=\"NB-story-comment-date\">%@ ago</div>"
" <div class=\"NB-button-wrapper\">"
" %@" //User Like Button>"
" %@" //User Edit Button>"
"</div>"
"<div class=\"NB-story-comment-content\">%@</div>"
"%@" // location
"<div class=\"NB-button-wrapper\">"
" <div class=\"NB-story-comment-reply-button NB-button\">"
" <a href=\"http://ios.newsblur.com/reply/%@/%@\"><div class=\"NB-story-comment-reply-button-wrapper\">"
" Reply"
" </div></a>"
" </div>"
" </div>"
" %@" //User Like Button
" %@" //User Edit Button
"</div>"
"<div class=\"NB-story-comment-content\">%@</div>"
"%@"
"</div>",
[commentDict objectForKey:@"user_id"],
@ -616,14 +613,14 @@
[user objectForKey:@"photo_url"],
userReshareString,
[user objectForKey:@"username"],
locationHtml,
[commentDict objectForKey:@"shared_date"],
userEditButton,
userLikeButton,
commentContent,
locationHtml,
[commentDict objectForKey:@"user_id"],
[user objectForKey:@"username"],
commentContent,
[self getReplies:[commentDict objectForKey:@"replies"] forUserId:[commentDict objectForKey:@"user_id"]]];
userEditButton,
userLikeButton,
[self getReplies:[commentDict objectForKey:@"replies"] forUserId:[commentDict objectForKey:@"user_id"]]];
} else {
comment = [NSString stringWithFormat:@
"<div class=\"NB-story-comment\" id=\"NB-user-comment-%@\">"
@ -634,21 +631,20 @@
"</a>"
"</div>"
"<div class=\"NB-story-comment-author-container\">"
" %@"
" %@"
" <div class=\"NB-story-comment-username\">%@</div>"
" %@"
" <div class=\"NB-story-comment-date\">%@ ago</div>"
"</div>"
"<div class=\"NB-story-comment-content\">%@</div>"
" <div class=\"NB-button-wrapper\" style=\"clear:both; padding-bottom: 8px;\">"
" %@" //User Like Button>"
" %@" //User Edit Button>"
"%@" // location
"<div class=\"NB-button-wrapper\">"
" <div class=\"NB-story-comment-reply-button NB-button\">"
" <a href=\"http://ios.newsblur.com/reply/%@/%@\"><div class=\"NB-story-comment-reply-button-wrapper\">"
" Reply"
" </div></a>"
" </div>"
" %@" // User Like Button
" %@" // User Edit Button
"</div>"
"%@"
"</div>",
@ -658,13 +654,13 @@
[user objectForKey:@"photo_url"],
userReshareString,
[user objectForKey:@"username"],
locationHtml,
[commentDict objectForKey:@"shared_date"],
commentContent,
userEditButton,
userLikeButton,
locationHtml,
[commentDict objectForKey:@"user_id"],
[user objectForKey:@"username"],
userEditButton,
userLikeButton,
[self getReplies:[commentDict objectForKey:@"replies"] forUserId:[commentDict objectForKey:@"user_id"]]];
}
@ -713,27 +709,27 @@
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
reply = [NSString stringWithFormat:@
"<div class=\"NB-story-comment-reply\" id=\"NB-user-comment-%@\">"
" <a class=\"NB-show-profile\" href=\"http://ios.newsblur.com/show-profile/%@\">"
" <div class=\"NB-highlight\"></div>"
" <img class=\"NB-story-comment-reply-photo\" src=\"%@\" />"
" </a>"
" <div class=\"NB-story-comment-username NB-story-comment-reply-username\">%@</div>"
" %@"
" <div class=\"NB-story-comment-date NB-story-comment-reply-date\">%@ ago</div>"
" <div class=\"NB-button-wrapper\">"
" %@" //User Edit Button>"
" </div>"
" <div class=\"NB-story-comment-reply-content\">%@</div>"
"</div>",
[replyDict objectForKey:@"reply_id"],
[user objectForKey:@"user_id"],
[user objectForKey:@"photo_url"],
[user objectForKey:@"username"],
locationHtml,
[replyDict objectForKey:@"publish_date"],
userEditButton,
replyContent];
"<div class=\"NB-story-comment-reply\" id=\"NB-user-comment-%@\">"
" <a class=\"NB-show-profile\" href=\"http://ios.newsblur.com/show-profile/%@\">"
" <div class=\"NB-highlight\"></div>"
" <img class=\"NB-story-comment-reply-photo\" src=\"%@\" />"
" </a>"
" <div class=\"NB-story-comment-username NB-story-comment-reply-username\">%@</div>"
" <div class=\"NB-story-comment-date NB-story-comment-reply-date\">%@ ago</div>"
" <div class=\"NB-story-comment-reply-content\">%@</div>"
" %@" // location
" <div class=\"NB-button-wrapper\">"
" %@" // edit
" </div>"
"</div>",
[replyDict objectForKey:@"reply_id"],
[user objectForKey:@"user_id"],
[user objectForKey:@"photo_url"],
[user objectForKey:@"username"],
[replyDict objectForKey:@"publish_date"],
replyContent,
locationHtml,
userEditButton];
} else {
reply = [NSString stringWithFormat:@
"<div class=\"NB-story-comment-reply\" id=\"NB-user-comment-%@\">"
@ -742,20 +738,20 @@
" <img class=\"NB-story-comment-reply-photo\" src=\"%@\" />"
" </a>"
" <div class=\"NB-story-comment-username NB-story-comment-reply-username\">%@</div>"
" %@"
" <div class=\"NB-story-comment-date NB-story-comment-reply-date\">%@ ago</div>"
" <div class=\"NB-story-comment-reply-content\">%@</div>"
" <div style=\"clear:both;\" class=\"NB-button-wrapper\">"
" %@" //User Edit Button>"
" </div>"
" %@"
" <div class=\"NB-button-wrapper\">"
" %@" // edit
" </div>"
"</div>",
[replyDict objectForKey:@"reply_id"],
[user objectForKey:@"user_id"],
[user objectForKey:@"photo_url"],
[user objectForKey:@"username"],
locationHtml,
[replyDict objectForKey:@"publish_date"],
replyContent,
locationHtml,
userEditButton];
}
repliesString = [repliesString stringByAppendingString:reply];

View file

@ -4,7 +4,7 @@
version = "1.0">
<SymbolicBreakpoints>
<SymbolicBreakpoint
shouldBeEnabled = "No"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "objc_exception_throw"
@ -13,7 +13,7 @@
</SymbolicBreakpoints>
<ExceptionBreakpoints>
<ExceptionBreakpoint
shouldBeEnabled = "No"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
scope = "0"

View file

@ -12,9 +12,7 @@
int main(int argc, char *argv[]) {
@autoreleasepool {
// int retVal = UIApplicationMain(argc, argv, nil, nil);
// for iOS6
int retVal = UIApplicationMain(argc, argv, nil, @"NewsBlurAppDelegate");
int retVal = UIApplicationMain(argc, argv, nil, @"NewsBlurAppDelegate");
return retVal;
}
}

View file

@ -26,7 +26,7 @@
#story_pane .NB-story-comment .NB-user-avatar {
position: absolute;
left: 6px;
top: 10px;
top: 8px;
}
#story_pane .NB-story-comment .NB-user-avatar.NB-story-comment-reshare {
top: 22px;
@ -35,7 +35,7 @@
}
#story_pane .NB-story-comment .NB-user-avatar img {
border-radius: 6px;
margin: 2px 0 0 1px;
margin: 0;
width: 48px;
height: 48px;
}
@ -44,7 +44,7 @@
width: 36px;
}
#story_pane .NB-story-comment .NB-story-comment-author-container {
margin: 4px 0 0;
padding: 8px 0 0;
}
#story_pane .NB-story-comment .NB-story-comment-reshares {
position: absolute;
@ -61,7 +61,7 @@
font-size: 11px;
color: #1D4BA6;
font-weight: bold;
margin: 4px 10px 0 0;
margin: 0 4px 0 0;
text-shadow: 0 -1px 0 #F0F0F0;
cursor: pointer;
line-height: 17px;
@ -71,28 +71,32 @@
font-size: 10px;
color: #9D9D9D;
font-weight: bold;
float: left;
float: right;
line-height: 17px;
margin-top: 4px;
margin: 0 0 0;
}
#story_pane .NB-story-comment .NB-story-comment-location {
text-transform: uppercase;
font-size: 10px;
color: #B7B58D;
color: #BECDD7;
font-weight: bold;
float: left;
margin-right: 8px;
margin: 4px 10px 0 0;
background-color: #EFEFEF;
border-radius: 8px;
line-height: 17px;
padding: 0 8px;
clear: both;
margin: 3px 0 6px;
line-height: 12px;
}
#story_pane .NB-story-comment .NB-button-wrapper {
overflow: hidden;
white-space: nowrap;
float: right;
}
#story_pane .NB-story-comment .NB-story-comment-content {
float: left;
color: #303030;
clear: both;
}
@ -102,7 +106,7 @@
overflow: hidden;
clear: both;
position: relative;
padding: 8px 0 8px 42px;
padding: 8px 0 4px 42px;
line-height: 18px;
}
#story_pane .NB-story-comment-reply .NB-story-comment-reply-photo {
@ -111,14 +115,14 @@
border-radius: 3px;
position: absolute;
left: 0px;
top: 10px;
top: 2px;
cursor: pointer;
}
#story_pane .NB-story-comment-reply-content {
clear: both;
color: #303030;
float: left;
padding: 2px 0 3px;
}
#story_pane .NB-story-comment-reply-form {
@ -255,8 +259,8 @@
float: left;
}
#story_pane .NB-story-comment .NB-story-comment-content {
clear: left;
padding: 0 0 8px 0;
clear: both;
padding: 2px 0 3px 0;
}
#story_pane .NB-feed-story-endbar {

File diff suppressed because one or more lines are too long

View file

@ -5,24 +5,29 @@
.NB-story {
line-height: 1.5em;
}
.NB-extra-small .NB-story {
font-size: 11px;
}
.NB-small .NB-story {
.NB-extra-small .NB-story,
.NB-extra-small .NB-story-comment {
font-size: 12px;
}
.NB-medium .NB-story{
.NB-small .NB-story,
.NB-small .NB-story-comment {
font-size: 13px;
}
.NB-medium .NB-story,
.NB-medium .NB-story-comment {
font-size: 14px;
}
.NB-large .NB-story {
font-size: 16px;
.NB-large .NB-story,
.NB-large .NB-story-comment {
font-size: 15px;
}
.NB-extra-large .NB-story {
font-size: 18px;
.NB-extra-large .NB-story,
.NB-extra-large .NB-story-comment {
font-size: 17px;
}
.NB-san-serif {
@ -415,7 +420,6 @@ del {
#story_pane .NB-story-comment-reply .NB-show-profile {
float: left;
left: -42px;
top: -4px;
}
.NB-story-comment:last-child {
border-bottom: 1px solid #A6A6A6;
@ -466,16 +470,22 @@ a.NB-show-profile {
-webkit-touch-callout: none;
}
.NB-share-button {
.NB-button.NB-share-button {
line-height: 20px;
font-family: Helvetica, sans-serif;
font-size: 14px;
color: #606060;
float: none;
display: block;
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 1px 0px rgba(255,255,255,1);
}
.NB-button.NB-share-button a {
display: block;
}
.NB-share-button.active,
.NB-save-button.active {
background: #217412;
@ -484,16 +494,11 @@ a.NB-show-profile {
/* Edit, Like, and Reply buttons */
.NB-button-wrapper {
float: right;
}
.NB-button {
padding: 0px 0px 4px 4px;
display: inline-block;
cursor: pointer;
margin-top: -5px;
margin-bottom: -4px;
white-space: nowrap;
float: right;
}
.NB-button.NB-share-button {
@ -507,18 +512,18 @@ a.NB-show-profile {
padding: 2px 6px;
background: -webkit-gradient(
linear, left top, left bottom,
from(#ffffff),
color-stop(0.50, #ebebeb),
color-stop(0.50, #dbdbdb),
to(#b5b5b5));
from(#F0F0F0),
color-stop(0.50, #EBEBEB),
color-stop(0.50, #E4E4E4),
to(#C0C0C0));
border-radius: 3px;
border: 1px solid #949494;
box-shadow: inset 0px 0px 2px rgba(255,255,255,1);
box-shadow: inset 0px 1px 0px rgba(255,255,255,1);
}
.NB-iphone .NB-button div {
padding: 1px 5px 0px;
padding: 0px 5px 0px;
}
.NB-iphone #story_pane .NB-story-comment .NB-story-comment-content {
@ -533,7 +538,7 @@ a.NB-show-profile {
linear, left top, left bottom,
from(#42aaff),
to(#1e78c1));
box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 1);
box-shadow: inset 0 0 0px 1px rgba(255, 255, 255, .6);
text-shadow: 0 1px 0 #003366;
}
@ -548,21 +553,17 @@ a.NB-show-profile {
.NB-iphone .NB-button .NB-story-comment-like-button-wrapper,
.NB-button .NB-story-comment-like-button-wrapper {
padding-left: 22px;
position: relative;
overflow: hidden;
}
.NB-button .NB-story-comment-like-button-wrapper span {
background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGmSURBVCiRbZG/axRBHMXfzO7tbvYua+IFJQa0sRBs1IiQFIEIgvgDEUSs7CSFCJLaA1MJYjrFI5VgmkBiCDYWNgZJlaB/wgknxOT0Lnt7s7Mz852xOgzxXvne98OXxwMG6PXm3PSbzblbgzJ21Kit3mcT4ye34NyI0AeT87PvxeGcHwVGj0d34lJyJQ6Gz1myDwZ+eLpxOapGp8Y95lVPVM4sDUdjF8kSOmK3sZ81HhpGP4XMfi3e3eqx+tcnzyM/ngVjlzjjlcgvIy1aUEaiHIwg110oynNjzXep0h1OVjeMVTNJWK34Xoh2vous6ECoA7R6TRhSiEvJEFk1Rc40+OOZ+rtU7l9r9ZopA1BoAecsHIBcZ/B4CZ18L8uK9r3a9Y+LHADmry5/TmXrmabCDQUJFEkYKhD6EcgZ9FT77cKNT2sA4PfbO7jMWA3OfBwLxwDmILUAOQ1jSPbv/gHOnvdZiWlXQFulyGrle0GFgUFJOj0ImPgtmhCq+6or/6wbp1TIyzc9imq6oNH/AHJmZS/78fLF7S/fDu20/ah+4UMcJGf7xl8kb9PTscP82wAAAABJRU5ErkJggg==") no-repeat left 1px;
background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGmSURBVCiRbZG/axRBHMXfzO7tbvYua+IFJQa0sRBs1IiQFIEIgvgDEUSs7CSFCJLaA1MJYjrFI5VgmkBiCDYWNgZJlaB/wgknxOT0Lnt7s7Mz852xOgzxXvne98OXxwMG6PXm3PSbzblbgzJ21Kit3mcT4ye34NyI0AeT87PvxeGcHwVGj0d34lJyJQ6Gz1myDwZ+eLpxOapGp8Y95lVPVM4sDUdjF8kSOmK3sZ81HhpGP4XMfi3e3eqx+tcnzyM/ngVjlzjjlcgvIy1aUEaiHIwg110oynNjzXep0h1OVjeMVTNJWK34Xoh2vous6ECoA7R6TRhSiEvJEFk1Rc40+OOZ+rtU7l9r9ZopA1BoAecsHIBcZ/B4CZ18L8uK9r3a9Y+LHADmry5/TmXrmabCDQUJFEkYKhD6EcgZ9FT77cKNT2sA4PfbO7jMWA3OfBwLxwDmILUAOQ1jSPbv/gHOnvdZiWlXQFulyGrle0GFgUFJOj0ImPgtmhCq+6or/6wbp1TIyzc9imq6oNH/AHJmZS/78fLF7S/fDu20/ah+4UMcJGf7xl8kb9PTscP82wAAAABJRU5ErkJggg==") no-repeat center center;
width: 16px;
position: absolute;
height: 16px;
top: 3px;
left: 6px;
}
.NB-iphone .NB-button .NB-story-comment-like-button-wrapper span {
top: 2px;
display: block;
float: left;
margin: 0 6px;
}
.NB-button.selected div {
@ -579,15 +580,13 @@ a.NB-show-profile {
}
.NB-button a {
display: block;
display: inline-block;
padding-top: 1px;
line-height: 16px;
font-family: Helvetica, sans-serif;
font-size: 11px;
color: #606060;
text-shadow:
0px 0px 0px rgba(000,000,000,0),
0px 1px 0px rgba(255,255,255,1);
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
}
.NB-button.NB-share-button a {

View file

@ -328,7 +328,7 @@ _.extend(NEWSBLUR.ReaderTutorial.prototype, {
$.make('li', [
$.make('div', { className: 'NB-modal-submit-button NB-modal-submit-green NB-javascript NB-tutorial-finish-newsblur-blog', style: 'float: right;margin-top: -2px' }, [
'Finish Tutorial and Load',
$.make('img', { src: NEWSBLUR.Globals.MEDIA_URL+'/img/favicon.png', style: "margin: -3px 0px 0px 4px; vertical-align: middle;" }),
$.make('img', { src: NEWSBLUR.Globals.MEDIA_URL+'/img/favicon_32.png', style: "margin: -3px 0px 0px 4px; vertical-align: middle;width: 16px;height: 16px;" }),
' the NewsBlur Blog ',
$.make('span', { className: 'NB-raquo' }, '&raquo;')
]),

View file

@ -40,7 +40,7 @@
<p style="line-height: 20px;">{% block resources_header %}To get the most out of NewsBlur, here are a few resources:{% endblock resources_header %}</p>
<p style="line-height: 20px;">
<ul style="list-style: none;">
<li style="line-height:22px;"><a href="http://blog.newsblur.com" style="text-decoration:none"><img src="http://{% current_domain %}/media/img/favicon.png" style="width:16px;height:16px;vertical-align:top;padding-top:3px;"> Read the NewsBlur Blog</a>.</li>
<li style="line-height:22px;"><a href="http://blog.newsblur.com" style="text-decoration:none"><img src="http://{% current_domain %}/media/img/favicon_32.png" style="width:16px;height:16px;vertical-align:top;padding-top:3px;"> Read the NewsBlur Blog</a>.</li>
<li style="line-height:22px;"><a href="http://getsatisfaction.com/newsblur/" style="text-decoration:none"><img src="http://{% current_domain %}/media/img/reader/getsatisfaction.png" style="width:16px;height:16px;vertical-align:top;padding-top:3px;"> Get support on NewsBlur's Get Satisfaction</a>.</li>
</ul>
</p>