Closed
Bug 573840
Opened 14 years ago
Closed 14 years ago
Web Console styling is broken with a Persona
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(blocking2.0 betaN+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: ddahl, Assigned: pcwalton)
References
Details
(Whiteboard: [kd4b6] [Web-Console-Testday])
Attachments
(3 files, 4 obsolete files)
:root:-moz-lwtheme-brighttext {
text-shadow: 1px 1px 2px black;
}
in chrome://global/skin/global.css seems to add a text-shadow to log entries in the HeadsUpDisplay/web console
Screenshot here: http://yfrog.com/0sdominspectoraddonsforfip
This is with the Robot theme enabled, but seems to be code in fx css.
Comment 1•14 years ago
|
||
You need to stop the text-shadow inheritance, i.e. set text-shadow: none, on the element that has the white background.
Assignee | ||
Updated•14 years ago
|
Assignee | ||
Comment 2•14 years ago
|
||
Broadening the scope of this bug to include all of the Web Console styling under a Persona.
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•14 years ago
|
||
Screenshot attached (slightly out of date, since it's of beta 3).
Updated•14 years ago
|
Whiteboard: [kd4b6]
Comment 4•14 years ago
|
||
non-primary UI + non-default option (persona) means this doesn't block. would accept a well-tested patch.
blocking2.0: ? → -
Comment 6•14 years ago
|
||
Where's the Web Console code?
Assignee | ||
Comment 7•14 years ago
|
||
(In reply to comment #6)
> Where's the Web Console code?
The code is in toolkit/components/console/hudservice/. The themes are in toolkit/themes/*stripe/global/webConsole.css.
Updated•14 years ago
|
Severity: normal → blocker
Assignee | ||
Comment 8•14 years ago
|
||
Patch part 1 fixes the styling on the Mac.
Assignee | ||
Comment 9•14 years ago
|
||
New version of part 1 of the patch removes the shadow everywhere on the Mac, not just in the output node.
Attachment #472060 -
Attachment is obsolete: true
Attachment #472062 -
Flags: feedback?(ddahl)
Assignee | ||
Comment 10•14 years ago
|
||
Here's a screenshot of what the Console looks like on the Mac with this patch and a Persona applied.
Updated•14 years ago
|
Severity: blocker → normal
Comment 11•14 years ago
|
||
colorful.
Updated•14 years ago
|
Blocks: devtools4b7
Assignee | ||
Updated•14 years ago
|
Attachment #472062 -
Flags: feedback?(ddahl) → feedback?(mihai.sucan)
Updated•14 years ago
|
Attachment #472062 -
Flags: review?(sdwilsh)
Comment 12•14 years ago
|
||
Comment on attachment 472062 [details] [diff] [review]
Proposed patch, part 1, version 2.
> .hud-box {
> border-bottom: 1px solid #aaa;
>+ text-shadow: none !important;
drop !important
>-.hud-console-filter-toolbar {
>+.hud-console-filter-toolbar, .hud-console-filter-toolbar:-moz-lwtheme {
This looks unnecessary.
Comment 13•14 years ago
|
||
Comment on attachment 472062 [details] [diff] [review]
Proposed patch, part 1, version 2.
removing review request that I added earlier until Dao's comment is addressed and this has been updated for Windows and Linux.
Attachment #472062 -
Flags: review?(sdwilsh)
Comment 14•14 years ago
|
||
Patrick: I can't comment on this since I don't own a Mac and I can't test the patch. When you have the changes ready for Linux as well, I can comment.
Otherwise, I believe it is acceptable - by looking into the screenshots. I'd also agree with Dão - the !important priority should not be required.
Assignee | ||
Comment 15•14 years ago
|
||
Attachment #474110 -
Flags: review?(dao)
Assignee | ||
Updated•14 years ago
|
Attachment #472062 -
Attachment is obsolete: true
Attachment #472062 -
Flags: feedback?(mihai.sucan)
Assignee | ||
Comment 16•14 years ago
|
||
New patch adds Windows and Linux support. Review requested.
Comment 17•14 years ago
|
||
Re-requesting blocking. johnath thinks this is likely a blocker because possibly ~25% of our users use Personas and they can render the console output unintelligible.
blocking2.0: - → ?
Updated•14 years ago
|
blocking2.0: ? → betaN+
Comment 18•14 years ago
|
||
Comment on attachment 474110 [details] [diff] [review]
Proposed patch, version 3.
>--- a/toolkit/themes/gnomestripe/global/webConsole.css
>+++ b/toolkit/themes/gnomestripe/global/webConsole.css
>+.hud-console-filter-toolbar:-moz-lwtheme {
>+ border-top: @scopeBarSeparatorBorder@ !important;
There's no scopeBarSeparatorBorder for gnomestrip.
>--- a/toolkit/themes/winstripe/global/webConsole.css
>+++ b/toolkit/themes/winstripe/global/webConsole.css
> .hud-console-filter-toolbar {
>+ color: -moz-dialogtext !important;
> padding: 1px 0px;
> -moz-box-align: center;
> }
This doesn't seem to be needed, at least on Windows.
>+.hud-console-filter-toolbar:-moz-lwtheme {
>+ border-top: @scopeBarSeparatorBorder@ !important;
Winstripe doesn't have this either.
Attachment #474110 -
Flags: review?(dao) → review-
Assignee | ||
Comment 19•14 years ago
|
||
New patch addresses review comments.
Attachment #474110 -
Attachment is obsolete: true
Attachment #475715 -
Flags: review?(dao)
Comment 20•14 years ago
|
||
Comment on attachment 475715 [details] [diff] [review]
Proposed patch, version 4.
>--- a/toolkit/themes/gnomestripe/global/webConsole.css
>+++ b/toolkit/themes/gnomestripe/global/webConsole.css
> .hud-console-filter-toolbar {
>+ color: -moz-dialogtext !important;
> padding: 1px 0px;
> -moz-box-align: center;
> }
This is also not needed.
>--- a/toolkit/themes/pinstripe/global/webConsole.css
>+++ b/toolkit/themes/pinstripe/global/webConsole.css
> .hud-console-filter-toolbar {
> background: @scopeBarBackground@ !important;
>- border-bottom: @scopeBarSeparatorBorder@;
>+ border-bottom: @scopeBarSeparatorBorder@ !important;
>+ color: -moz-dialogtext !important;
> padding: 0px 1px;
> -moz-appearance: none !important;
> -moz-box-align: center;
> }
I suppose the color isn't needed here either.
Attachment #475715 -
Flags: review?(dao) → review-
Assignee | ||
Comment 21•14 years ago
|
||
New patch addresses review comments. Re-review requested.
Attachment #475715 -
Attachment is obsolete: true
Attachment #476094 -
Flags: review?(dao)
Updated•14 years ago
|
Attachment #476094 -
Flags: review?(dao) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 22•14 years ago
|
||
Comment on attachment 476094 [details] [diff] [review]
[checked-in] Proposed patch, version 5.
http://hg.mozilla.org/mozilla-central/rev/38c0f5de0401
Attachment #476094 -
Attachment description: Proposed patch, version 5. → [checked-in] Proposed patch, version 5.
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Keywords: checkin-needed
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
Whiteboard: [kd4b6] → [kd4b6] [Web-Console-Testday]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•