@healthcatalyst/catalyst-docfx-template 1.0.162 → 1.0.164

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcatalyst/catalyst-docfx-template",
3
- "version": "1.0.162",
3
+ "version": "1.0.164",
4
4
  "license": "MIT",
5
5
  "description": "A DocFX Template patching the Default template.",
6
6
  "publishConfig": {
@@ -8,10 +8,10 @@
8
8
  <span class="expand-stub"></span>
9
9
  {{/leaf}}
10
10
  {{#topicHref}}
11
- <a href="{{topicHref}}" name="{{tocHref}}" title="{{name}}" {{#external}} target="_blank" rel="noopener"{{/external}}>{{name}}</a>
11
+ <a href="{{topicHref}}" name="{{tocHref}}" title="{{name}}"{{#class}} class="{{class}}"{{/class}}{{#external}} target="_blank" rel="noopener"{{/external}}>{{name}}</a>
12
12
  {{/topicHref}}
13
13
  {{^topicHref}}
14
- <a>{{{name}}}</a>
14
+ <a{{#class}} class="{{class}}"{{/class}}>{{{name}}}</a>
15
15
  {{/topicHref}}
16
16
  {{^leaf}}
17
17
  {{>partials/li}}
package/styles/main.css CHANGED
@@ -1516,6 +1516,18 @@ a.anchor {
1516
1516
  color: #00aeff
1517
1517
  }
1518
1518
 
1519
+ :not(.level2)>li>.line-above {
1520
+ margin-top: 30px;
1521
+ }
1522
+
1523
+ :not(.level2)>li>.line-above:before {
1524
+ content: "";
1525
+ position: absolute;
1526
+ border-bottom: 1px solid #E1E3E3;
1527
+ width: 100%;
1528
+ margin-top:-20px;
1529
+ }
1530
+
1519
1531
  .line-below {
1520
1532
  padding-bottom: 20px !important;
1521
1533
  border-bottom: 1px solid #E1E3E3 !important;
@@ -1602,24 +1614,6 @@ pre {
1602
1614
  margin-right: -36px;
1603
1615
  }
1604
1616
 
1605
- .toc-deprecated:before {
1606
- content: 'Deprecated' !important;
1607
- background-color: #d7dde4;
1608
- color: #131314;
1609
- border-radius: 3px;
1610
- font-size: 9px;
1611
- text-transform: uppercase;
1612
- font-weight: 600;
1613
- letter-spacing: 0.15px;
1614
- margin-left: 0px;
1615
- margin-top: 4px;
1616
- margin-bottom: 4px;
1617
- margin-right: 4px;
1618
- padding: 3px 7px 3px 10px;
1619
- position: relative;
1620
- top: -1px;
1621
- }
1622
-
1623
1617
  /* "Page has moved/is obsolete" banner at top of page */
1624
1618
 
1625
1619
  #nextWarning {
@@ -2116,4 +2110,41 @@ article .tabGroup > ul > li {
2116
2110
  .sideaffix .affix {
2117
2111
  padding-bottom: 80px; /* adjust to your footer height */
2118
2112
  margin-bottom: 80px; /* optional but helps with fixed-position variants */
2119
- }
2113
+ }
2114
+ /* TOC tags; apply in the toc */
2115
+
2116
+ .beta:after, .toc-beta:after, .new:after, .toc-new:after, .deprecated:after, .toc-deprecated:after {
2117
+ color: #000;
2118
+ font-weight:600;
2119
+ padding: 2px 6px;
2120
+ border-radius: 3px;
2121
+ margin-left: 6px;
2122
+ }
2123
+
2124
+ .beta:after, .toc-beta:after {
2125
+ background-color: #ffdcb3;
2126
+ content: "BETA" !important;
2127
+ }
2128
+
2129
+ .new:after, .toc-new:after {
2130
+ background-color: #CDFCE1;
2131
+ content: "NEW" !important;
2132
+ }
2133
+
2134
+ .deprecated:after, .toc-deprecated:after {
2135
+ background-color: #ffdcb3;
2136
+ content: "DEPRECATED" !important;
2137
+ }
2138
+
2139
+ .beta:after, .new:after, .deprecated:after {
2140
+ font-size: 12px;
2141
+ height: 20px;
2142
+ vertical-align: middle;
2143
+ }
2144
+
2145
+ .toc-beta:after, .toc-new:after, .toc-deprecated:after {
2146
+ font-size: 10px;
2147
+ height: 15px;
2148
+ letter-spacing: 0.15px;
2149
+ margin-top: 4px;
2150
+ }