From afbf278cf81888d7e1f5c6a10ec82a165743c396 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Mon, 21 Oct 2024 16:26:37 +0200 Subject: [PATCH 1/3] Additional fixes to deprecated label --- src/css/neo4j-docs.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index 24ae3a05..b2cefc5d 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -258,8 +258,8 @@ span.fabric::after { } .doc .admonitionblock.deprecated .icon { - background-color: var(--deprecated-color); - color: var(--deprecated-background-color); + background-color: var(--deprecated-background-color); + color: var(--deprecated-color); } .doc .admonitionblock.deprecated .icon i::after { From 453504f4405aff9092aab950c8ab2f0f3accf13f Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Mon, 21 Oct 2024 16:34:13 +0200 Subject: [PATCH 2/3] additional fixes --- src/css/neo4j-docs.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index b2cefc5d..ad69a6e4 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -76,7 +76,6 @@ 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, @@ -267,14 +266,14 @@ span.fabric::after { } .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 { From 26e4c8241ea02336908f3c94d329179de25cb88d Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Mon, 21 Oct 2024 17:11:32 +0100 Subject: [PATCH 3/3] Remove more old deprecated rules --- src/css/neo4j-docs.css | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index ad69a6e4..67a67f7d 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -76,11 +76,7 @@ div.roles > span.role { .sect2.beta > h3::after, span.alpha::after, span.beta::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, @@ -177,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); @@ -261,10 +252,6 @@ span.fabric::after { color: var(--deprecated-color); } -.doc .admonitionblock.deprecated .icon i::after { - content: 'DEPRECATED'; -} - .doc .admonitionblock.deprecated { background-color: var(--deprecated-background-color); border-left-color: var(--deprecated-color);