Skip to content

Commit

Permalink
Revert "Begining of bookmarks management from the scrollbar"
Browse files Browse the repository at this point in the history
This reverts commit 590dda6.
  • Loading branch information
Gerardufoin committed Apr 25, 2017
1 parent 590dda6 commit fcb5d1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 65 deletions.
32 changes: 1 addition & 31 deletions Scripts/FrontPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,9 @@ function FrontPage() {
if (node.childNodes.length == 10) {
$(node).find("a").each(function() {
$(this).find("img:first-child").width(130); // Scrollable added by ajax request have a 120px width instead of 130px...
$(this).wrap('<div class="fk-scrollingWrapper"></div>');
$(this).addClass("fk-makeRelative");
if ($.inArray($(this).attr("href"), hrefs) !== -1) {
$(this).before('\
<div class="fk-management">\
<span class="fk-bookmarkManagement">\
<a class="fk-bRead">\
<img src="/Content/Images/include.png">\
</a>\
<a class="fk-bUnRead fk-hide">\
<img src="/Content/Images/notread.png">\
</a>\
</span>\
<span class="fk-mangaManagement">\
<a>\
<img src="/Content/Images/exclude.png">\
</a>\
</span>\
<img class="fk-imgLoader fk-hide" src="../../Content/images/loader.gif">\
</div>\
');
$(this).addClass("fk-makeRelative");
$(this).append('<img src="' + bookmark_img_path + '" class="fk-notification fk-scrollableBookmarkNotification">');
} else {
$(this).before('\
<div class="fk-management">\
<span class="fk-mangaManagement">\
<a>\
<img src="/Content/Images/plus.png">\
</a>\
</span>\
<img class="fk-imgLoader fk-hide" src="../../Content/images/loader.gif">\
</div>\
');
}
});
}
Expand Down
34 changes: 0 additions & 34 deletions Styles/FrontPage.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.fk-makeRelative {
position: relative;
float: none !important;
}

.fk-notification {
Expand All @@ -19,36 +18,3 @@
left: -105px;
top: -4px;
}

.scrollable {
margin-top: -12px;
height: 210px !important;
}

.fk-management {
width: 135px;
height: 20px;
text-align: center;
float: none !important;
}

.fk-management a {
width: 20px !important;
height: 20px !important;
}

.fk-management img {
border: none !important;
}

.fk-bookmarkManagement {
width: 20px;
height: 20px;
display: inline-block;
}

.fk-mangaManagement {
width: 20px;
height: 20px;
display: inline-block;
}

0 comments on commit fcb5d1e

Please sign in to comment.