Skip to content

fix: single toolbar hover, flush New Tab button and one line under the tabs on Firefox 158 - #240

Merged
AdamXweb merged 1 commit into
AdamXweb:masterfrom
adamXbot:fix/firefox-158-toolbar-hover
Oct 26, 2026
Merged

AdamXweb merged 1 commit into
AdamXweb:masterfrom
adamXbot:fix/firefox-158-toolbar-hover

Conversation

@adamXbot

Copy link
Copy Markdown
Contributor

Three things that look wrong on Firefox 158.0.1, which turns on the Nova design by default.

1. Two hover shapes on toolbar buttons (Extensions, menu, reload, account, sidebar, New Tab)

WhiteSur hides Firefox's own toolbar-button hover by setting --toolbarbutton-hover-background and --toolbarbutton-active-background to transparent, then draws its own rounded square. Firefox reads --toolbarbutton-background-color-hover and --toolbarbutton-background-color-active now; the old names are absent from both 155's and 158's browser CSS. So Firefox's hover was painted inside WhiteSur's: a darker inner square on 155, and a violet circle under Nova on 158. This sets the current names next to the old ones. The old ones are kept with fxcss-keep for older Firefox. The back-button rule also reads --toolbarbutton-padding-inner now, falling back to the old spelling.

2. New Tab button standing proud of the tab strip

#TabsToolbar .toolbarbutton-1 paints the tab colour over the strip's top highlight and bottom border. Tabs draw those edges back with inset shadows; the button didn't, so it was 1px taller than the row at both ends. It now gets the same inset edges.

3. A double line under the tabs

Nova gives the content area (.browserContainer) a top border in --chrome-content-separator-color, a violet no palette sets. With a sidebar open it also gets a side border and a rounded corner. WhiteSur's tab strip already ends in its own border, so the result was a white line, then a violet one. With horizontal tabs those borders are removed, matching pre-Nova Firefox, which drew none of them. Vertical tabs keep Firefox's card, as pre-Nova Firefox did too. Split-view panels are untouched.

Tested

Both versions were captured locally on macOS with fxcss 0.24.0, all 50 views, before and after:

  • Firefox 158.0.1:
    • Forced :hover on 11 toolbar and tab-strip buttons: each now shows one WhiteSur rounded square, with no violet circle.
    • Pixel rows under the strip: the violet #dfdaec line is gone, and the New Tab button's edges line up with the tabs.
    • Every changed view, by location: only the New Tab button, the line under the tabs, the page content moving up 1px with that border, and the checked sidebar button in vertical-tabs mode. Vertical tabs' card is unchanged.
  • Firefox 155.0.1: only the New Tab button edges and the checked sidebar button change. The checked button keeps WhiteSur's grey highlight, as one shape instead of two.
  • fxcss audit --strict --strict-vars on 158: findings unchanged from master.

Also seen on 158, not changed here

  • The window-modal dialog's Cancel button gets a violet border.
  • The new sidebar launcher marks the selected item with a violet circle, and the sidebar panel is a Nova card.
  • With vertical tabs, the content card's border is Nova violet.
  • In private windows, the private-browsing indicator appears at the end of the tab strip as a low-contrast grey circle.
  • --panel-background (popups.css) and --panel-list-color (panels.css) are no longer read. Panels still get their colour from WhiteSur's direct background rules.

🤖 Generated with Claude Code

…e tabs on Firefox 158

Hover: WhiteSur hides Firefox's own toolbar-button hover through
--toolbarbutton-hover-background / -active-background, but Firefox reads
--toolbarbutton-background-color-hover / -active (and -padding-inner)
now, so Firefox's hover was painted inside WhiteSur's: a second square
on 155, a violet circle under Firefox 158's Nova design. Set the current
names alongside the old ones.

New Tab button: it paints the tab colour over the strip's top highlight
and bottom border, so it stood 1px proud of the row. Give it the inset
edges the tabs already draw.

Line under the tabs: Nova adds a top border (and, with a sidebar, a side
border and rounded corner) to the content area in a violet no palette
sets, doubling WhiteSur's own strip border. Drop them with horizontal
tabs, as pre-Nova Firefox did; vertical tabs keep Firefox's card.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-actions Bot added a commit that referenced this pull request Oct 25, 2026
@github-actions

Copy link
Copy Markdown

Theme preview

Rendered from 4954cb1 against the base branch.

Linux — 49 views changed

Browser window — dark (0.62% of pixels)

Address bar focused — dark (0.62% of pixels)

Find bar — dark (0.47% of pixels)

Modal dialog — dark (0.65% of pixels)

Tab playing audio (0.62% of pixels)

Tab muted (0.62% of pixels)

Container tabs (0.35% of pixels)

Tab strip overflowing (0.35% of pixels)

Private window (0.91% of pixels)

Compact density (0.35% of pixels)

Sidebar — bookmarks (0.52% of pixels)

Sidebar — history (0.52% of pixels)

Right-to-left UI (0.35% of pixels)

Vertical tabs (0.11% of pixels)

Customised toolbar (0.35% of pixels)

Browser window — light (0.35% of pixels)

Address bar focused — light (0.35% of pixels)

Find bar — light (0.35% of pixels)

Modal dialog — light (0.88% of pixels)

Variant: compact-tabs (0.35% of pixels)

Variant: enabletabview (0.35% of pixels)

Variant: hideextension (0.35% of pixels)

Variant: highlight-tab (0.35% of pixels)

Variant: increase-contrast (0.36% of pixels)

Variant: noidentity (0.35% of pixels)

Variant: singletabhidden (0.35% of pixels)

Variant: standard-urlbar (0.35% of pixels)

Variant: tabs-swapclose (0.35% of pixels)

Variant: theme-ayu-mirage (0.62% of pixels)

Variant: theme-catppuccin-frappe (0.62% of pixels)

Variant: theme-catppuccin-latte (0.62% of pixels)

Variant: theme-catppuccin-macchiato (0.62% of pixels)

Variant: theme-catppuccin-mocha (0.62% of pixels)

Variant: theme-dracula (0.62% of pixels)

Variant: theme-everforest-dark (0.62% of pixels)

Variant: theme-github-dark (0.62% of pixels)

Variant: theme-gruvbox-dark (0.62% of pixels)

Variant: theme-gruvbox-light (0.62% of pixels)

Variant: theme-material-ocean (0.62% of pixels)

Variant: theme-material-palenight (0.62% of pixels)

Variant: theme-monokai-pro (0.62% of pixels)

Variant: theme-night-owl (0.63% of pixels)

Variant: theme-nord (0.62% of pixels)

Variant: theme-one-dark (0.62% of pixels)

Variant: theme-rose-pine (0.62% of pixels)

Variant: theme-solarized-dark (0.62% of pixels)

Variant: theme-solarized-light (0.62% of pixels)

Variant: theme-tokyonight (0.62% of pixels)

Variant: windows-swapclose (0.35% of pixels)

macOS — 49 views changed

Browser window — dark (0.59% of pixels)

Address bar focused — dark (0.59% of pixels)

Find bar — dark (0.46% of pixels)

Modal dialog — dark (0.56% of pixels)

Tab playing audio (0.87% of pixels)

Tab muted (0.87% of pixels)

Container tabs (0.59% of pixels)

Tab strip overflowing (0.59% of pixels)

Private window (0.88% of pixels)

Compact density (0.59% of pixels)

Sidebar — bookmarks (0.76% of pixels)

Sidebar — history (0.76% of pixels)

Right-to-left UI (0.59% of pixels)

Vertical tabs (0.11% of pixels)

Customised toolbar (0.59% of pixels)

Browser window — light (0.59% of pixels)

Address bar focused — light (0.59% of pixels)

Find bar — light (0.59% of pixels)

Modal dialog — light (0.69% of pixels)

Variant: compact-tabs (0.59% of pixels)

Variant: enabletabview (0.59% of pixels)

Variant: hideextension (0.59% of pixels)

Variant: highlight-tab (0.59% of pixels)

Variant: increase-contrast (0.59% of pixels)

Variant: noidentity (0.59% of pixels)

Variant: singletabhidden (0.59% of pixels)

Variant: standard-urlbar (0.59% of pixels)

Variant: tabs-swapclose (0.59% of pixels)

Variant: theme-ayu-mirage (0.59% of pixels)

Variant: theme-catppuccin-frappe (0.59% of pixels)

Variant: theme-catppuccin-latte (0.59% of pixels)

Variant: theme-catppuccin-macchiato (0.59% of pixels)

Variant: theme-catppuccin-mocha (0.59% of pixels)

Variant: theme-dracula (0.59% of pixels)

Variant: theme-everforest-dark (0.59% of pixels)

Variant: theme-github-dark (0.59% of pixels)

Variant: theme-gruvbox-dark (0.59% of pixels)

Variant: theme-gruvbox-light (0.59% of pixels)

Variant: theme-material-ocean (0.59% of pixels)

Variant: theme-material-palenight (0.59% of pixels)

Variant: theme-monokai-pro (0.59% of pixels)

Variant: theme-night-owl (0.59% of pixels)

Variant: theme-nord (0.59% of pixels)

Variant: theme-one-dark (0.59% of pixels)

Variant: theme-rose-pine (0.59% of pixels)

Variant: theme-solarized-dark (0.59% of pixels)

Variant: theme-solarized-light (0.59% of pixels)

Variant: theme-tokyonight (0.59% of pixels)

Variant: windows-swapclose (0.59% of pixels)

Windows — 49 views changed

Browser window — dark (0.62% of pixels)

Address bar focused — dark (0.62% of pixels)

Find bar — dark (0.45% of pixels)

Modal dialog — dark (0.50% of pixels)

Tab playing audio (0.89% of pixels)

Tab muted (0.89% of pixels)

Container tabs (0.62% of pixels)

Tab strip overflowing (0.62% of pixels)

Private window (0.86% of pixels)

Compact density (0.62% of pixels)

Sidebar — bookmarks (0.71% of pixels)

Sidebar — history (0.71% of pixels)

Right-to-left UI (0.62% of pixels)

Vertical tabs (0.12% of pixels)

Customised toolbar (0.62% of pixels)

Browser window — light (0.62% of pixels)

Address bar focused — light (0.62% of pixels)

Find bar — light (0.62% of pixels)

Modal dialog — light (0.61% of pixels)

Variant: compact-tabs (0.63% of pixels)

Variant: enabletabview (0.62% of pixels)

Variant: hideextension (0.62% of pixels)

Variant: highlight-tab (0.62% of pixels)

Variant: increase-contrast (0.64% of pixels)

Variant: noidentity (0.62% of pixels)

Variant: singletabhidden (0.62% of pixels)

Variant: standard-urlbar (0.62% of pixels)

Variant: tabs-swapclose (0.62% of pixels)

Variant: theme-ayu-mirage (0.62% of pixels)

Variant: theme-catppuccin-frappe (0.62% of pixels)

Variant: theme-catppuccin-latte (0.62% of pixels)

Variant: theme-catppuccin-macchiato (0.62% of pixels)

Variant: theme-catppuccin-mocha (0.62% of pixels)

Variant: theme-dracula (0.62% of pixels)

Variant: theme-everforest-dark (0.62% of pixels)

Variant: theme-github-dark (0.62% of pixels)

Variant: theme-gruvbox-dark (0.62% of pixels)

Variant: theme-gruvbox-light (0.62% of pixels)

Variant: theme-material-ocean (0.62% of pixels)

Variant: theme-material-palenight (0.62% of pixels)

Variant: theme-monokai-pro (0.62% of pixels)

Variant: theme-night-owl (0.62% of pixels)

Variant: theme-nord (0.62% of pixels)

Variant: theme-one-dark (0.62% of pixels)

Variant: theme-rose-pine (0.62% of pixels)

Variant: theme-solarized-dark (0.62% of pixels)

Variant: theme-solarized-light (0.62% of pixels)

Variant: theme-tokyonight (0.62% of pixels)

Variant: windows-swapclose (0.62% of pixels)

Views: browser window, focused address bar, find bar, modal dialog — each in light and dark. Native popups (app menu, context menus) are OS-level windows and cannot be captured. Workflow run

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