added new search facilities

This commit is contained in:
Themefisher Dev 2020-02-15 17:34:02 +06:00
parent 6695462d13
commit 17e688465f
32 changed files with 93 additions and 27 deletions

View file

@ -158,7 +158,7 @@ ul {
padding-left: 0; padding-left: 0;
} }
ol{ ol {
padding-left: 20px; padding-left: 20px;
} }
@ -202,7 +202,7 @@ select:focus {
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.section{ .section {
padding-top: 60px; padding-top: 60px;
} }
} }
@ -213,7 +213,7 @@ select:focus {
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.section-sm{ .section-sm {
padding-top: 40px; padding-top: 40px;
} }
} }
@ -438,12 +438,12 @@ header.sticky-top {
background: transparent; background: transparent;
} }
.lang-list{ .lang-list {
background: transparent; background: transparent;
color: var(--white-color); color: var(--white-color);
} }
.lang-list.dark{ .lang-list.dark {
color: var(--text-color-dark); color: var(--text-color-dark);
} }
@ -492,9 +492,20 @@ header.sticky-top {
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
} }
.ui-menu::before {
position: absolute;
content: "";
width: 100%;
height: 10px;
background: #fff;
left: 0;
bottom: 0;
z-index: 999;
}
@media (max-width: 575px) { @media (max-width: 575px) {
.ui-menu { .ui-menu {
width: calc( 100% - 30px) !important; width: calc(100% - 30px) !important;
} }
} }
@ -522,16 +533,21 @@ header.sticky-top {
} }
} }
.ui-menu-item:not(:last-child){ .ui-menu-item:not(:last-child) {
margin-bottom: 5px; margin-bottom: 5px;
padding-bottom: 5px; padding-bottom: 5px;
border-bottom: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
} }
.ui-menu-item:nth-child(5){ .ui-menu-item *{
border: 0; display: none;
} }
.ui-menu-item .ui-corner-all{
display: block;
}
/* /navigation */ /* /navigation */
.form-control { .form-control {
height: 50px; height: 50px;
@ -638,7 +654,7 @@ blockquote {
background: #f9f9f9; background: #f9f9f9;
} }
blockquote p{ blockquote p {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
@ -766,13 +782,13 @@ tbody {
display: none; display: none;
} }
li.sidelist>a{ li.sidelist>a {
margin-left: 20px; margin-left: 20px;
margin-bottom: 10px; margin-bottom: 10px;
display: block; display: block;
} }
li.sidelist li a{ li.sidelist li a {
margin: 0; margin: 0;
} }
@ -853,7 +869,7 @@ p a:empty {
padding: 0 !important; padding: 0 !important;
} }
.nav-tabs>li::before{ .nav-tabs>li::before {
display: none; display: none;
} }
@ -870,7 +886,7 @@ pre {
margin: 10px 0px 10px; margin: 10px 0px 10px;
} }
code{ code {
margin-bottom: 0 !important; margin-bottom: 0 !important;
font-size: 100%; font-size: 100%;
} }

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 3 weight: 3
draft: false draft: false
# search related keywords
keywords: ["money","payment"]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 3 weight: 3
draft: false draft: false
# search related keywords
keywords: ["money","payment"]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 2 weight: 2
draft: false draft: false
# search related keywords
keywords: ["handle"]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 2 weight: 2
draft: false draft: false
# search related keywords
keywords: ["handle"]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 1 weight: 1
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 1 weight: 1
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 4 weight: 4
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 4 weight: 4
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 5 weight: 5
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 5 weight: 5
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 1 weight: 1
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 1 weight: 1
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 2 weight: 2
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 2 weight: 2
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 3 weight: 3
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 3 weight: 3
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 4 weight: 4
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 4 weight: 4
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 5 weight: 5
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 5 weight: 5
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam. Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 3 weight: 3
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
### Global site parameters ### Global site parameters

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 3 weight: 3
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
### Global site parameters ### Global site parameters

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 4 weight: 4
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
**Dot** has been built to be as configurable as possible. **Dot** has been built to be as configurable as possible.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 4 weight: 4
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
**Dot** has been built to be as configurable as possible. **Dot** has been built to be as configurable as possible.

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 5 weight: 5
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
# Heading 1 # Heading 1

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 3 weight: 3
draft: false draft: false
# search related keywords
keywords: [""]
--- ---
# Heading 1 # Heading 1

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 2 weight: 2
draft: false draft: false
# search related keywords
keywords: ["induct", "instate"]
--- ---
The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/). The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 2 weight: 2
draft: false draft: false
# search related keywords
keywords: ["induct", "instate"]
--- ---
The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/). The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 1 weight: 1
draft: false draft: false
# search related keywords
keywords: [""]
--- ---

View file

@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00 lastmod: 2020-01-05T10:42:26+06:00
weight: 1 weight: 1
draft: false draft: false
# search related keywords
keywords: [""]
--- ---

View file

@ -17,27 +17,17 @@
{{ range $pages }} {{ range $pages }}
{ {
value: "{{ .Title }}", value: "{{ .Title }}",
label: "{{ .Title }}", label: "{{.Content}}{{range.Params.Keywords}}<p>{{.}}</p>{{end}}",
url:"{{ .Permalink }}" url:"{{ .Permalink }}"
}, },
{{ end }} {{ end }}
]; ];
$( "#search" ).autocomplete({ $( "#search" ).autocomplete({
minLength: 0, source: projects
source: projects,
focus: function( event, ui ) {
$( "#search" ).val( ui.item.label );
return false;
},
select: function( event, ui ) {
$( "#search" ).val( ui.item.label );
$( "#project-id" ).val( ui.item.value );
return false;
}
}) })
.data( "ui-autocomplete" )._renderItem = function( ul, item ) { .data( "ui-autocomplete" )._renderItem = function( ul, item ) {
return $( "<li>" ) return $( "<li>" )
.append( "<a href=" + item.url + " + \" &quot;\" + >" + item.label + "</a>" ) .append( "<a href=" + item.url + " + \" &quot;\" + >" + item.value + "</a>" + item.label )
.appendTo( ul ); .appendTo( ul );
}; };
}); });