From 981135e09d06a2d96adc20611227b1293aa5d29b Mon Sep 17 00:00:00 2001 From: Roy Yang Date: Wed, 8 Aug 2012 13:48:10 -0700 Subject: [PATCH] changing around colors, etc for the share --- media/ios/Classes/ActivityCell.m | 6 +-- media/ios/Classes/InteractionCell.m | 4 +- media/ios/Classes/NewsBlurAppDelegate.m | 2 +- .../ios/Classes/OriginalStoryViewController.m | 1 + media/ios/Classes/ShareViewController.h | 1 - media/ios/Classes/ShareViewController.m | 45 +++++++++++++++---- media/ios/Classes/StoryDetailViewController.m | 8 ++-- media/ios/NewsBlur_Prefix.pch | 2 +- media/ios/reader.css | 1 + media/ios/sample_text.html | 13 +----- media/ios/storyDetailView.css | 42 +++++++++++------ 11 files changed, 78 insertions(+), 47 deletions(-) diff --git a/media/ios/Classes/ActivityCell.m b/media/ios/Classes/ActivityCell.m index a9cdbba68..e02653b98 100644 --- a/media/ios/Classes/ActivityCell.m +++ b/media/ios/Classes/ActivityCell.m @@ -139,14 +139,14 @@ [attrStr setTextColor:UIColorFromRGB(0x333333)]; if (![username isEqualToString:@"You"]){ - [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_ORANGE) range:[txtWithTime rangeOfString:username]]; + [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_LINK_COLOR) range:[txtWithTime rangeOfString:username]]; [attrStr setTextBold:YES range:[txt rangeOfString:username]]; } - [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_ORANGE) range:[txtWithTime rangeOfString:title]]; + [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_LINK_COLOR) range:[txtWithTime rangeOfString:title]]; if(withUserUsername.length) { - [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_ORANGE) range:[txtWithTime rangeOfString:withUserUsername]]; + [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_LINK_COLOR) range:[txtWithTime rangeOfString:withUserUsername]]; [attrStr setTextBold:YES range:[txtWithTime rangeOfString:withUserUsername]]; } diff --git a/media/ios/Classes/InteractionCell.m b/media/ios/Classes/InteractionCell.m index 18c3c5b7c..0bd984a53 100644 --- a/media/ios/Classes/InteractionCell.m +++ b/media/ios/Classes/InteractionCell.m @@ -114,11 +114,11 @@ } if (![username isEqualToString:@"You"]){ - [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_ORANGE) range:[txtWithTime rangeOfString:username]]; + [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_LINK_COLOR) range:[txtWithTime rangeOfString:username]]; [attrStr setTextBold:YES range:[txt rangeOfString:username]]; } - [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_ORANGE) range:[txtWithTime rangeOfString:title]]; + [attrStr setTextColor:UIColorFromRGB(NEWSBLUR_LINK_COLOR) range:[txtWithTime rangeOfString:title]]; [attrStr setTextColor:UIColorFromRGB(0x666666) range:[txtWithTime rangeOfString:comment]]; [attrStr setTextColor:UIColorFromRGB(0x999999) range:[txtWithTime rangeOfString:time]]; diff --git a/media/ios/Classes/NewsBlurAppDelegate.m b/media/ios/Classes/NewsBlurAppDelegate.m index 3fa44b4e2..108ab3db9 100644 --- a/media/ios/Classes/NewsBlurAppDelegate.m +++ b/media/ios/Classes/NewsBlurAppDelegate.m @@ -1050,7 +1050,7 @@ - (UIView *)makeFeedTitleGradient:(NSDictionary *)feed withRect:(CGRect)rect { UIView *gradientView; - if (self.isRiverView || self.isSocialView) { + if (self.isRiverView || self.isSocialView || self.isSocialRiverView) { gradientView = [NewsBlurAppDelegate makeGradientView:rect startColor:[feed objectForKey:@"favicon_fade"] diff --git a/media/ios/Classes/OriginalStoryViewController.m b/media/ios/Classes/OriginalStoryViewController.m index 42b649399..0e9c270d8 100644 --- a/media/ios/Classes/OriginalStoryViewController.m +++ b/media/ios/Classes/OriginalStoryViewController.m @@ -44,6 +44,7 @@ [MBProgressHUD hideHUDForView:self.webView animated:YES]; MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:self.webView animated:YES]; HUD.labelText = @"On its way..."; + [HUD hide:YES afterDelay:2]; } - (void)viewWillDisappear:(BOOL)animated { diff --git a/media/ios/Classes/ShareViewController.h b/media/ios/Classes/ShareViewController.h index 1e6f50d3b..9185496ff 100644 --- a/media/ios/Classes/ShareViewController.h +++ b/media/ios/Classes/ShareViewController.h @@ -19,7 +19,6 @@ @property (nonatomic) IBOutlet UIButton *facebookButton; @property (nonatomic) IBOutlet UIButton *twitterButton; @property (nonatomic) IBOutlet UIBarButtonItem *submitButton; -@property (nonatomic) IBOutlet UIBarButtonItem *toolbarTitle; @property (nonatomic) NSString * activeReplyId; - (void)setSiteInfo:(NSString *)type setUserId:(NSString *)userId setUsername:(NSString *)username setReplyId:(NSString *)commentIndex; diff --git a/media/ios/Classes/ShareViewController.m b/media/ios/Classes/ShareViewController.m index 17bff334b..9a9fb129c 100644 --- a/media/ios/Classes/ShareViewController.m +++ b/media/ios/Classes/ShareViewController.m @@ -19,7 +19,6 @@ @synthesize facebookButton; @synthesize twitterButton; @synthesize submitButton; -@synthesize toolbarTitle; @synthesize commentField; @synthesize appDelegate; @synthesize activeReplyId; @@ -37,11 +36,21 @@ - (void)viewDidLoad { + + + // For textField1 + [[NSNotificationCenter defaultCenter] + addObserver:self + selector:@selector(onTextChange:) + name:UITextViewTextDidChangeNotification + object:self.commentField]; + UIBarButtonItem *cancel = [[UIBarButtonItem alloc] initWithTitle:@"Cancel" style:UIBarButtonSystemItemCancel target:self action:@selector(doCancelButton:)]; self.navigationItem.leftBarButtonItem = cancel; UIBarButtonItem *submit = [[UIBarButtonItem alloc] initWithTitle:@"Post" style:UIBarButtonSystemItemDone target:self action:@selector(doShareThisStory:)]; self.submitButton = submit; + self.submitButton.tintColor = UIColorFromRGB(0x217412); self.navigationItem.rightBarButtonItem = submit; @@ -62,13 +71,16 @@ [super viewDidLoad]; } +- (void)dealloc { + [[NSNotificationCenter defaultCenter] removeObserver:self]; +} + - (void)viewDidUnload { [self setCommentField:nil]; [self setFacebookButton:nil]; [self setTwitterButton:nil]; [self setSubmitButton:nil]; - [self setToolbarTitle:nil]; [super viewDidUnload]; // Release any retained subviews of the main view. // e.g. self.myOutlet = nil; @@ -133,7 +145,7 @@ [submitButton setTitle:@"Save"]; facebookButton.hidden = YES; twitterButton.hidden = YES; - [toolbarTitle setTitle:[NSString stringWithFormat:@"Edit Your Reply"]]; + self.navigationItem.title = @"Edit Your Reply"; [submitButton setAction:(@selector(doReplyToComment:))]; self.activeReplyId = replyId; @@ -157,7 +169,7 @@ [submitButton setTitle:@"Reply"]; facebookButton.hidden = YES; twitterButton.hidden = YES; - [toolbarTitle setTitle:[NSString stringWithFormat:@"Reply to %@", username]]; + self.navigationItem.title = [NSString stringWithFormat:@"Reply to %@", username]; [submitButton setAction:(@selector(doReplyToComment:))]; self.commentField.text = @""; } else if ([type isEqualToString: @"edit-share"]) { @@ -168,10 +180,10 @@ self.commentField.text = [self stringByStrippingHTML:[appDelegate.activeComment objectForKey:@"comments"]]; if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { - [toolbarTitle setTitle:@"Edit Your Comment"]; + self.navigationItem.title = @"Edit Your Comment"; [submitButton setTitle:@"Save"]; } else { - [toolbarTitle setTitle:@"Edit Comment"]; + self.navigationItem.title = @"Edit Comment"; [submitButton setTitle:@"Save"]; } [submitButton setAction:(@selector(doShareThisStory:))]; @@ -179,10 +191,10 @@ facebookButton.hidden = NO; twitterButton.hidden = NO; if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { - [toolbarTitle setTitle:@"Post to Blurblog"]; - [submitButton setTitle:@"Share this Story"]; + self.navigationItem.title = @"Post to Blurblog"; + [submitButton setTitle:@"Share"]; } else { - [toolbarTitle setTitle:@"Post to Blurblog"]; + self.navigationItem.title = @"Post"; [submitButton setTitle:@"Share"]; } [submitButton setAction:(@selector(doShareThisStory:))]; @@ -340,4 +352,19 @@ return s; } +-(void)onTextChange:(NSNotification*)notification { + NSString *text = self.commentField.text; + if ([self.submitButton.title isEqualToString:@"Share"] || + [self.submitButton.title isEqualToString:@"Share Comment"]) { + NSLog(@"text.length is %i", text.length); + if (text.length) { + self.submitButton.title = @"Share Comment"; + } else { + self.submitButton.title = @"Share"; + } + } + + + +} @end diff --git a/media/ios/Classes/StoryDetailViewController.m b/media/ios/Classes/StoryDetailViewController.m index 50a18d7d9..199b8ed1c 100644 --- a/media/ios/Classes/StoryDetailViewController.m +++ b/media/ios/Classes/StoryDetailViewController.m @@ -404,7 +404,7 @@ userLikeButton = [NSString stringWithFormat:@ "
" "
" - "Favorited" + "Favorited" "
" "
", commentUserId]; @@ -412,7 +412,7 @@ userLikeButton = [NSString stringWithFormat:@ "
" "
" - "Favorite" + "Favorite" "
" "
", commentUserId]; @@ -647,7 +647,7 @@ "
"]; @@ -729,7 +729,7 @@ [appDelegate.activeStory objectForKey:@"story_feed_id"]]; - if (appDelegate.isSocialView) { + if (appDelegate.isSocialView || appDelegate.isSocialRiverView) { feed = [appDelegate.dictActiveFeeds objectForKey:feedIdStr]; // this is to catch when a user is already subscribed if (!feed) { diff --git a/media/ios/NewsBlur_Prefix.pch b/media/ios/NewsBlur_Prefix.pch index 3569d4291..e8971965b 100644 --- a/media/ios/NewsBlur_Prefix.pch +++ b/media/ios/NewsBlur_Prefix.pch @@ -18,6 +18,6 @@ // #define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.host"] #define NEWSBLUR_URL [NSString stringWithFormat:@"dev.newsblur.com"] - #define NEWSBLUR_ORANGE 0xAE5D15 + #define NEWSBLUR_LINK_COLOR 0x405BA8 #endif \ No newline at end of file diff --git a/media/ios/reader.css b/media/ios/reader.css index aab245cf0..40f7b21fe 100644 --- a/media/ios/reader.css +++ b/media/ios/reader.css @@ -10,6 +10,7 @@ line-height: 20px; overflow: hidden; min-height: 72px; + box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 1);shar } #story_pane .NB-story-comment .NB-user-avatar { position: absolute; diff --git a/media/ios/sample_text.html b/media/ios/sample_text.html index 4e2aa363b..e5944a5dd 100644 --- a/media/ios/sample_text.html +++ b/media/ios/sample_text.html @@ -1,12 +1 @@ -
Why it’s not OK for cyclists to run red lights
Shared by 8 people
Shared by:

Randy Cohen, the NYT’s former Ethicist columnist, has now attempted an ethical defense of running red lights on his bicycle. “I flout the law when I’m on my bike,” he writes; “you do it when you are on foot, at least if you are like most New Yorkers.”

-

This, of course, is one of the weakest ethical defenses imaginable: if lots of other people are flouting the law, that doesn’t give anybody else the ethical right to do so, let alone the legal right. But Cohen continues:

-

I roll through a red light if and only if no pedestrian is in the crosswalk and no car is in the intersection — that is, if it will not endanger myself or anybody else. To put it another way, I treat red lights and stop signs as if they were yield signs. A fundamental concern of ethics is the effect of our actions on others. My actions harm no one. This moral reasoning may not sway the police officer writing me a ticket, but it would pass the test of Kant’s categorical imperative: I think all cyclists could — and should — ride like me.

-

The “should” at the end of this passage is utterly indefensible. At best, Cohen has demonstrated that he’s causing no harm to others (although I’ll take issue with that in a moment). But if Cohen is doing something illegal — which, by his own admission he is — then he needs something much stronger than “no harm to others” before he urges such behavior on all other cyclists.

-

There are cases where flouting the law can be the ethical thing to do, but those are generally cases where following the law, or standing idly by in the face of something which is clearly wrong, cannot be ethically justified. In this case, stopping at a red light and waiting for it to turn green does no harm to anybody, and there’s no morality I know of which would frown on such behavior.

-

It is important to cyclists that we get the full respect of drivers as fellow road users, with just as much right to be riding down the street as they have. The biggest danger facing cyclists is when drivers get annoyed if we slow them down, or drive as though we’re simply not there. Developing a relationship of mutual respect between drivers and cyclists is the most important thing we can do to improve cyclists’ safety, and to reduce the number of injuries and fatalities on the streets. And cyclists will find it much harder to earn that respect if they visibly flout the law every time they reach a red light.

-

Do pedestrians flout red-light laws all the time? Yes, of course they do. But they also fear cars, and respect the fact that the roadway is built for the purposes of cars and not for themselves. No pedestrian insists on the right to walk down the middle of the road at any time of day or night, and to be respected by drivers while doing so.

-

Similarly, Cohen — quite rightly — saying that cyclists “are a third thing, a distinct mode of transportation, requiring different practices and different rules”. I wrote as much myself, in my unified theory of New York biking. But that theory was based on the idea that the tragedy of New York cycling is that everybody — pedestrians, drivers, and cyclists — treat cyclists too much like pedestrians. Cohen, by contrast, says that “most of the resentment of rule-breaking riders like me, I suspect, derives from a false analogy: conceiving of bicycles as akin to cars”. I wish that New Yorkers would conceive of bicycles as akin to cars: pedestrians would look first before stepping out in front of us; cars would respect our right to be on the road; and fellow cyclists wouldn’t endanger everybody by riding the wrong way down the street.

-

One of the weirder parts of Cohen’s essay is that he extols Amsterdam and Copenhagen, which are cities where, to a first approximation, all cyclists always stop at all red lights, and don’t go again until the light turns green. Doesn’t he understand that in order for New York to work as a cycling city, cyclists will have to stop taking the law into their own hands? “Uninterrupted motion,” he writes, “gliding silently and swiftly, is a joy.” Well, yes, it is. Uninterrupted motion is quite nice for car drivers, too, but they stop at red lights. And even pedestrians generally wait until the way is clear before they cross the street.

-

More to the point, I simply don’t believe Cohen when he writes that he only breaks the red-light rule “if and only if no pedestrian is in the crosswalk and no car is in the intersection”. What about when there’s a pedestrian in the crosswalk who’s walking away from the bike? I’ll bet he does it then, too. The point is, when you can make up your own rules, you can also make up when to bend them. I can understand that Cohen would prefer it if New York had rules like Idaho’s. But whatever the rules are, we should obey them. If Cohen wants to agitate for a change in the rules, I’ll join him and support him. But I’m not going to pretend that it’s OK to break the rules just because you think the rules should be changed.

-

It’s quite common for pedestrians to thank me when I stop at a red light behind the crosswalk. That’s nice of them, I guess — but it’s also a bit depressing: it shows that most pedestrians expect most cyclists to flout the law. And that makes them afraid and resentful of cyclists in general. That’s the last thing anybody wants. And so for the time being it behooves all cyclists to adhere to the law as it stands, even if they’re convinced that they’re doing no harm. Running red lights is highly visible behavior, and every time a pedestrian or a driver seen Cohen do it, that only confirms in them their prejudice that cyclists are lawless people with no respect for the rules of the road. They can’t see the counterfactual case where Cohen would have stopped had there been a pedestrian in the way: all they see is the law-flouter.

-

I’m no angel on this front: I’ve done, on my bike, everything Cohen has done on his. I just don’t kid myself that I’m behaving ethically when I do so. And I’m trying to set a good example, even if I don’t always succeed. If you ever see me run a red light on my bike, feel free to tell me off. I’ll deserve it.

Cate
1 day ago
Reply
Favorite
I'll admit to running red lights while on my bike, but I do think Felix is right here. I'm going to try to resist the urge in the future.
roy
1 day ago
Reply
Edit
I wasn't buying the argument until Felix posed the question of running a red light when someone is walking away from the crosswalk. Here's my amended rule which works much better in the suburbs. If there is no soul in sight, all bets are off...
theprawn
1 day ago
Reply
Favorite
I live in a pretty small community, so stop-signs-are-yield-signs works fine. I'm with Felix if you're actually involving traffic and people.
michaelglass
23 hours ago
Reply
Favorite
must•resist•urge•to•bike•like•an-asshole
samuel
22 hours ago
Reply
Favorite
My rule for running red lights is simple: when in doubt, stop. If there's a person, car, or crossing biker, I treat it as a stop sign. I also don't like leaving cars confused, so I stop before the crosswalk, as opposed to meandering over the crosswalk while not even touching the ground. That only works when there nobody else is stopped and has to guess as to my intentions.

We should encourage bikers! Build cities around bikes, like NYC is doing. It's green, healthy, and bike accidents are far outnumbered and outweighed by car accidents. It should be a no-brainer, but try explaining that to car owners who have both their own inertia and their car's momentum.
DerBonk
5 hours ago
I'm way too German to follow such rules. A light is red, I wait. It's the law, dammit.
1 public comment
sredfern
14 hours ago
Reply
Favorite
Awesome read... I still break all the rules.
\ No newline at end of file +
BundesGit: Tracking law changes with Git
Shared by:
A developer has created a GitHub repository for tracking changes in all federal laws passed in Germany. He has also written several Python scripts that help with submitting changes in laws to the project


afita
2 hours ago
Using a version control system for state laws is such dead-obvious, I wonder why states don't already use this.
samuel
1 hour ago
The law is meant to move slowly, as to prevent overreaction. Git is meant to make changes transparent to everybody involved, which may not be the intention of most politicians currently serving in office.
afita
1 hour ago
I always thought that state laws must be completely transparent, obvious, freely accessible and easy to follow. I mean, these are the fundamental rules that every citizen and organisation acting in a country must know and follow. I agree that most politicians don't want this because it would make state affairs too easy and people would lose even the tiny bit of confidence they have left in politics. In my country at least, it looks like they make keeping track with laws and access to them as hard as possible almost on purpose (you have to pay to get the latest changes to laws). Another way to edit and keep track of laws that I keep thinking about and that I would love to see implemented is to use a wiki in which access to edit is permitted only to state officials.
\ No newline at end of file diff --git a/media/ios/storyDetailView.css b/media/ios/storyDetailView.css index 9d257f45f..015ac7401 100644 --- a/media/ios/storyDetailView.css +++ b/media/ios/storyDetailView.css @@ -73,9 +73,6 @@ left: 98px; } - - - /** * iPad Narrow Style */ @@ -139,7 +136,7 @@ body { text-rendering: optimizeLegibility; margin: 0; - background: #f6f6f6; + -webkit-text-size-adjust: none; font-size: 14px; line-height: 120%; @@ -457,19 +454,41 @@ a.NB-show-profile { } .NB-button.NB-share-button div { - padding: 8px 14px; + padding: 8px 40px 8px 14px; border-radius: 5px; text-align: center; background: -webkit-gradient( linear, left top, left bottom, from(#42aaff), to(#003366)); + padding-left: 40px; } -.NB-button .nb-story-comment-like-button-wrapper a { +.NB-button.NB-share-button div span { + background: url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGUlEQVR42o2TTUsbYRSFZ+MvcNn/0EU1rSCCgkSxVRCLFgyiqFSE1tDSpNKoEaQJiAvBryDZGCVQKWIpWIeAFMHWL1qKjUJ3KRQSNUgSJzPR5PieMRMqjuLibAaec+577xkJwJ30p0jqEloXiglpQlmh3F3AaaEogWhnMw6dPTgafIljtx3i262gTSgSKbuPQ8dzxEfsSEw6kHBV4NRThrOVAaSd0o2wX0iJdj9D3PMaJ/1WKF4LtMlHyExf6jw0CO2dZAovCmWOBl4gMeFAyv0AmTyoLVRCXa1H+nsLtMgUktslpsmZ46E+JGedUMcsl2CwCumvTVD22qAcdOjS/vmQ3LVce7PCZMLa+EMdVj/XQflp06G/ezZ8/NYAV6gKUz+GcM8vXTGI8M0c20hW5QYo4XacCnhxox5dK+Wo+1SKmuUSeHdcKJ6VrpwqF3//Cqnh0kIy4djvNoyuVeNJHmwNONDrCyIg/8LjN0sFgyhPlfK/5cL4Zo7NZB2uFWDjh6fonQliXg5jQd7H3JcwDQoNy/LOPBXT9YXlx2YyYXcgpIPe+S10emTCqtAmDdbZMJaEd+apuG0ujG/m2EwmbB9fM0CrsTsaxFhPNozpvDPTuW0ujG/m2EwmbID/G2jsNutJA5aEBjyVnu7T042xrWYGWf4Y7DbryYaxJLwzT8Vtc2FGuplBTog/BrvNerJhLAnvTNDQppnBBZHZrv4ITeFuAAAAAElFTkSuQmCC") no-repeat 0 0px; + width: 23px; + display: inline-block; + height: 16px; + margin-bottom: -2px; +} + +.NB-iphone .NB-button .NB-story-comment-like-button-wrapper, +.NB-button .NB-story-comment-like-button-wrapper { + padding-left: 22px; + position: relative; +} + +.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; - padding-left: 16px; - height: 20px; + width: 16px; + position: absolute; + height: 16px; + top: 3px; + left: 6px; +} + +.NB-iphone .NB-button .NB-story-comment-like-button-wrapper span { + top: 2px; } .NB-button.hover div, @@ -478,11 +497,6 @@ a.NB-show-profile { box-shadow: none; } -.NB-button.hover .nb-story-comment-like-button-wrapper a -.NB-button.selected .nb-story-comment-like-button-wrapper a { - background: transparent url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAFkSURBVCiRbZC/6xNBFMTn7e1mDVyhWIlgZSFYqSBEEsEQCUTBxsLKv0TBWrQWrGwtjFU603oEFP0T0ljYyt1lf+TNWgXCl5ty5g0f5gEDaprmQdM0T4cyuWhst1up6/o7gMs553vT6bQ/z83Fgvf+mXPuvnPuFskXg4TNZnNpPB5fE5GrdV1/9N7fIYkQwr5t25cA/qSU/q5Wq052u90ba+0jAHdFpLbWIsYIVcVoNELOGap6IPk75/zTkNyTfOi9r6uqwuFwQEoJKSV0XQeScM6NSU5KKXszmUw+hRAe933/DwBUFaUUAMDxeISIIITQppSez+fz9wYAZrPZtxjjK1UtzjmoKkiiqiqUUpBS+rBYLL4AgD2tL6W0JCEi8N7jnEYyDL31tjFGAIBkUtXWGAMRgareOB2dE673fY+c87sY41eSyVr7REReq+qVocLnruveLpfLX2fUH+v1eu2cu3ky/gOHFMgsTjV4FQAAAABJRU5ErkJggg==") no-repeat left 1px; -} - .NB-button a { display: block; padding-top: 1px; @@ -498,7 +512,7 @@ a.NB-show-profile { .NB-button.NB-share-button a { color: #FFF; text-shadow: none; - font-size: 11px; + font-size: 14px; } .NB-button.hover a,