@healthcatalyst/catalyst-docfx-template 1.0.54 → 1.0.57
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.
- package/healthcatalyst-catalyst-docfx-template-1.0.57.tgz +0 -0
- package/layout/_master.tmpl +2 -2
- package/package.json +1 -1
- package/partials/{sql-server.tmpl.partial → dosClassic.tmpl.partial} +1 -1
- package/partials/{snowflake.tmpl.partial → dosCloud.tmpl.partial} +1 -1
- package/partials/dosVersion.tmpl.partial +7 -0
- package/styles/main.css +128 -0
- package/styles/main.js +49 -31
- package/healthcatalyst-catalyst-docfx-template-1.0.54.tgz +0 -0
- package/partials/version.tmpl.partial +0 -7
|
Binary file
|
package/layout/_master.tmpl
CHANGED
package/package.json
CHANGED
package/styles/main.css
CHANGED
|
@@ -1641,4 +1641,132 @@ a.anchor {
|
|
|
1641
1641
|
pre {
|
|
1642
1642
|
/* Avoid pushing up the copy buttons. */
|
|
1643
1643
|
/* margin: 0; */
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
/* This code hides cross references between PDF pages. Corresponding code (.web-only) that hides cross references in the web app is in /templates/pdf/styles/main.css. */
|
|
1647
|
+
.pdf-only {
|
|
1648
|
+
display: none;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
/*
|
|
1652
|
+
.sidetoc, .sidefilter {
|
|
1653
|
+
margin-top: 56px;
|
|
1654
|
+
}
|
|
1655
|
+
*/
|
|
1656
|
+
|
|
1657
|
+
.statusMessage {
|
|
1658
|
+
background-color: #aae2c8;
|
|
1659
|
+
font-size: 13.5px;
|
|
1660
|
+
font-weight: 600;
|
|
1661
|
+
padding-top: 15px;
|
|
1662
|
+
padding-bottom: 20px;
|
|
1663
|
+
padding-right: 15px;
|
|
1664
|
+
margin-top: -16px;
|
|
1665
|
+
margin-right: 16px;
|
|
1666
|
+
margin-left: -40px;
|
|
1667
|
+
margin-bottom: 10px;
|
|
1668
|
+
padding-left: 5em;
|
|
1669
|
+
text-indent: -5em;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
#statusIcon {
|
|
1673
|
+
font-size: 24px;
|
|
1674
|
+
margin-left: 100px;
|
|
1675
|
+
transform: translate(0, 5px);
|
|
1676
|
+
margin-right: -36px;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
.toc-deprecated:before {
|
|
1680
|
+
content: 'Deprecated' !important;
|
|
1681
|
+
background-color: #d7dde4;
|
|
1682
|
+
color: #333;
|
|
1683
|
+
border-radius: 3px;
|
|
1684
|
+
font-size: 9px;
|
|
1685
|
+
text-transform: uppercase;
|
|
1686
|
+
font-weight: 600;
|
|
1687
|
+
letter-spacing: 0.15px;
|
|
1688
|
+
margin-left: 0px;
|
|
1689
|
+
margin-top: 4px;
|
|
1690
|
+
margin-bottom: 4px;
|
|
1691
|
+
margin-right: 4px;
|
|
1692
|
+
padding: 3px 7px 3px 10px;
|
|
1693
|
+
position: relative;
|
|
1694
|
+
top: -1px;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
/* "Page has moved/is obsolete" banner at top of page */
|
|
1698
|
+
|
|
1699
|
+
#nextWarning {
|
|
1700
|
+
background-color: #ffdbb7;
|
|
1701
|
+
font-size: 12px;
|
|
1702
|
+
font-weight: 400;
|
|
1703
|
+
height: 35px;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
#nextWarning p {
|
|
1707
|
+
text-align: center;
|
|
1708
|
+
margin: auto;
|
|
1709
|
+
font-size: 13.5px;
|
|
1710
|
+
font-weight: 600;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
#nextWarningToc {
|
|
1714
|
+
margin-top: 56px;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
/* Which DOS versions apply to page */
|
|
1718
|
+
|
|
1719
|
+
#tag {
|
|
1720
|
+
font-size: 13.5px;
|
|
1721
|
+
font-weight: 600;
|
|
1722
|
+
padding-top: 15px;
|
|
1723
|
+
padding-bottom: 15px;
|
|
1724
|
+
padding-right: 15px;
|
|
1725
|
+
padding-left: 15px;
|
|
1726
|
+
margin-top: -16px !important;
|
|
1727
|
+
margin-left: -50px;
|
|
1728
|
+
margin-bottom: 10px !important;
|
|
1729
|
+
margin-right: 15px;
|
|
1730
|
+
text-indent: 4em;
|
|
1731
|
+
background: #d6f3ff;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
#dosVersion {
|
|
1735
|
+
padding-left: 12px;
|
|
1736
|
+
font-weight: 400;
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
#success-checkmark {
|
|
1740
|
+
background: #00aeff;
|
|
1741
|
+
color: white;
|
|
1742
|
+
padding: 1px 4px;
|
|
1743
|
+
border-radius: 50%;
|
|
1744
|
+
padding-right: 1px;
|
|
1745
|
+
margin-right: 8px;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
#version-bump {
|
|
1749
|
+
padding-right: 15px;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
/* Styles a message in a line anywhere in the document with {{ term }} - see main.js */
|
|
1753
|
+
|
|
1754
|
+
.message {
|
|
1755
|
+
font-size: 13.5px;
|
|
1756
|
+
font-weight: 600;
|
|
1757
|
+
padding-top: 8px;
|
|
1758
|
+
padding-bottom: 8px;
|
|
1759
|
+
padding-left: 15px;
|
|
1760
|
+
margin-top: 35px;
|
|
1761
|
+
margin-bottom: -5px;
|
|
1762
|
+
text-indent: 2em;
|
|
1763
|
+
background: #d6f3ff;
|
|
1764
|
+
display: inline-block;
|
|
1765
|
+
width: 100%;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
.message > .fa:before {
|
|
1769
|
+
margin-left: -52px;
|
|
1770
|
+
padding-right: 10px;
|
|
1771
|
+
color: #00aeff;
|
|
1644
1772
|
}
|
package/styles/main.js
CHANGED
|
@@ -136,46 +136,64 @@ copyCode.on('success', function(event) {
|
|
|
136
136
|
|
|
137
137
|
// Replace {{ keys }} with plain-text values in sourcedContent/terms.json at directory root
|
|
138
138
|
|
|
139
|
-
var terms = (function() {
|
|
139
|
+
var terms = (function () {
|
|
140
140
|
var json = null;
|
|
141
|
+
var baseUrl = window.location.origin;
|
|
142
|
+
console.log(baseUrl);
|
|
141
143
|
$.ajax({
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
144
|
+
async: false,
|
|
145
|
+
global: false,
|
|
146
|
+
url: baseUrl + "/sourcedContent/terms.json",
|
|
147
|
+
dataType: "json",
|
|
148
|
+
success: function (data) {
|
|
149
|
+
json = data;
|
|
150
|
+
},
|
|
149
151
|
});
|
|
152
|
+
|
|
150
153
|
for (let [key, value] of Object.entries(json)) {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
console.log(`${key}: ${value}`);
|
|
155
|
+
var toReplace = "{{ " + key + " }}";
|
|
156
|
+
var replaceWith = value;
|
|
157
|
+
document.body.innerHTML = document.body.innerHTML.replace(
|
|
158
|
+
toReplace,
|
|
159
|
+
replaceWith
|
|
160
|
+
);
|
|
155
161
|
}
|
|
156
162
|
return terms;
|
|
157
|
-
})();
|
|
158
|
-
|
|
159
|
-
// Replace {{ keys }} with icon and message banner from sourcedContent/messages.json at directory root
|
|
160
|
-
|
|
161
|
-
var messages = (function() {
|
|
163
|
+
})();
|
|
164
|
+
|
|
165
|
+
// Replace {{ keys }} with icon and message banner from sourcedContent/messages.json at directory root
|
|
166
|
+
|
|
167
|
+
var messages = (function () {
|
|
162
168
|
var json = null;
|
|
169
|
+
var baseUrl = window.location.origin;
|
|
170
|
+
console.log(baseUrl)
|
|
163
171
|
$.ajax({
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
172
|
+
async: false,
|
|
173
|
+
global: false,
|
|
174
|
+
url: baseUrl + "/sourcedContent/messages.json",
|
|
175
|
+
dataType: "json",
|
|
176
|
+
success: function (data) {
|
|
177
|
+
json = data;
|
|
178
|
+
},
|
|
171
179
|
});
|
|
172
180
|
for (var k in json) {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
181
|
+
var o = json[k];
|
|
182
|
+
// console.log(o.message);
|
|
183
|
+
// console.log(o.icon);
|
|
184
|
+
var toReplace = "{{ " + k + " }}";
|
|
185
|
+
var replaceWith =
|
|
186
|
+
'<p class="message">' +
|
|
187
|
+
'<i class="fa ' +
|
|
188
|
+
o.icon +
|
|
189
|
+
'"></i>' +
|
|
190
|
+
o.message +
|
|
191
|
+
"</p>";
|
|
192
|
+
document.body.innerHTML = document.body.innerHTML.replace(
|
|
193
|
+
toReplace,
|
|
194
|
+
replaceWith
|
|
195
|
+
);
|
|
179
196
|
}
|
|
180
197
|
return messages;
|
|
181
|
-
})();
|
|
198
|
+
})();
|
|
199
|
+
|
|
Binary file
|