Skip to content

Commit

Permalink
Additional fixes to deprecated label (#274)
Browse files Browse the repository at this point in the history
Co-authored-by: Neil Dewhurst <[email protected]>
  • Loading branch information
lidiazuin and recrwplay authored Oct 21, 2024
1 parent 20e66b2 commit 1e5a4fe
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions src/css/neo4j-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ div.roles > span.role {
.sect2.beta > h3::after,
span.alpha::after,
span.beta::after,
body.deprecated article h1::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,
Expand Down Expand Up @@ -178,11 +173,6 @@ div.roles > span.role::after {
margin-bottom: 0;
}

body.deprecated article h1::after,
.deprecated dt::after,
p.deprecated::before,
section.deprecated .title::after,
.deprecated > .title::after,
span.deprecated::after {
content: "Deprecated";
background: var(--deprecated-background-color);
Expand Down Expand Up @@ -258,23 +248,19 @@ span.fabric::after {
}

.doc .admonitionblock.deprecated .icon {
background-color: var(--deprecated-color);
color: var(--deprecated-background-color);
}

.doc .admonitionblock.deprecated .icon i::after {
content: 'DEPRECATED';
background-color: var(--deprecated-background-color);
color: var(--deprecated-color);
}

.doc .admonitionblock.deprecated {
background-color: var(--color-pink-200);
border-left-color: var(--color-pink-600);
color: var(--color-pink-900);
background-color: var(--deprecated-background-color);
border-left-color: var(--deprecated-color);
color: var(--deprecated-color);
}

.doc .admonitionblock.deprecated pre {
background-color: var(--color-red-100);
color: var(--color-red-700);
background-color: var(--deprecated-background-color);
color: var(--deprecated-color);
}

.doc .admonitionblock.deprecated a {
Expand Down

0 comments on commit 1e5a4fe

Please sign in to comment.