Closed Bug 1013892 Opened 11 years ago Closed 8 years ago

Variables view icons are not inverted in light theme

Categories

(DevTools :: General, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ntim, Unassigned)

References

Details

Attachments

(2 files)

Note that the selected state shouldn't invert icons.
Blocks: 966661
Brian, do you think you can take a look a this ?
Flags: needinfo?(bgrinstead)
What exactly do you mean by this? Could you upload a sceenshot?
Flags: needinfo?(bgrinstead)
Summary: Console and variables view sidebar icons are not inverted in light theme → Variables view icons are not inverted in light theme
Attached image Screenshot
See the white icons on the white bg. Note that the hovered icon and the selected state (aka when the item background is blue) shouldn't be inverted.
Flags: needinfo?(bgrinstead)
Yes I guess the icon is a bit subtle. If we decide to invert we should also do it for the 'click to inspect' icon in the console output (like if you log document.body).
Flags: needinfo?(bgrinstead)
Attached patch PatchSplinter Review
Assignee: nobody → ntim.bugs
Status: NEW → ASSIGNED
Attachment #8577729 - Flags: review?(bgrinstead)
Comment on attachment 8577729 [details] [diff] [review] Patch Review of attachment 8577729 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for following up with this! ::: browser/themes/shared/devtools/toolbars.inc.css @@ +894,5 @@ > .theme-light .notice-container button .button-icon, > .theme-light #requests-menu-perf-notice-button .button-icon, > .theme-light #requests-menu-network-summary-button .button-icon, > .theme-light .event-tooltip-debugger-icon, > +.theme-light .open-inspector:not(:hover):not(:active), Actually, after seeing this 'click to select' icon in the console on light theme, I think it's way too dark (sorry). Can you remove this line? @@ +895,5 @@ > .theme-light #requests-menu-perf-notice-button .button-icon, > .theme-light #requests-menu-network-summary-button .button-icon, > .theme-light .event-tooltip-debugger-icon, > +.theme-light .open-inspector:not(:hover):not(:active), > +.theme-light .variable-or-property:not(:focus) .variable-or-property-non-writable-icon, I think the intention on the :not(:focus) is to not invert these when there is the blue background on the item. If you want this to work, you would need to do: .variable-or-property:not(:focus) > .title .foobar However, with that update it looks like this: https://www.dropbox.com/s/hohc69zcjvtiuce/Screenshot%202015-03-16%2009.00.36.png?dl=0. If we remove the :not(:focus) bit altogether it looks like this: https://www.dropbox.com/s/x0qu62wyh4s6o3x/Screenshot%202015-03-16%2009.03.28.png?dl=0. Which do you think is better?
Attachment #8577729 - Flags: review?(bgrinstead)
Assignee: ntim.bugs → nobody
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: