Closed
Bug 2094661
Opened 17 days ago
Closed 1 day ago
Remove pre-Nova styles from `content-area.css`
Categories
(Firefox :: Tabbed Browser, task, P2)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
164 Branch
| Tracking | Status | |
|---|---|---|
| firefox164 | --- | fixed |
People
(Reporter: sthompson, Assigned: kcochrane)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fidefe-nova-cleanup])
Attachments
(1 external file)
Remove the browser.nova.enabled conditions from browser/themes/shared/tabbrowser/content-area.css, keeping only the Nova styling of the content area, split view panels and tab dialog overlays.
Two rules in this file were put in place by other teams and are already tracked separately, so they are out of scope here:
- the private browsing
--tabpanel-background-coloroverride on:root[privatebrowsingmode="temporary"](bug 2094325) - the
--button-border-radiusoverride onmoz-buttonin#selection-shortcut-action-panel(bug 2094229)
Content area borders and rounding:
- Unwrap the large top-level
@media -moz-pref("browser.nova.enabled")block:#navigator-toolbox(background transition,overflow: clip),#browserand#tabbrowser-tabboxflex layout, and#tabbrowser-tabpanels > :not(.split-view-panel) .browserContainer(rounded start corners, separator borders toward the toolbox and sidebars, macOS scrollbar insets, fullscreen handling). #navigator-toolbox: reduce@media -moz-pref("sidebar.verticalTabs") or -moz-pref("browser.nova.enabled")to an unconditionalborder-bottom-style: none..browserContainer: inside thesidebar.revampblock, delete the pre-Nova@media not -moz-pref("browser.nova.enabled")corner radii for a shown sidebar and for AI windows.
Split view panels:
#tabbrowser-tabpanels[splitview] .split-view-splitterand the[splitview-selected-column="0"]/[splitview-selected-column="1"]margin overrides, which sit inside the same top-level Nova block as the rules above.- The top-level Nova block for split view panels:
.split-view-panel > .browserContainerradius, border and macOS scrollbar insets;.split-view-panel.deck-selected > .browserContainerborder color and outline width; thenotification-messageborder placement; and thesplit-view-footerinsets. #tabbrowser-tabpanels[splitview]: fold the Novaborder-radiuson.split-view-panel:not(.deck-selected)into its base rule.- In
browser/components/tabbrowser/test/browser/tabs/browser_tab_splitview_content_size.js, remove theSpecialPowers.pushPrefEnvcalls that setbrowser.nova.enabledtotrueintest_selecting_a_panel_does_not_resize_contentandtest_selecting_a_panel_does_not_move_its_dialog.
Tab dialog overlays (.dialogOverlay[topmost="true"]):
- Delete the pre-Nova
@media not -moz-pref("browser.nova.enabled")rule that rounds the overlay inside.browserSidebarContainer:not(.responsive-mode)when the sidebar is shown. - Unwrap the Nova block: no radius for non-split panels by default, start corner radii matching the content area when a sidebar or AI window is open, radii for split view panels (selected and not selected), and no radius in fullscreen.
Updated•17 days ago
|
| Assignee | ||
Updated•5 days ago
|
Assignee: nobody → kcochrane
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•5 days ago
|
||
Pushed by kcochrane@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f1b5e489532a
https://hg.mozilla.org/integration/autoland/rev/d70c01bb058d
Remove pre-Nova styles from content-area.css r=desktop-theme-reviewers,tabbrowser-reviewers,jsudiaman,tgiles
Comment 6•1 day ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 day ago
status-firefox164:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 164 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•