Skip to content

Commit

Permalink
Add unsupported warning to 1.2
Browse files Browse the repository at this point in the history
Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws committed Jan 9, 2024
1 parent ef3c28f commit ae5e2f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/warning.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<p class="warning">This version of the OpenSearch documentation is no longer maintained. For the latest version, see the <a href="{{ site.url }}/docs{{ page.url }}">current documentation</a>. For information about OpenSearch version maintenance, see <a href="https://opensearch.org/releases.html">Release Schedule and Maintenance Policy</a>.</p>
<p class="unsupported-version-warning">This version of the OpenSearch documentation is no longer maintained. For the latest version, see the <a href="{{ site.url }}/docs{{ page.url }}">current documentation</a>. For information about OpenSearch version maintenance, see <a href="https://opensearch.org/releases.html">Release Schedule and Maintenance Policy</a>.</p>
6 changes: 6 additions & 0 deletions _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ img {
border-left: 5px solid $red-100;
}

.unsupported-version-warning {
@extend %callout;
border-left: 5px solid $red-100;
background-color: mix(white, $red-100, 80%);
}

// Labels
.label,
.label-blue {
Expand Down

0 comments on commit ae5e2f7

Please sign in to comment.