Skip to content

Commit 08fc9a1

Browse files
Merge pull request #149 from JPryce-Aklundh/new_aura_roles
New Aura roles and labels
2 parents 0f53804 + 86f9b7e commit 08fc9a1

File tree

5 files changed

+68
-2
lines changed

5 files changed

+68
-2
lines changed

preview-src/docs-roles.adoc

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
= Docs flags
2-
:page-role: fabric enterprise-edition alpha test
2+
:page-role: fabric enterprise-edition not-on-aura aura-db-enterprise alpha test
33
:page-theme: docs
44

55
[abstract]
66
--
7-
Flags sections as Enterprise Edition, Fabric, Deprecated
7+
Flags sections as Not Available on Aura, Aura DB Enterprise, Enterprise Edition, Fabric, and Deprecated
88
--
99

1010
Blocks with the appropriate roles have text appended.
1111

12+
[role=not-on-aura]
13+
== Not on Aura
14+
15+
Lorem ipsum dolor sit
16+
17+
[role=aura-db-enterprise]
18+
== AuraDB Enterprise
19+
20+
Lorem ipsum dolor sit
21+
1222
[role=fabric]
1323
== Fabric Heading
1424

preview-src/index.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,14 @@ An advantage of enhancing graph visualization with these algorithms is that we c
799799
<span class="label">Default Label Color</span>
800800
</div>
801801
802+
<div class="box">
803+
<span class="label label--aura-db-enterprise">AuraDB Enterprise</span>
804+
</div>
805+
806+
<div class="box">
807+
<span class="label label--not-on-aura">Not Available on Aura</span>
808+
</div>
809+
802810
<div class="box">
803811
<span class="label label--apoc-core">APOC Core</span>
804812
</div>

src/css/labels.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@
4545
color: var(--color-white);
4646
}
4747

48+
.label--not-on-aura {
49+
background: var(--color-red-700);
50+
color: var(--color-white);
51+
}
52+
53+
.label--aura-db-enterprise {
54+
background: var(--color-blue-600);
55+
color: var(--color-white);
56+
}
57+
4858
.label--aura,
4959
.label--enterprise-only,
5060
.label--professional,

src/css/neo4j-docs.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ p.deprecated::before,
7878
section.deprecated .title::after,
7979
span.deprecated::after,
8080
.deprecated > .title::after,
81+
div.not-on-aura h2::after,
82+
div.not-on-aura h3::after,
83+
div.not-on-aura h4::after,
84+
p.not-on-aura::before,
85+
section.not-on-aura .title::after,
86+
span.not-on-aura::after,
87+
div.aura-db-enterprise h2::after,
88+
div.aura-db-enterprise h3::after,
89+
div.aura-db-enterprise h4::after,
90+
p.aura-db-enterprise::before,
91+
section.aura-db-enterprise.title::after,
92+
span.aura-db-enterprise::after,
8193
section.enterprise-edition .title::after,
8294
div.enterprise-edition h2::after,
8395
div.enterprise-edition h3::after,
@@ -123,6 +135,28 @@ span.deprecated::after {
123135
border-color: var(--deprecation-color);
124136
}
125137

138+
div.not-on-aura h2::after,
139+
div.not-on-aura h3::after,
140+
div.not-on-aura h4::after,
141+
p.not-on-aura::before,
142+
section.not-on-aura .title::after,
143+
span.not-on-aura::after {
144+
content: "Not available on Aura";
145+
color: var(--not-on-aura-color);
146+
border-color: var(--not-on-aura-color);
147+
}
148+
149+
div.aura-db-enterprise h2::after,
150+
div.aura-db-enterprise h3::after,
151+
div.aura-db-enterprise h4::after,
152+
p.aura-db-enterprise::before,
153+
section.aura-db-enterprise.title::after,
154+
span.aura-db-enterprise::after {
155+
content: "AuraDB Enterprise";
156+
color: var(--aura-db-enterprise-color);
157+
border-color: var(--aura-db-enterprise-color);
158+
}
159+
126160
div.enterprise-edition h2::after,
127161
div.enterprise-edition h3::after,
128162
div.enterprise-edition h4::after,

src/css/vars.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,10 @@
298298
--table-stripe-background: var(--color-grey-100);
299299
--deprecation-color: var(--color-pink-600);
300300
--deprecation-on-color: var(--color-white);
301+
--not-on-aura-color: var(--color-red-700);
302+
--not-on-aura-on-color: var(--color-white);
303+
--aura-db-enterprise-color: var(--color-blue-600);
304+
--aura-db-enterprise-on-coor: var(--color-white);
301305
--enterprise-edition-color: var(--color-green-600);
302306
--enterprise-edition-on-color: var(--color-white);
303307
--fabric-color: var(--color-blue-500);

0 commit comments

Comments
 (0)