Skip to content

Make the active tab visible in light themes - #3046

Merged
asgothian merged 1 commit into
ioBroker:masterfrom
Schimi1983:fix/active-tab-visible
Nov 17, 2026
Merged

asgothian merged 1 commit into
ioBroker:masterfrom
Schimi1983:fix/active-tab-visible

Conversation

@Schimi1983

Copy link
Copy Markdown
Contributor

PR2 from #3039 (approved there).

Problem
In the light and colored admin themes the label of the selected tab is invisible – e.g. "Settings" right after opening the config page – so it is not clear which tab is shown.

Cause
In these themes the tab bar is transparent on the blue header. Admin's adapter.css gives the active tab the color #39c (!important), which is exactly the header color. In the dark and blue themes the tab bar has its own dark background, so the problem does not show there.

Change
CSS only, in admin/index_m.html: for .m.react-light and .m.react-colored the active tab is white with a white underline. This is the rule that was commented out in a7c2342; it is now limited to the light themes so the dark themes keep their current look.

Tested
On my installation with react=light, colored, dark, blue, modernLight, modernDark: active tab readable in the light/colored themes, dark/blue unchanged.

Install for testing: https://github.com/Schimi1983/ioBroker.zigbee/tarball/fix/active-tab-visible

🤖 Generated with Claude Code

https://claude.ai/code/session_013Q82LhA9wBMqm1L1powvy6

In the light and colored admin themes the tab bar is transparent on the
blue header and the active tab gets the header color (#39c), so the
selected tab cannot be seen. Show it in white with a white underline
for these themes only; dark and blue themes keep their current look.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Q82LhA9wBMqm1L1powvy6
@asgothian
asgothian merged commit c810b0e into ioBroker:master Nov 17, 2026
11 checks passed
@Schimi1983
Schimi1983 deleted the fix/active-tab-visible branch November 17, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants