Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions preview-src/docs-roles.adoc
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 8 additions & 0 deletions preview-src/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,14 @@ An advantage of enhancing graph visualization with these algorithms is that we c
<span class="label">Default Label Color</span>
</div>

<div class="box">
<span class="label label--aura-db-enterprise">AuraDB Enterprise</span>
</div>

<div class="box">
<span class="label label--not-on-aura">Not Available on Aura</span>
</div>

<div class="box">
<span class="label label--apoc-core">APOC Core</span>
</div>
Expand Down
10 changes: 10 additions & 0 deletions src/css/labels.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@
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,
Expand Down
34 changes: 34 additions & 0 deletions src/css/neo4j-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@ 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,
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,
Expand Down Expand Up @@ -123,6 +135,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.aura-db-enterprise::after {
content: "AuraDB 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,
Expand Down
4 changes: 4 additions & 0 deletions src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -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-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);
--enterprise-edition-color: var(--color-green-600);
--enterprise-edition-on-color: var(--color-white);
--fabric-color: var(--color-blue-500);
Expand Down