Fixing story modifications button.

This commit is contained in:
Samuel Clay 2013-02-15 17:51:31 -08:00
parent 4ffb4424a9
commit b2571f77fe
2 changed files with 22 additions and 16 deletions

View file

@ -2240,11 +2240,11 @@ background: transparent;
text-shadow: none;
}
.NB-feed-story .NB-feed-story-header .NB-feed-story-hide-changes {
width: 16px;
width: 24px;
height: 16px;
background: transparent url('/media/embed/reader/code_icon.png') no-repeat 0 0;
float: left;
margin: 1px 8px 0px 0px;
margin: 1px 0 0px 0px;
opacity: .6;
cursor: pointer;
}
@ -2270,27 +2270,27 @@ background: transparent;
.NB-feed-story .NB-feed-story-view-narrow .NB-feed-story-content {
margin-right: 28px;
}
.NB-pref-hide-changes .NB-feed-story-content ins,
.NB-story-hide-changes .NB-feed-story-content ins {
text-decoration: none;
color: inherit;
}
.NB-pref-hide-changes .NB-feed-story-content del,
.NB-story-hide-changes .NB-feed-story-content del {
display: none;
}
.NB-modal-preferences ins,
.NB-feed-story .NB-feed-story-content ins,
.NB-pref-hide-changes .NB-feed-story .NB-story-show-changes .NB-feed-story-content ins {
.NB-feed-story-content ins,
.NB-pref-hide-changes .NB-story-show-changes .NB-feed-story-content ins {
text-decoration: underline;
color: #27652F;
}
.NB-modal-preferences del,
.NB-feed-story .NB-feed-story-content del,
.NB-pref-hide-changes .NB-feed-story .NB-story-show-changes .NB-feed-story-content del {
.NB-feed-story-content del,
.NB-pref-hide-changes .NB-story-show-changes .NB-feed-story-content del {
display: inline;
color: #861616;
}
.NB-pref-hide-changes .NB-feed-story .NB-feed-story-content ins,
.NB-feed-story .NB-story-hide-changes .NB-feed-story-content ins {
text-decoration: none;
color: inherit;
}
.NB-pref-hide-changes .NB-feed-story .NB-feed-story-content del,
.NB-feed-story .NB-story-hide-changes .NB-feed-story-content del {
display: none;
}
/* =========================== */
/* = Story content expansion = */

View file

@ -562,7 +562,13 @@ NEWSBLUR.Views.StoryDetailView = Backbone.View.extend({
// this.$('ins').css({'text-decoration': 'none'});
// this.$('del').css({'display': 'none'});
}
$button.css('opacity', 1).fadeOut(400);
$button.css('opacity', 1).animate({
'width': 0,
'opacity': 0
}, {
'queue': false,
'duration': 500
});
$button.tipsy('hide').tipsy('disable');
NEWSBLUR.app.story_list.fetch_story_locations_in_feed_view();
},