You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2026/10/19 12:10:25 UTC

(juneau) branch juneau-release-manager updated: Drop redundant selected Page Tab bold rule; Juneau stock chrome.css provides it

This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch juneau-release-manager
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/juneau-release-manager by this push:
     new bf2372aa77 Drop redundant selected Page Tab bold rule; Juneau stock chrome.css provides it
bf2372aa77 is described below

commit bf2372aa7762b8bf58607f80663c7111e4cb381f
Author: James Bognar <ja...@apache.org>
AuthorDate: Mon Oct 19 08:10:19 2026 -0400

    Drop redundant selected Page Tab bold rule; Juneau stock chrome.css provides it
---
 src/main/resources/static/css/chrome.css                       | 6 ------
 src/test/java/org/apache/juneau/releng/rest/SetupRestTest.java | 3 ++-
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/main/resources/static/css/chrome.css b/src/main/resources/static/css/chrome.css
index 9df3ad1244..a8054c5488 100644
--- a/src/main/resources/static/css/chrome.css
+++ b/src/main/resources/static/css/chrome.css
@@ -31,12 +31,6 @@
    overridden by base.ftlh's nested <@token> declarations).
    ========================================================================== */
 
-/* Page Tabs: accent-on-top + wash fill are Juneau stock. Do not override
-   border-top / border-bottom here. Keep selected-tab type a bit heavier than the rest. */
-.jc-nav-tab.active {
-  font-weight: 700;
-}
-
 /* ==========================================================================
    Detail list (release detail page)
    ========================================================================== */
diff --git a/src/test/java/org/apache/juneau/releng/rest/SetupRestTest.java b/src/test/java/org/apache/juneau/releng/rest/SetupRestTest.java
index feb4579261..793d4623ea 100644
--- a/src/test/java/org/apache/juneau/releng/rest/SetupRestTest.java
+++ b/src/test/java/org/apache/juneau/releng/rest/SetupRestTest.java
@@ -156,7 +156,8 @@ class SetupRestTest {
 						"JRM must not override Page Tab accent side; Juneau WORK-J0543 owns it: " + path);
 					assertFalse(text.contains("border-bottom: var(--jc-nav-indicator-width) solid var(--jc-accent)"),
 						"selected Page Tab must not carry a JRM thick bar: " + path);
-					assertTrue(text.contains("font-weight: 700"), "selected Page Tab keeps heavier type: " + path);
+					assertFalse(text.contains(".jc-nav-tab.active"),
+						"JRM must not override selected Page Tab type; Juneau stock chrome.css owns font-weight 700: " + path);
 					assertFalse(text.contains("th.sortable::after") || text.contains("th.sortable {"),
 						"JRM must not fork header sort onto the whole th; Juneau WORK-J0547 owns it: " + path);
 					assertFalse(text.contains(".dt-column-order:before") || text.contains(".dt-column-order:after"),