This is an automated email from the ASF dual-hosted git repository. Croway pushed a commit to branch quick-fix/tab-panel-prose-contrast in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 3ebdaa02110020e26b20151d6b767268f66b6e5f Author: Croway <[email protected]> AuthorDate: Tue Sep 15 10:35:15 2026 +0200 fix: improve tab panel prose readability --- .../public/_/css/{site-a42453e02e.css => site-ea6acedfb2.css} | 2 +- antora-ui-camel/public/_/data/rev-manifest.json | 2 +- antora-ui-camel/public/_/helpers/asset.js | 2 +- antora-ui-camel/public/_/partials/head-styles.hbs | 2 +- antora-ui-camel/public/_/rev-manifest | 2 +- antora-ui-camel/src/css/tabs.css | 6 ++++++ tests/antora-ui/fixture/modules/ROOT/pages/getting-started.adoc | 6 ++++++ 7 files changed, 17 insertions(+), 5 deletions(-) diff --git a/antora-ui-camel/public/_/css/site-a42453e02e.css b/antora-ui-camel/public/_/css/site-ea6acedfb2.css similarity index 50% rename from antora-ui-camel/public/_/css/site-a42453e02e.css rename to antora-ui-camel/public/_/css/site-ea6acedfb2.css index c1a6b65a..b70b0d82 100644 --- a/antora-ui-camel/public/_/css/site-a42453e02e.css +++ b/antora-ui-camel/public/_/css/site-ea6acedfb2.css @@ -20,4 +20,4 @@ .line and .cl (line wrappers), and .err (a lexer hiccup is not worth a color). .go, generic command output, is content the reader needs rather than chrome, so it stays at the base color too. */}@layer content{@media screen and (width >= 1025px){.doc{font-size:.88889rem;margin:0 2rem;max-width:none;min-width:0}}.doc h1,.doc h2,.doc h3,.doc h4,.doc h5,.doc h6{color:#211c17;font-weight:700;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;line-height:1.3;margin:1rem 0 0}.doc>h1.page,.static>h1:first-child{font-size:2.33333rem;font-weight:800;letter-spacing:-.03em;line-height:1.05;margin:.55556rem 0 0}.doc>h1.page img{width:2r [...] -/*! Asciidoctor Tabs | Copyright (c) 2018-present Dan Allen | MIT License */.tablist>ul li:focus-visible{outline:none}.tablist.ulist,.tablist.ulist>ul li{margin:0}.tablist.ulist>ul li+li{margin-left:.25em}.tabs.is-loading .tablist li:not(:first-child),.tabs:not(.is-loading) .tablist li:not(.is-selected){background-color:#f5f5f5}.tabs.is-loading .tablist li:first-child::after,.tabs:not(.is-loading) .tablist li.is-selected::after{background-color:inherit;content:"";display:block;height:3px [...] \ No newline at end of file +/*! Asciidoctor Tabs | Copyright (c) 2018-present Dan Allen | MIT License */.tablist>ul li:focus-visible{outline:none}.tablist.ulist,.tablist.ulist>ul li{margin:0}.tablist.ulist>ul li+li{margin-left:.25em}.tabs.is-loading .tablist li:not(:first-child),.tabs:not(.is-loading) .tablist li:not(.is-selected){background-color:#f5f5f5}.tabs.is-loading .tablist li:first-child::after,.tabs:not(.is-loading) .tablist li.is-selected::after{background-color:inherit;content:"";display:block;height:3px [...] \ No newline at end of file diff --git a/antora-ui-camel/public/_/data/rev-manifest.json b/antora-ui-camel/public/_/data/rev-manifest.json index baac009b..230dffab 100644 --- a/antora-ui-camel/public/_/data/rev-manifest.json +++ b/antora-ui-camel/public/_/data/rev-manifest.json @@ -1,5 +1,5 @@ { - "css/site.css": "css/site-a42453e02e.css", + "css/site.css": "css/site-ea6acedfb2.css", "css/vendor/docsearch.css": "css/vendor/docsearch-5db8a73adb.css", "img/algolia.svg": "img/algolia-f4ab98e0de.svg", "img/apache-kafka.svg": "img/apache-kafka-88809b7472.svg", diff --git a/antora-ui-camel/public/_/helpers/asset.js b/antora-ui-camel/public/_/helpers/asset.js index 1abcb7de..3dec58d1 100644 --- a/antora-ui-camel/public/_/helpers/asset.js +++ b/antora-ui-camel/public/_/helpers/asset.js @@ -1,7 +1,7 @@ 'use strict' const manifest = { - "css/site.css": "css/site-a42453e02e.css", + "css/site.css": "css/site-ea6acedfb2.css", "css/vendor/docsearch.css": "css/vendor/docsearch-5db8a73adb.css", "img/algolia.svg": "img/algolia-f4ab98e0de.svg", "img/apache-kafka.svg": "img/apache-kafka-88809b7472.svg", diff --git a/antora-ui-camel/public/_/partials/head-styles.hbs b/antora-ui-camel/public/_/partials/head-styles.hbs index 53153a2e..15514ed8 100644 --- a/antora-ui-camel/public/_/partials/head-styles.hbs +++ b/antora-ui-camel/public/_/partials/head-styles.hbs @@ -1,5 +1,5 @@ <link rel="stylesheet" href="{{uiRootPath}}/css/vendor/docsearch-5db8a73adb.css"> - <link rel="stylesheet" href="{{uiRootPath}}/css/site-a42453e02e.css"> + <link rel="stylesheet" href="{{uiRootPath}}/css/site-ea6acedfb2.css"> {{!-- NOTE the asciinema partials are injected into the UI catalog by @springio/antora-extensions at Antora build time, so they only exist during a site build. Guarding on the page attribute the extension sets keeps the assets off pages with no cast, diff --git a/antora-ui-camel/public/_/rev-manifest b/antora-ui-camel/public/_/rev-manifest index baac009b..230dffab 100644 --- a/antora-ui-camel/public/_/rev-manifest +++ b/antora-ui-camel/public/_/rev-manifest @@ -1,5 +1,5 @@ { - "css/site.css": "css/site-a42453e02e.css", + "css/site.css": "css/site-ea6acedfb2.css", "css/vendor/docsearch.css": "css/vendor/docsearch-5db8a73adb.css", "img/algolia.svg": "img/algolia-f4ab98e0de.svg", "img/apache-kafka.svg": "img/apache-kafka-88809b7472.svg", diff --git a/antora-ui-camel/src/css/tabs.css b/antora-ui-camel/src/css/tabs.css index d7fb709c..f83be80c 100644 --- a/antora-ui-camel/src/css/tabs.css +++ b/antora-ui-camel/src/css/tabs.css @@ -54,6 +54,7 @@ .doc .tabs .tabpanel { background: none; border: 0; + color: var(--color-on-dark-soft); padding: 0; } @@ -61,6 +62,11 @@ margin: 0; } +.doc .tabs .tabpanel > .paragraph { + padding: calc(6 / var(--rem-base) * 1rem) calc(20 / var(--rem-base) * 1rem) + calc(2 / var(--rem-base) * 1rem); +} + .doc .tabs .tabpanel pre:not(.highlight), .doc .tabs .tabpanel pre.highlight code { border-radius: 0; diff --git a/tests/antora-ui/fixture/modules/ROOT/pages/getting-started.adoc b/tests/antora-ui/fixture/modules/ROOT/pages/getting-started.adoc index 207e5abe..ddbdd6e2 100644 --- a/tests/antora-ui/fixture/modules/ROOT/pages/getting-started.adoc +++ b/tests/antora-ui/fixture/modules/ROOT/pages/getting-started.adoc @@ -36,6 +36,9 @@ Create a route file and run it. [tabs] ==== YAML:: ++ +You enable tracing on the `CamelContext`. + + [source,yaml] ---- @@ -46,6 +49,9 @@ YAML:: ---- Java:: ++ +You enable tracing on the `CamelContext`. + + [source,java] ----
