mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding another directionl arrow to complement the Next Unread button.
This commit is contained in:
parent
77498277ee
commit
6c7127806a
3 changed files with 17 additions and 6 deletions
|
@ -963,8 +963,8 @@ background: transparent;
|
|||
}
|
||||
|
||||
.NB-taskbar .taskbar_nav_story {
|
||||
right: 61px;
|
||||
width: 200px;
|
||||
right: 0;
|
||||
width: 261px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
@ -1021,6 +1021,10 @@ background: transparent;
|
|||
cursor: pointer;
|
||||
background: transparent url('../img/icons/silk/arrow_left.png') no-repeat center center;
|
||||
}
|
||||
.NB-taskbar .task_button.task_story_next {
|
||||
cursor: pointer;
|
||||
background: transparent url('../img/icons/silk/arrow_down.png') no-repeat center center;
|
||||
}
|
||||
.NB-taskbar .task_button_view.NB-active {
|
||||
background-color: #A0A7B1;
|
||||
}
|
||||
|
|
|
@ -253,6 +253,7 @@
|
|||
var story_id = $next_story.data('story_id');
|
||||
if (story_id) {
|
||||
var story = this.find_story_in_stories(story_id);
|
||||
this.push_current_story_on_history();
|
||||
this.open_story(story, $next_story);
|
||||
this.scroll_story_titles_to_show_selected_story_title($next_story);
|
||||
}
|
||||
|
@ -1720,10 +1721,14 @@
|
|||
e.preventDefault();
|
||||
self.load_iframe();
|
||||
});
|
||||
$.targetIs(e, { tagSelector: '.task_button_story.task_story_next' }, function($t, $p){
|
||||
$.targetIs(e, { tagSelector: '.task_button_story.task_story_next_unread' }, function($t, $p){
|
||||
e.preventDefault();
|
||||
self.show_next_unread_story();
|
||||
});
|
||||
$.targetIs(e, { tagSelector: '.task_button_story.task_story_next' }, function($t, $p){
|
||||
e.preventDefault();
|
||||
self.show_next_story(1);
|
||||
});
|
||||
$.targetIs(e, { tagSelector: '.task_button_story.task_story_previous' }, function($t, $p){
|
||||
e.preventDefault();
|
||||
self.show_previous_story();
|
||||
|
@ -1868,7 +1873,7 @@
|
|||
switch_feed_view_unread_view: function(unread_view) {
|
||||
var $feed_list = this.$feed_list;
|
||||
var unread_view_name = this.get_unread_view_name(unread_view);
|
||||
var $next_story_button = $('.task_story_next');
|
||||
var $next_story_button = $('.task_story_next_unread');
|
||||
|
||||
NEWSBLUR.Globals.unread_view = unread_view;
|
||||
|
||||
|
|
|
@ -55,9 +55,11 @@
|
|||
</ul>
|
||||
|
||||
<ul class="taskbar_nav taskbar_nav_story first">
|
||||
<li class="task_button task_button_story task_story_previous">
|
||||
<li class="task_button task_button_story task_story_previous"></li>
|
||||
<li class="task_button task_button_story task_story_next_unread task_story_next_positive">
|
||||
<span class="NB-task-title">Next Unread</span>
|
||||
</li>
|
||||
<li class="task_button task_button_story task_story_next task_story_next_positive"><span class="NB-task-title">Next Unread</span></li>
|
||||
<li class="task_button task_button_story task_story_next"></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue