Commit ee8a0336 authored by Laurent Sittler's avatar Laurent Sittler ©
Browse files

feat(search): elasticsearch connector

- Add elasticsearch connector
- fix do not dismiss results if use click into the search input
- support elasticsearch highlight visual
- add Microsoft Fluent UI favicon
- update docker compose to include elasticsearch + logstash containers
- add all elasticsearch config files
- ignore 'elasticsearch' folder
- update README
parent f998f2aa
MIT License
Copyright (c) 2021 Fluent UI - Ghost Themes
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
......@@ -8,7 +8,7 @@ Ghost theme using the Fluent UI framework and based on the Microsoft SharePoint
To enjoy the features of this theme, some of them should be configured manually in accordance with your wishes.
You can see more information about the configuration into the [Wiki](./-/wikis) pages of this project.
You can see more information about the configuration into the [Wiki](../../wikis) pages of this project.
## Path to awesome
......
......@@ -699,6 +699,9 @@ hr {
color: var(--black);
height: 100%;
user-select: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.button-command {
......@@ -738,6 +741,9 @@ hr {
background-color: var(--white);
color: var(--black);
user-select: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.button-primary {
......@@ -802,7 +808,8 @@ button .button-icon {
color: #ffffff;
}
button .button-text {
.button-primary .button-text,
.button-default .button-text {
flex-grow: 1;
display: block;
margin: 0 4px;
......@@ -2591,6 +2598,9 @@ html[data-theme=dark] #HeaderSuiteBar #CenterRegion #topButtonsRegion #MainLink_
background-color: var(--white);
color: var(--black);
user-select: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
#isso-thread input[type=submit] {
......@@ -2781,7 +2791,7 @@ footer .footerCopyright span {
line-height: 19px;
text-align: left;
-webkit-font-smoothing: antialiased;
font-size: 14px;
font-size: 16px;
margin: 14px 24px 14px 0;
align-items: center;
}
......@@ -3266,7 +3276,6 @@ footer.extended .megaMenu-section .menu-item {
}
@media screen and (max-width: 639px) {
.authorPage-profile .canvasZone.authorPage-pane .authorPage-profileBio,
.authorPage-profile .canvasZone.authorPage-pane .authorPage-profileInfo {
text-align: left;
......
......@@ -3238,7 +3238,7 @@
} else {
ghost_root = "/ghost/api/v3";
}
} catch {
} catch (e) {
ghost_root = "/ghost/api/v3";
}
......@@ -3435,7 +3435,7 @@
if (ghost_root_url) {
ghost_root = ghost_root_url;
}
} catch {
} catch (e) {
ghost_root = "/ghost/api/v3";
}
......
......@@ -40,6 +40,7 @@
</div>
</div>
<script src="{{asset "dist/jquery-3.5.1.min.js"}}" type="text/javascript"></script>
{{#is "post, page"}}
{{!-- https://highlightjs.org/download/ --}}
<script src="{{asset "dist/highlightjs/highlight.pack.js"}}" type="text/javascript"></script>
<script type="text/javascript">
......@@ -49,6 +50,7 @@
});
});
</script>
{{/is}}
<script src="{{asset "dist/cookieconsent.min.js"}}" type="text/javascript"></script>
<script src="{{asset "built/ghost-fluentui.js"}}" type="text/javascript"></script>
......
{
"name": "fluent-ui",
"description": "A Ghost Theme based on Microsoft Fluent UI Framework and Microsoft SharePoint design",
"version": "0.0.1",
"version": "0.0.2",
"engines": {
"ghost": ">=3.0.0",
"ghost-api": "v3"
......@@ -33,7 +33,7 @@
"url": "https://gitlab.lsonline.fr/ghost-themes/ghost-fluent-ui"
},
"bugs": "https://gitlab.lsonline.fr/ghost-themes/ghost-fluent-ui/-/issues",
"contributors": "https://gitlab.lsonline.fr/ghost-themes/ghost-fluent-ui/-/graphs/master",
"contributors": ["https://gitlab.lsonline.fr/ghost-themes/ghost-fluent-ui/-/graphs/master"],
"scripts": {
"lint": "gulp lint",
"dev": "gulp",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment