Closed Bug 898059 Opened 11 years ago Closed 11 years ago

black boxing eyeballs are too big

Categories

(DevTools :: Debugger, defect)

25 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: fitzgen, Assigned: fitzgen)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

We should make them smaller.
Attached image blackbox.png (obsolete) —
Thank you shorlander.
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Is a new asset really needed for this? Why can't the size simply be specified in css?
Attached patch v1 (obsolete) — Splinter Review
Can't reuse because (AFAIK, and I'd love to be wrong here) we can't scale background images in CSS.
Attachment #787741 - Flags: review?(vporof)
Comment on attachment 787741 [details] [diff] [review]
v1

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

Am I missing anything? Just changing the width/height of the container and setting background-size to 100% should be enough! Ask me again for review if what I'm saying is stupid.

https://developer.mozilla.org/en-US/docs/Web/CSS/background-size
Attachment #787741 - Flags: review?(vporof)
Attached patch v2Splinter Review
I'm embarrassed to admit that this is the first time I have heard about background-size. Wow.
Attachment #787201 - Attachment is obsolete: true
Attachment #787741 - Attachment is obsolete: true
Attachment #788456 - Flags: review?(vporof)
Comment on attachment 788456 [details] [diff] [review]
v2

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

r+ with the changes below.

::: browser/themes/linux/devtools/debugger.css
@@ +19,5 @@
>  
>  .side-menu-widget-item-checkbox {
>   -moz-appearance: none;
>    padding: 0;
> +  margin: 4px -4px -4px 4px;

This looks bad on RTL, use -moz-margin-start/end here.

@@ +24,2 @@
>    opacity: 0;
> +  transition: opacity .15s ease 0s;

Why the transition changes? Might want to split them out into a separate patch (not necessarily a different bug).

::: browser/themes/linux/devtools/widgets.css
@@ +352,5 @@
>  }
>  
>  .side-menu-widget-item-other {
>    background: url(background-noise-toolbar.png), hsla(208,11%,27%, 0.65);
> +  -moz-margin-start: -14px;

Now that I think about it, this right here is very leaky css. If you're not using checkboxes then any other extra content that you might add will be shifted to the left, potentially making it invisible.

Move this margin declaration in debugger.css.
Attachment #788456 - Flags: review?(vporof) → review+
https://hg.mozilla.org/mozilla-central/rev/8750c23b7195
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 26
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: