From 6c1625e4116f87e06dd908dc8b902b8f871eb240 Mon Sep 17 00:00:00 2001 From: JPryce-Aklundh Date: Thu, 16 Feb 2023 14:02:16 +0100 Subject: [PATCH 1/7] add not-on-aura and aura-db-enterprise roles --- src/css/neo4j-docs.css | 32 ++++++++++++++++++++++++++++++++ src/css/vars.css | 4 ++++ 2 files changed, 36 insertions(+) diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index f80576ee..7a97b3ce 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -78,6 +78,16 @@ p.deprecated::before, section.deprecated .title::after, span.deprecated::after, .deprecated > .title::after, +div.not-on-aura h2::after, +div.not-on-aura h3::after, +div.not-on-aura h4::after, +p.not-on-aura::before, +span.not-on-aura::after, +div.aura-db-enterprise h2::after, +div.aura-db-enterprise h3::after, +div.aura-db-enterprise h4::after, +p.aura-db-enterprise::before, +section.aura-db-enterprise.title::after, section.enterprise-edition .title::after, div.enterprise-edition h2::after, div.enterprise-edition h3::after, @@ -123,6 +133,28 @@ span.deprecated::after { border-color: var(--deprecation-color); } +div.not-on-aura h2::after, +div.not-on-aura h3::after, +div.not-on-aura h4::after, +p.not-on-aura::before, +section.not-on-aura .title::after, +span.not-on-aura::after { + content: "Not available on Aura"; + color: var(--not-on-aura-color); + border-color: var(--not-on-aura-color); +} + +div.aura-db-enterprise h2::after, +div.aura-db-enterprise h3::after, +div.aura-db-enterprise h4::after, +p.aura-db-enterprise::before, +section.aura-db-enterprise.title::after, +span.enterprise-edition::after { + content: "Aura DB Enterprise"; + color: var(--aura-db-enterprise-color); + border-color: var(--aura-db-enterprise-color); +} + div.enterprise-edition h2::after, div.enterprise-edition h3::after, div.enterprise-edition h4::after, diff --git a/src/css/vars.css b/src/css/vars.css index b7f47c12..92c8c848 100644 --- a/src/css/vars.css +++ b/src/css/vars.css @@ -298,6 +298,10 @@ --table-stripe-background: var(--color-grey-100); --deprecation-color: var(--color-pink-600); --deprecation-on-color: var(--color-white); + --not-on-aura-color: var(--color-200); + --not-on-aura-on-color: var(--color-white); + --aura-db-enterprise-color: var(--color-blue-600); + --aura-db-enterprise-on-coor: var(--color-white); --enterprise-edition-color: var(--color-green-600); --enterprise-edition-on-color: var(--color-white); --fabric-color: var(--color-blue-500); From ebe9d997dc940586b7f8116986c888baabf9df23 Mon Sep 17 00:00:00 2001 From: JPryce-Aklundh Date: Thu, 16 Feb 2023 14:06:35 +0100 Subject: [PATCH 2/7] fix --- src/css/neo4j-docs.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index 7a97b3ce..a4495d31 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -82,12 +82,14 @@ div.not-on-aura h2::after, div.not-on-aura h3::after, div.not-on-aura h4::after, p.not-on-aura::before, -span.not-on-aura::after, +section.not-on-aura .title::after, +span.not-on-aura::after, div.aura-db-enterprise h2::after, div.aura-db-enterprise h3::after, div.aura-db-enterprise h4::after, p.aura-db-enterprise::before, section.aura-db-enterprise.title::after, +span.aura-db-enterprise::after, section.enterprise-edition .title::after, div.enterprise-edition h2::after, div.enterprise-edition h3::after, @@ -149,7 +151,7 @@ div.aura-db-enterprise h3::after, div.aura-db-enterprise h4::after, p.aura-db-enterprise::before, section.aura-db-enterprise.title::after, -span.enterprise-edition::after { +span.aura-db-enterprise::after { content: "Aura DB Enterprise"; color: var(--aura-db-enterprise-color); border-color: var(--aura-db-enterprise-color); From e6f8b1da7ee87a32335af4b681b6e84dbc8b3191 Mon Sep 17 00:00:00 2001 From: JPryce-Aklundh Date: Thu, 16 Feb 2023 14:07:10 +0100 Subject: [PATCH 3/7] fix2 --- src/css/neo4j-docs.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index a4495d31..c6449889 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -83,7 +83,7 @@ div.not-on-aura h3::after, div.not-on-aura h4::after, p.not-on-aura::before, section.not-on-aura .title::after, -span.not-on-aura::after, +span.not-on-aura::after, div.aura-db-enterprise h2::after, div.aura-db-enterprise h3::after, div.aura-db-enterprise h4::after, From c4d13d1eb83a2511fdff9a206d337dfb84849746 Mon Sep 17 00:00:00 2001 From: JPryce-Aklundh Date: Mon, 20 Feb 2023 13:50:29 +0100 Subject: [PATCH 4/7] add color name --- src/css/vars.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/css/vars.css b/src/css/vars.css index 92c8c848..29819fb9 100644 --- a/src/css/vars.css +++ b/src/css/vars.css @@ -298,7 +298,7 @@ --table-stripe-background: var(--color-grey-100); --deprecation-color: var(--color-pink-600); --deprecation-on-color: var(--color-white); - --not-on-aura-color: var(--color-200); + --not-on-aura-color: var(--color-red-300); --not-on-aura-on-color: var(--color-white); --aura-db-enterprise-color: var(--color-blue-600); --aura-db-enterprise-on-coor: var(--color-white); From d2890b8f2d77f9917a3aef09da2e845c7895085b Mon Sep 17 00:00:00 2001 From: JPryce-Aklundh Date: Tue, 21 Feb 2023 09:04:26 +0100 Subject: [PATCH 5/7] change red --- preview-src/docs-roles.adoc | 14 ++++++++++++-- src/css/vars.css | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/preview-src/docs-roles.adoc b/preview-src/docs-roles.adoc index 0e3a0d67..5cd8c9c4 100644 --- a/preview-src/docs-roles.adoc +++ b/preview-src/docs-roles.adoc @@ -1,14 +1,24 @@ = Docs flags -:page-role: fabric enterprise-edition alpha test +:page-role: fabric enterprise-edition not-on-aura aura-db-enterprise alpha test :page-theme: docs [abstract] -- -Flags sections as Enterprise Edition, Fabric, Deprecated +Flags sections as Not Available on Aura, Aura DB Enterprise, Enterprise Edition, Fabric, and Deprecated -- Blocks with the appropriate roles have text appended. +[role=not-on-aura] +== Not on Aura + +Lorem ipsum dolor sit + +[role=aura-db-enterprise] +== AuraDB Enterprise + +Lorem ipsum dolor sit + [role=fabric] == Fabric Heading diff --git a/src/css/vars.css b/src/css/vars.css index 29819fb9..34be6814 100644 --- a/src/css/vars.css +++ b/src/css/vars.css @@ -298,7 +298,7 @@ --table-stripe-background: var(--color-grey-100); --deprecation-color: var(--color-pink-600); --deprecation-on-color: var(--color-white); - --not-on-aura-color: var(--color-red-300); + --not-on-aura-color: var(--color-red-700); --not-on-aura-on-color: var(--color-white); --aura-db-enterprise-color: var(--color-blue-600); --aura-db-enterprise-on-coor: var(--color-white); From 22017f09752bb58937ac91d26e9f8a098fa049cd Mon Sep 17 00:00:00 2001 From: JPryce-Aklundh Date: Tue, 21 Feb 2023 10:13:10 +0100 Subject: [PATCH 6/7] add corresponding labels --- preview-src/index.adoc | 8 ++++++++ src/css/labels.css | 12 ++++++++++++ 2 files changed, 20 insertions(+) diff --git a/preview-src/index.adoc b/preview-src/index.adoc index 62c99966..a8b63f58 100644 --- a/preview-src/index.adoc +++ b/preview-src/index.adoc @@ -799,6 +799,14 @@ An advantage of enhancing graph visualization with these algorithms is that we c Default Label Color +
+ AuraDB Enterprise +
+ +
+ Not Available on Aura +
+
APOC Core
diff --git a/src/css/labels.css b/src/css/labels.css index 858847d9..93ef8337 100644 --- a/src/css/labels.css +++ b/src/css/labels.css @@ -45,6 +45,18 @@ color: var(--color-white); } +.label--not-on-aura +{ + background: var(--color-red-700); + color: var(--color-white); +} + +.label--aura-db-enterprise +{ + background: var(--color-blue-600); + color: var(--color-white); +} + .label--aura, .label--enterprise-only, .label--professional, From 86f9b7e7cdb78e1509534bbafd9a1becaafb596d Mon Sep 17 00:00:00 2001 From: JPryce-Aklundh Date: Tue, 21 Feb 2023 11:00:05 +0100 Subject: [PATCH 7/7] rename to AuraDB --- src/css/labels.css | 6 ++---- src/css/neo4j-docs.css | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/css/labels.css b/src/css/labels.css index 93ef8337..9b038ac0 100644 --- a/src/css/labels.css +++ b/src/css/labels.css @@ -45,14 +45,12 @@ color: var(--color-white); } -.label--not-on-aura -{ +.label--not-on-aura { background: var(--color-red-700); color: var(--color-white); } -.label--aura-db-enterprise -{ +.label--aura-db-enterprise { background: var(--color-blue-600); color: var(--color-white); } diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index c6449889..2d52ee5f 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -152,7 +152,7 @@ div.aura-db-enterprise h4::after, p.aura-db-enterprise::before, section.aura-db-enterprise.title::after, span.aura-db-enterprise::after { - content: "Aura DB Enterprise"; + content: "AuraDB Enterprise"; color: var(--aura-db-enterprise-color); border-color: var(--aura-db-enterprise-color); }