Skip to content

Commit

Permalink
Upgrade FancyBox and install it using NPM
Browse files Browse the repository at this point in the history
FancyBox was the last of the third party JavaScript libraries. Since
the official NPM package only offers the new major version, selfoss
was also upgraded to use it. As a bonus, long standing issue with
keyboard shortcuts was fixed.

Closes: #796
  • Loading branch information
jtojnar committed Jun 15, 2017
1 parent b9b6a1b commit 37311e5
Show file tree
Hide file tree
Showing 9 changed files with 114 additions and 349 deletions.
274 changes: 0 additions & 274 deletions public/css/jquery.fancybox.css

This file was deleted.

17 changes: 0 additions & 17 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1404,23 +1404,6 @@ body.publicmode.notloggedin .entry-unread {
}

}

/* fancyBox */
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
background-image: url('images/fancybox_sprite.png');
}

#fancybox-loading div {
background: url('images/fancybox_loading.gif') center center no-repeat;
}

.fancybox-nav {
background: transparent url('images/blank.gif'); /* helps IE */
}

.fancybox-overlay {
background: url('images/fancybox_overlay.png');
}

/* emojis */
img[src^='http://s.w.org/images/core/emoji'], img[src^='https://s.w.org/images/core/emoji'] {
Expand Down
Binary file removed public/images/fancybox_loading.gif
Binary file not shown.
Binary file removed public/images/fancybox_overlay.png
Binary file not shown.
Binary file removed public/images/fancybox_sprite.png
Binary file not shown.
Loading

0 comments on commit 37311e5

Please sign in to comment.