From b95614329d7b64577757da1d01762a9e6eee8cf6 Mon Sep 17 00:00:00 2001 From: Josh Wong Date: Wed, 8 May 2024 11:13:04 +0900 Subject: [PATCH] Add styles to Release Support Policy pages (#237) * Add style for unsupported versions * Mark unsupported versions Add a style to the cells of unsupported versions (because of a limitation in the default CSS in Docusaurus, can't add the style to a row), and add a note to the bottom that explains the asterisk next to versions that are no longer supported. --- docs/releases/release-support-policy.mdx | 32 ++++++++++--------- src/css/custom.css | 6 ++++ .../releases/release-support-policy.mdx | 32 ++++++++++--------- .../releases/release-support-policy.mdx | 32 ++++++++++--------- .../releases/release-support-policy.mdx | 12 ++++--- .../releases/release-support-policy.mdx | 22 +++++++------ .../releases/release-support-policy.mdx | 32 ++++++++++--------- .../releases/release-support-policy.mdx | 32 ++++++++++--------- .../releases/release-support-policy.mdx | 32 ++++++++++--------- .../releases/release-support-policy.mdx | 32 ++++++++++--------- 10 files changed, 144 insertions(+), 120 deletions(-) diff --git a/docs/releases/release-support-policy.mdx b/docs/releases/release-support-policy.mdx index ccc0f872..858e1687 100644 --- a/docs/releases/release-support-policy.mdx +++ b/docs/releases/release-support-policy.mdx @@ -64,25 +64,27 @@ This page describes Scalar's support policy for major and minor version releases Contact us - 3.6 - 2022-07-08 - 2023-09-03 - 2024-03-01 - Contact us + 3.6* + 2022-07-08 + 2023-09-03 + 2024-03-01 + Contact us - 3.5 - 2022-02-16 - 2023-07-08 - 2024-01-04 - Contact us + 3.5* + 2022-02-16 + 2023-07-08 + 2024-01-04 + Contact us - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support. diff --git a/src/css/custom.css b/src/css/custom.css index c671e2aa..43695b66 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -37,6 +37,12 @@ --ifm-h1-font-size: 2.25rem; } +.version-out-of-support, .version-out-of-support a { + background-color: #9CA3AF; + color: #1c1e21; + opacity: 85%; +} + /* Announcement Bar */ div[class^='announcementBar'] { font-size: 1.1rem; diff --git a/versioned_docs/version-3.10/releases/release-support-policy.mdx b/versioned_docs/version-3.10/releases/release-support-policy.mdx index 443e0869..b271e47b 100644 --- a/versioned_docs/version-3.10/releases/release-support-policy.mdx +++ b/versioned_docs/version-3.10/releases/release-support-policy.mdx @@ -50,25 +50,27 @@ This page describes Scalar's support policy for major and minor version releases Contact us - 3.6 - 2022-07-08 - 2023-09-03 - 2024-03-01 - Contact us + 3.6* + 2022-07-08 + 2023-09-03 + 2024-03-01 + Contact us - 3.5 - 2022-02-16 - 2023-07-08 - 2024-01-04 - Contact us + 3.5* + 2022-02-16 + 2023-07-08 + 2024-01-04 + Contact us - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support. diff --git a/versioned_docs/version-3.11/releases/release-support-policy.mdx b/versioned_docs/version-3.11/releases/release-support-policy.mdx index da0b800e..ed5d8b2e 100644 --- a/versioned_docs/version-3.11/releases/release-support-policy.mdx +++ b/versioned_docs/version-3.11/releases/release-support-policy.mdx @@ -57,25 +57,27 @@ This page describes Scalar's support policy for major and minor version releases Contact us - 3.6 - 2022-07-08 - 2023-09-03 - 2024-03-01 - Contact us + 3.6* + 2022-07-08 + 2023-09-03 + 2024-03-01 + Contact us - 3.5 - 2022-02-16 - 2023-07-08 - 2024-01-04 - Contact us + 3.5* + 2022-02-16 + 2023-07-08 + 2024-01-04 + Contact us - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support. diff --git a/versioned_docs/version-3.4/releases/release-support-policy.mdx b/versioned_docs/version-3.4/releases/release-support-policy.mdx index 5f3f1651..6b76fe4c 100644 --- a/versioned_docs/version-3.4/releases/release-support-policy.mdx +++ b/versioned_docs/version-3.4/releases/release-support-policy.mdx @@ -22,11 +22,13 @@ This page describes Scalar's support policy for major and minor version releases - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support. diff --git a/versioned_docs/version-3.5/releases/release-support-policy.mdx b/versioned_docs/version-3.5/releases/release-support-policy.mdx index 0356ae3c..c150eeed 100644 --- a/versioned_docs/version-3.5/releases/release-support-policy.mdx +++ b/versioned_docs/version-3.5/releases/release-support-policy.mdx @@ -22,18 +22,20 @@ This page describes Scalar's support policy for major and minor version releases - 3.5 - 2022-02-16 - 2023-07-08 - 2024-01-04 - Contact us + 3.5* + 2022-02-16 + 2023-07-08 + 2024-01-04 + Contact us - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support. diff --git a/versioned_docs/version-3.6/releases/release-support-policy.mdx b/versioned_docs/version-3.6/releases/release-support-policy.mdx index de61d0c1..b45d787f 100644 --- a/versioned_docs/version-3.6/releases/release-support-policy.mdx +++ b/versioned_docs/version-3.6/releases/release-support-policy.mdx @@ -22,25 +22,27 @@ This page describes Scalar's support policy for major and minor version releases - 3.6 - 2022-07-08 - 2023-09-03 - 2024-03-01 - Contact us + 3.6* + 2022-07-08 + 2023-09-03 + 2024-03-01 + Contact us - 3.5 - 2022-02-16 - 2023-07-08 - 2024-01-04 - Contact us + 3.5* + 2022-02-16 + 2023-07-08 + 2024-01-04 + Contact us - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support. diff --git a/versioned_docs/version-3.7/releases/release-support-policy.mdx b/versioned_docs/version-3.7/releases/release-support-policy.mdx index a83de20c..6fafcbda 100644 --- a/versioned_docs/version-3.7/releases/release-support-policy.mdx +++ b/versioned_docs/version-3.7/releases/release-support-policy.mdx @@ -29,25 +29,27 @@ This page describes Scalar's support policy for major and minor version releases Contact us - 3.6 - 2022-07-08 - 2023-09-03 - 2024-03-01 - Contact us + 3.6* + 2022-07-08 + 2023-09-03 + 2024-03-01 + Contact us - 3.5 - 2022-02-16 - 2023-07-08 - 2024-01-04 - Contact us + 3.5* + 2022-02-16 + 2023-07-08 + 2024-01-04 + Contact us - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support. diff --git a/versioned_docs/version-3.8/releases/release-support-policy.mdx b/versioned_docs/version-3.8/releases/release-support-policy.mdx index c57d420f..e7fc6871 100644 --- a/versioned_docs/version-3.8/releases/release-support-policy.mdx +++ b/versioned_docs/version-3.8/releases/release-support-policy.mdx @@ -36,25 +36,27 @@ This page describes Scalar's support policy for major and minor version releases Contact us - 3.6 - 2022-07-08 - 2023-09-03 - 2024-03-01 - Contact us + 3.6* + 2022-07-08 + 2023-09-03 + 2024-03-01 + Contact us - 3.5 - 2022-02-16 - 2023-07-08 - 2024-01-04 - Contact us + 3.5* + 2022-02-16 + 2023-07-08 + 2024-01-04 + Contact us - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support. diff --git a/versioned_docs/version-3.9/releases/release-support-policy.mdx b/versioned_docs/version-3.9/releases/release-support-policy.mdx index b49dfe02..24378213 100644 --- a/versioned_docs/version-3.9/releases/release-support-policy.mdx +++ b/versioned_docs/version-3.9/releases/release-support-policy.mdx @@ -43,25 +43,27 @@ This page describes Scalar's support policy for major and minor version releases Contact us - 3.6 - 2022-07-08 - 2023-09-03 - 2024-03-01 - Contact us + 3.6* + 2022-07-08 + 2023-09-03 + 2024-03-01 + Contact us - 3.5 - 2022-02-16 - 2023-07-08 - 2024-01-04 - Contact us + 3.5* + 2022-02-16 + 2023-07-08 + 2024-01-04 + Contact us - 3.4 - 2021-12-02 - 2023-02-16 - 2023-08-15 - Contact us + 3.4* + 2021-12-02 + 2023-02-16 + 2023-08-15 + Contact us + +* This product version is no longer supported under Maintenance Support or Assistance Support.