From d833781fea6c9db1a7df1a663e2477f58b1b375b Mon Sep 17 00:00:00 2001 From: Alina Derkach Date: Tue, 26 Dec 2023 17:51:39 +0200 Subject: [PATCH] =?UTF-8?q?PXC-4327=20Add=20EOL=20banner=20for=20PX=D0=A1?= =?UTF-8?q?=205.7=20(#125)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit modified: _resource/overrides/main.html modified: docs/css/percona.css --- _resource/overrides/main.html | 5 +++++ docs/css/percona.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/_resource/overrides/main.html b/_resource/overrides/main.html index f9ff202f..4771e00a 100644 --- a/_resource/overrides/main.html +++ b/_resource/overrides/main.html @@ -20,6 +20,11 @@

Contact us

{%- endmacro %} + + {% block outdated %} +
Starting November 2023, MySQL 5.7 has reached EOL status.

+
Do you need help upgrading to MySQL 8.0? Do you need to stay on MySQL 5.7 a bit longer? We will support you either way. Learn more
+ {% endblock %} {% block extrahead %} {{ super() }} diff --git a/docs/css/percona.css b/docs/css/percona.css index f5adfc1d..e9e986bf 100644 --- a/docs/css/percona.css +++ b/docs/css/percona.css @@ -56,6 +56,11 @@ section { page-break-inside: auto !important; } +.md-banner--warning { + --md-warning-bg-color: #F0B336; + --md-warning-fg-color: black; + } + /*.git-revision-date-localized-plugin:before { content: url('https://api.iconify.design/mdi/clock-edit-outline.svg'); }*/