Remove search, maybe add later
This commit is contained in:
parent
14e1a8f1d6
commit
a25bf356c9
4 changed files with 0 additions and 32 deletions
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
title: Search
|
||||
linkTitle: 🔎
|
||||
layout: search
|
||||
---
|
|
@ -6,7 +6,6 @@ require('bootstrap');
|
|||
// Install alpha things
|
||||
require('lightgallery/dist/js/lightgallery');
|
||||
require('lg-thumbnail/dist/lg-thumbnail');
|
||||
require('./search');
|
||||
|
||||
|
||||
$('.image').each(function () { // setup div-image hybrids
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
$(document).ready(function() {
|
||||
var FADE_SETTINGS = {
|
||||
duration: 400
|
||||
};
|
||||
|
||||
$('input#search').keyup(function() {
|
||||
var filter = new RegExp($(this).val(), 'gi');
|
||||
$('div.search-results > div').each(function() {
|
||||
if ($(this).text().search(filter) === -1) {
|
||||
$(this).fadeOut(FADE_SETTINGS);
|
||||
} else {
|
||||
$(this).fadeIn(FADE_SETTINGS);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
|
@ -83,14 +83,6 @@ code {
|
|||
}
|
||||
}
|
||||
|
||||
.search-input-container {
|
||||
margin: 20px 40px;
|
||||
|
||||
input {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
table td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue