Closed Bug 1114344 Opened 10 years ago Closed 9 years ago

Add background-clip: content-box to the #dialogBox on in-content dialogs.

Categories

(Firefox :: Theme, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 37

People

(Reporter: Paenglab, Assigned: Paenglab)

References

Details

Attachments

(1 file, 2 obsolete files)

From bug 1112294 comment 7:
(In reply to Tim Nguyen [:ntim] from comment #7)
> You should add background-clip: content-box, so the border isn't visible on
> the default theme (currently it acts as border: 1px solid #F7F7F7;) on the
> default theme.
Attached patch bug1114344.patch (obsolete) — Splinter Review
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8539810 - Flags: review?(jaws)
Comment on attachment 8539810 [details] [diff] [review]
bug1114344.patch

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

::: browser/themes/shared/incontentprefs/preferences.inc.css
@@ +232,5 @@
>  }
>  
>  #dialogBox {
>    background-color: #fbfbfb;
> +  background-clip: content-box;

With `background-clip:content-box;` the border-radius is hardly visible. It looks like it would have to be increased to 3.5px to match the current style.
Attached patch bug1114344.patch (obsolete) — Splinter Review
Now with a border-radius of 3px. This makes the radius visible but not to big.
Attachment #8539810 - Attachment is obsolete: true
Attachment #8539810 - Flags: review?(jaws)
Attachment #8540224 - Flags: review?(jaws)
It also makes the box-shadow a bit thicker, maybe 0 2px 6px 0 rgba(0, 0, 0, 0.3) ?
Comment on attachment 8540224 [details] [diff] [review]
bug1114344.patch

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

::: browser/themes/shared/incontentprefs/preferences.inc.css
@@ +243,1 @@
>    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);

Looks good, let's go with Tim's recommendation:
box-shadow: 0 2px 6px 0 rgba(0,0,0,0.3);
Attachment #8540224 - Flags: review?(jaws) → review+
box-shadow changed to Tim's proposal.
Attachment #8540224 - Attachment is obsolete: true
Attachment #8541712 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/858f0c4f4bdf
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 37
Verified fixed on Windows 7 64bit, Ubuntu 13.10 32bit and Mac OSX 10.8.5 using latest Nightly 37.0a1 (buildID: 20150104030205).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: