Closed Bug 1588294 Opened 5 years ago Closed 5 years ago

Use new search highlight styles for "Search in Files…" results

Categories

(DevTools :: Debugger, enhancement)

enhancement
Not set
normal

Tracking

(firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox71 --- fixed

People

(Reporter: fvsch, Assigned: fvsch)

References

Details

Attachments

(2 files)

In bug 1582702 we came up with a style for highlighting search results, with the intent of generalizing it to other places, including Debugger.

Let's start with the "Search in Files..." results. Currently the highlighted text fragments use our "selection" colors, white text on a blue background.

UI spec: https://github.com/firefox-devtools/ux/issues/14#issuecomment-537047482

  • Use tabular numbers in search input message to reduce layout shifts that impact the loader icon
  • Use new highlight colors in search results
  • Use standard code font-family (platform-dependent) and font-size (11px); change result row height to 18px (from 16px)
  • Add row hover background color, similar to Network request list
  • And a few more spacing tweaks
Assignee: nobody → florens
Status: NEW → ASSIGNED

I took the opportunity to tweak spacing a bit, add a hover style (borrowed from the Network panel), fix a few tiny CSS issues. Here's the before/after.

Pushed by dwalsh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a7cbe630a6ca
Project search results style tweaks, new highlight colors; r=davidwalsh
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
Regressions: 1590059
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: