@healthcatalyst/catalyst-docfx-template 1.0.151 → 1.0.153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/package.json
CHANGED
package/styles/main.css
CHANGED
|
@@ -2103,9 +2103,9 @@ article .tabGroup > ul > li {
|
|
|
2103
2103
|
|
|
2104
2104
|
/* Side search styling */
|
|
2105
2105
|
.sidefilter .docs-search {
|
|
2106
|
-
padding:
|
|
2107
|
-
background:
|
|
2108
|
-
border
|
|
2106
|
+
padding: 0px;
|
|
2107
|
+
background: transparent;
|
|
2108
|
+
border: 0px;
|
|
2109
2109
|
}
|
|
2110
2110
|
|
|
2111
2111
|
.sidefilter .side-search {
|
|
@@ -2113,10 +2113,12 @@ article .tabGroup > ul > li {
|
|
|
2113
2113
|
display: flex;
|
|
2114
2114
|
align-items: center;
|
|
2115
2115
|
margin: 0;
|
|
2116
|
+
width:100%;
|
|
2116
2117
|
}
|
|
2117
2118
|
|
|
2118
2119
|
.sidefilter #search-query {
|
|
2119
2120
|
width: 100%;
|
|
2121
|
+
height:35px;
|
|
2120
2122
|
padding: 8px 12px 8px 35px;
|
|
2121
2123
|
border: 1px solid #ced4da;
|
|
2122
2124
|
border-radius: 4px;
|
|
@@ -2143,6 +2145,8 @@ article .tabGroup > ul > li {
|
|
|
2143
2145
|
font-weight: 900;
|
|
2144
2146
|
position: absolute;
|
|
2145
2147
|
left: 12px;
|
|
2148
|
+
top:50%;
|
|
2149
|
+
transform: translateY(-50%);
|
|
2146
2150
|
color: #6c757d;
|
|
2147
2151
|
pointer-events: none;
|
|
2148
2152
|
z-index: 1;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license.}}
|
|
2
|
+
|
|
3
|
+
<div id="sidetoggle">
|
|
4
|
+
<div>
|
|
5
|
+
{{^_disableSideFilter}}
|
|
6
|
+
<div class="sidefilter">
|
|
7
|
+
<div class="docs-search">
|
|
8
|
+
<form role="search" id="search" class="side-search">
|
|
9
|
+
<input type="text" id="search-query" placeholder="Search this site" autocomplete="off" aria-label="Search the site">
|
|
10
|
+
<button type="button" id="search-clear" aria-label="Clear search" style="position:absolute;right:8px;background:none;border:0;cursor:pointer;font-size:16px;line-height:1;color:#666;">×</button>
|
|
11
|
+
</form>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
{{/_disableSideFilter}}
|
|
15
|
+
<div class="sidetoc">
|
|
16
|
+
<div class="toc" id="toc">
|
|
17
|
+
{{^leaf}}
|
|
18
|
+
{{>partials/li}}
|
|
19
|
+
{{/leaf}}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<script>
|
|
26
|
+
(function() {
|
|
27
|
+
// Wait for DOM and search to be ready
|
|
28
|
+
$(document).ready(function() {
|
|
29
|
+
var searchInput = $('#search-query');
|
|
30
|
+
if (!searchInput.length) return;
|
|
31
|
+
|
|
32
|
+
// Trigger the existing searchEvent
|
|
33
|
+
$('body').trigger('searchEvent');
|
|
34
|
+
|
|
35
|
+
// Ensure search input triggers query
|
|
36
|
+
searchInput.on('input', function() {
|
|
37
|
+
var query = $(this).val();
|
|
38
|
+
if (query && query.length >= 3) {
|
|
39
|
+
$('body').trigger('queryReady');
|
|
40
|
+
$('#search-results>.search-list>span').text('"' + query + '"');
|
|
41
|
+
} else if (query === '') {
|
|
42
|
+
$('.hide-when-search').show();
|
|
43
|
+
$('#search-results').hide();
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
})();
|
|
48
|
+
</script>
|
|
Binary file
|