Compare commits
2 commits
8387eeb13f
...
d0da75869e
Author | SHA1 | Date | |
---|---|---|---|
|
d0da75869e | ||
|
8d345d62cc |
2 changed files with 15 additions and 7 deletions
|
@ -115,6 +115,11 @@ nav#entrylist {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav li.abv-menu-re {
|
||||||
|
filter: grayscale(100%);
|
||||||
|
filter: gray;
|
||||||
|
}
|
||||||
|
|
||||||
main {}
|
main {}
|
||||||
|
|
||||||
article.abv-entry {
|
article.abv-entry {
|
||||||
|
|
|
@ -69,8 +69,8 @@ $( document ).ready(function() {
|
||||||
// $("#leftbar")[0].style.paddingLeft = "10px";
|
// $("#leftbar")[0].style.paddingLeft = "10px";
|
||||||
|
|
||||||
$("main")[0].style.marginLeft = "250px";
|
$("main")[0].style.marginLeft = "250px";
|
||||||
$("header")[0].style.marginLeft = "250px";
|
$("header nav")[0].style.marginLeft = "250px";
|
||||||
$("footer")[0].style.marginLeft = "250px";
|
$("footer nav")[0].style.marginLeft = "250px";
|
||||||
$("#open-leftbar").hide();
|
$("#open-leftbar").hide();
|
||||||
$("#close-leftbar").show();
|
$("#close-leftbar").show();
|
||||||
|
|
||||||
|
@ -82,8 +82,8 @@ $( document ).ready(function() {
|
||||||
$("#leftbar").hide();
|
$("#leftbar").hide();
|
||||||
// $("#leftbar")[0].style.paddingLeft = null;
|
// $("#leftbar")[0].style.paddingLeft = null;
|
||||||
$("main")[0].style.marginLeft = null;
|
$("main")[0].style.marginLeft = null;
|
||||||
$("header")[0].style.marginLeft = null;
|
$("header nav")[0].style.marginLeft = null;
|
||||||
$("footer")[0].style.marginLeft = null;
|
$("footer nav")[0].style.marginLeft = null;
|
||||||
$("#open-leftbar").show();
|
$("#open-leftbar").show();
|
||||||
$("#close-leftbar").hide();
|
$("#close-leftbar").hide();
|
||||||
})
|
})
|
||||||
|
@ -91,11 +91,14 @@ $( document ).ready(function() {
|
||||||
// Quick filter functionality
|
// Quick filter functionality
|
||||||
$('#filter-entries').on("keyup", function () {
|
$('#filter-entries').on("keyup", function () {
|
||||||
var value = $(this).val().toLowerCase();
|
var value = $(this).val().toLowerCase();
|
||||||
if (value.length > 1) {
|
if (value.length > 0) {
|
||||||
$("#entrylist > ul > li").filter(function () {
|
$("#entrylist > ul > li:not([hidden])").filter(function () {
|
||||||
return $(this).toggle($(this).children('a').text().toLowerCase().indexOf(value) > -1)
|
return $(this).toggle($(this).children('a').text().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").startsWith(value))
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$("#entrylist > ul > li").show();
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue