You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by hb...@apache.org on 2026/05/24 12:39:48 UTC
(tooling-atr-maven-plugin) branch main updated: Use topBar layout for documentation site
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-atr-maven-plugin.git
The following commit(s) were added to refs/heads/main by this push:
new 340397f Use topBar layout for documentation site
340397f is described below
commit 340397f4ca82fb8451ab2e9078a0598bebdee596
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun May 24 12:13:05 2026 +0200
Use topBar layout for documentation site
To be more consistent with other tooling sites
---
src/site/resources/css/site.css | 62 +++++++++++++++++++++++++++++++++++++++++
src/site/site.xml | 17 ++++++-----
2 files changed, 70 insertions(+), 9 deletions(-)
diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css
new file mode 100644
index 0000000..224dde6
--- /dev/null
+++ b/src/site/resources/css/site.css
@@ -0,0 +1,62 @@
+/**
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+ */
+
+#topbar a.brand img {
+ height: 70px;
+ width: auto;
+}
+
+:root {
+ --topbar-offset: 90px;
+ --breadcrumbs-offset: 40px;
+}
+
+body.topBarEnabled {
+ padding-top: calc(var(--topbar-offset) + var(--breadcrumbs-offset));
+}
+
+#topbar .nav-collapse {
+ display: flex;
+ align-items: center;
+}
+
+#topbar {
+ z-index: 1030;
+}
+
+#breadcrumbs {
+ position: fixed;
+ top: 90px;
+ left: 0;
+ right: 0;
+ z-index: 1020;
+ background: transparent;
+ border-bottom: 0;
+ margin: 0;
+}
+
+#breadcrumbs > ul.breadcrumb {
+ width: 100%;
+ margin: 0;
+ border-radius: 0;
+ box-sizing: border-box;
+ padding-left: 5%;
+ padding-right: 5%;
+}
+
diff --git a/src/site/site.xml b/src/site/site.xml
index a89d6fb..4d80a24 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -21,14 +21,6 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/SITE/2.1.0 https://maven.apache.org/xsd/site-2.1.0.xsd"
name="Tooling ATR Maven Plugin">
- <bannerLeft href="https://release-test.apache.org/docs/">
- <image src="https://release-test.apache.org/static/svg/atr_logo.svg" height="83px"/>
- </bannerLeft>
-
- <bannerRight>
- <image src="https://apache.org/img/asf_logo.png" height="83px"/>
- </bannerRight>
-
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
@@ -39,8 +31,15 @@ under the License.
<custom>
<fluidoSkin>
- <sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
<anchorJs />
+ <sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
+ <sideBarEnabled>false</sideBarEnabled>
+ <topBarEnabled>true</topBarEnabled>
+ <topBarContainerStyle>width: 90%;</topBarContainerStyle>
+ <topBarIcon>
+ <src>https://release-test.apache.org/static/svg/atr_logo.svg</src>
+ <href>https://release-test.apache.org/docs/</href>
+ </topBarIcon>
</fluidoSkin>
</custom>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org