Closed
Bug 1013892
Opened 11 years ago
Closed 8 years ago
Variables view icons are not inverted in light theme
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ntim, Unassigned)
References
Details
Attachments
(2 files)
|
9.93 KB,
image/png
|
Details | |
|
1.58 KB,
patch
|
Details | Diff | Splinter Review |
Note that the selected state shouldn't invert icons.
| Reporter | ||
Comment 1•11 years ago
|
||
Brian, do you think you can take a look a this ?
Flags: needinfo?(bgrinstead)
Comment 2•11 years ago
|
||
What exactly do you mean by this? Could you upload a sceenshot?
Flags: needinfo?(bgrinstead)
| Reporter | ||
Updated•11 years ago
|
Summary: Console and variables view sidebar icons are not inverted in light theme → Variables view icons are not inverted in light theme
| Reporter | ||
Comment 3•11 years ago
|
||
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.
| Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(bgrinstead)
Comment 4•11 years ago
|
||
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)
| Reporter | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
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)
| Reporter | ||
Updated•10 years ago
|
Assignee: ntim.bugs → nobody
Status: ASSIGNED → NEW
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•