Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove role inheritance #199

Merged
merged 1 commit into from
Oct 27, 2023
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
16 changes: 16 additions & 0 deletions preview-src/deprecated.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,26 @@ All headers have 'Deprecated' appended.

Lorem ipsum

Simple paragraph.

[.deprecated]
Simple paragraph marked as deprecated.


[.deprecated]

== Deprecated Heading 2

Lorem ipsum

=== Deprecated Heading 2.1

Lorem ipsum

==== Deprecated Heading 2.2

Lorem ipsum

== Deprecated Heading 3

Lorem ipsum
Expand Down
32 changes: 31 additions & 1 deletion preview-src/docs-roles.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Docs `code test` flags
:page-role: enterprise-edition not-on-aura
:page-role: not-on-aura
:page-theme: docs
// :page-labels: fabric enterprise-edition alpha test

Expand Down Expand Up @@ -76,6 +76,12 @@ Lorem ipsum

Lorem ipsum

=== H3 inside labeled section

Lorem ipsum

==== H4 inside labeled section

[role=deprecated]
== Deprecated content

Expand All @@ -99,19 +105,43 @@ Example 2 content - this example is deprecated
[role=alpha]
== Alpha content


[.alpha-symbol]
[.tier-note]
This algorithm is in the alpha tier.
For more information on algorithm tiers, see <<algorithms>>.

=== Third level heading in Alpha section

Lorem ipsum


[role=beta]
== Beta content


[.beta-symbol]
[.tier-note]
This algorithm is in the beta tier.
For more information on algorithm tiers, see <<algorithms>>.


=== Third level heading in Beta section

Lorem ipsum


[role=deprecated]
== Deprecated content

Lorem ipsum


=== Third level heading in Deprecated section

Lorem ipsum


== Function symbol

[opts=header,cols="1, 1"]
Expand Down
63 changes: 32 additions & 31 deletions src/css/neo4j-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ div.roles > span.role {
}
}

.sect1.alpha h2::after,
.sect1.beta h2::after,
.sect2.alpha h3::after,
.sect2.beta h3::after,
.sect1.alpha > h2::after,
.sect1.beta > h2::after,
.sect2.alpha > h3::after,
.sect2.beta > h3::after,
span.alpha::after,
span.beta::after,
body.deprecated article h2::after,
Expand All @@ -71,34 +71,35 @@ div.deprecated h2::after,
div.deprecated h3::after,
div.deprecated h4::after,
body.deprecated article dt::after,
div.deprecated p::after,
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,
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,
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,
div.enterprise-edition h4::after,
div.enterprise-edition > h2::after,
div.enterprise-edition > h3::after,
div.enterprise-edition > h4::after,
p.enterprise-edition::before,
span.enterprise-edition::after,
body.fabric article h2::after,
body.fabric article h3::after,
body.fabric article h4::after,
div.fabric h2::after,
div.fabric h3::after,
div.fabric h4::after,
body.fabric article > h2::after,
body.fabric article > h3::after,
body.fabric article > h4::after,
div.fabric > h2::after,
div.fabric > h3::after,
div.fabric > h4::after,
section.fabric .title::after,
p.fabric::before,
span.fabric::after {
Expand Down Expand Up @@ -184,9 +185,9 @@ span.deprecated::after {
vertical-align: middle;
}

div.not-on-aura h2::after,
div.not-on-aura h3::after,
div.not-on-aura h4::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 {
Expand All @@ -196,9 +197,9 @@ span.not-on-aura::after {
color: var(--not-on-aura-color);
}

div.aura-db-enterprise h2::after,
div.aura-db-enterprise h3::after,
div.aura-db-enterprise h4::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 {
Expand All @@ -208,9 +209,9 @@ span.aura-db-enterprise::after {
color: var(--aura-db-enterprise-color);
}

div.enterprise-edition h2::after,
div.enterprise-edition h3::after,
div.enterprise-edition h4::after,
div.enterprise-edition > h2::after,
div.enterprise-edition > h3::after,
div.enterprise-edition > h4::after,
p.enterprise-edition::before,
section.enterprise-edition .title::after,
span.enterprise-edition::after {
Expand All @@ -220,9 +221,9 @@ span.enterprise-edition::after {
color: var(--enterprise-edition-color);
}

div.fabric h2::after,
div.fabric h3::after,
div.fabric h4::after,
div.fabric > h2::after,
div.fabric > h3::after,
div.fabric > h4::after,
p.fabric::before,
section.fabric .title::after,
span.fabric::after {
Expand Down
Loading