Closed
Bug 1015627
Opened 11 years ago
Closed 10 years ago
Inspector markup preview doesn't match devtools theme
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 32
People
(Reporter: ntim, Assigned: ntim)
References
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
ntim
:
review+
|
Details | Diff | Splinter Review |
STR :
- Enable the pref : devtools.inspector.markupPreview
- Open inspector on a page where HTML source is long enough for markup preview
The inspector markup preview is currently fully dark whatever the theme.
Assignee | ||
Updated•11 years ago
|
Summary: Inspector markup preview → Inspector markup preview doesn't match devtools theme
Assignee | ||
Updated•10 years ago
|
Depends on: 1011624
Whiteboard: [good first bug][mentor=ntim][lang=css]
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Whiteboard: [good first bug][mentor=ntim][lang=css]
Comment 2•10 years ago
|
||
Comment on attachment 8430717 [details] [diff] [review]
Patch
Review of attachment 8430717 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/markupview/markup-view.css
@@ +140,5 @@
> border-bottom: 1px solid #333;
> overflow: hidden;
> }
>
> +.theme-light #previewbar {
I know most of these are already issues, but I'm going to suggest some improvements:
1) Please move all of the #previewbar and #preview stuff into themes/shared/devtools/markup-view.css.
2) Use colors from https://developer.mozilla.org/en-US/docs/Tools/DevToolsColors (probably Tab Toolbar for background and Splitters for border)
3) Move the colors from #previewbar { .. } into .theme-dark #previewbar {} so that it we have similar definitions as in .theme-light #previewbar {}.
Attachment #8430717 -
Flags: review?(bgrinstead)
Assignee | ||
Comment 3•10 years ago
|
||
Addressed review comments
Attachment #8430717 -
Attachment is obsolete: true
Attachment #8430795 -
Flags: review?(bgrinstead)
Comment 4•10 years ago
|
||
Comment on attachment 8430795 [details] [diff] [review]
Patch v2
Review of attachment 8430795 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me, please update with the minor notes then you can reupload with r+
::: browser/themes/shared/devtools/markup-view.css
@@ +40,5 @@
> + position: fixed;
> + top: 0;
> + right: 0;
> + width: 90px;
> + background: black;
You can remove background:black here
@@ +47,5 @@
> + overflow: hidden;
> +}
> +
> +.theme-dark #previewbar {
> + background: #252c33;
Please add comments that say /* Tab Toolbar */ and /* Splitters */ after each color used in these two rules
Attachment #8430795 -
Flags: review?(bgrinstead) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8430795 -
Attachment is obsolete: true
Attachment #8430850 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0a7752f9805a
Landed without a Try run since it was a css-only change. That said, please try to use commit messages that explain what the patch is doing instead of restating the problem it's solving. Thanks :)
https://developer.mozilla.org/en-US/docs/Developer_Guide/Committing_Rules_and_Responsibilities#Checkin_comment
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #6)
> https://hg.mozilla.org/integration/fx-team/rev/0a7752f9805a
>
> Landed without a Try run since it was a css-only change. That said, please
> try to use commit messages that explain what the patch is doing instead of
> restating the problem it's solving. Thanks :)
> https://developer.mozilla.org/en-US/docs/Developer_Guide/
> Committing_Rules_and_Responsibilities#Checkin_comment
Sorry, I'll keep that in mind next time :/
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Updated•10 years ago
|
QA Whiteboard: [good first verify]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•