Closed Bug 966639 Opened 10 years ago Closed 10 years ago

The search output panel should use theme colors

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: vporof, Assigned: vporof)

Details

Attachments

(1 file, 2 obsolete files)

      No description provided.
Attached patch widget-colors.patch (obsolete) — Splinter Review
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #8369081 - Flags: review?(bgrinstead)
Attached image Screenshot 2014-02-01 10.03.48.png (obsolete) —
Should I be seeing different colors here for the hovered search result?  That's what I was assuming this was addressing, but it must be something else.
Flags: needinfo?(vporof)
(In reply to Brian Grinstead [:bgrins] from comment #2)
> Created attachment 8369091 [details]
> Screenshot 2014-02-01 10.03.48.png
> 
> Should I be seeing different colors here for the hovered search result? 
> That's what I was assuming this was addressing, but it must be something
> else.

Not there :) Type @ in the searchbox to search for functions, or search for a file.
Flags: needinfo?(vporof)
Comment on attachment 8369081 [details] [diff] [review]
widget-colors.patch

Review of attachment 8369081 [details] [diff] [review]:
-----------------------------------------------------------------

This is an improvement for sure. We should also consider doing something about the hover background colors for unselected elements in both themes (it is barely visible).  We could pick a different color from the list, or maybe do something just to add a bit of contrast on hover, like:

.theme-dark .simple-list-widget-item:not(.selected):hover {
  background-color: rgba(255, 255, 255, .1);
}

.theme-light .simple-list-widget-item:not(.selected):hover {
  background-color: rgba(0, 0, 0, .1);
}
Attachment #8369081 - Flags: review?(bgrinstead) → review+
The hover colors were already picked from the wiki, but it guess they're pretty light. I did as you suggested and it looks better!
(although i'm going to use a very slightly lower alpha)
Addressed comments. Had to overwrite the colors in debugger.inc.css to prevent the global search look bad, but the file/function output panel uses the rgba() suggested approach.
Attachment #8369093 - Flags: review+
Attachment #8369091 - Attachment is obsolete: true
Attachment #8369081 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/16dfbbf8a159
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 29
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: