Closed Bug 1112294 Opened 10 years ago Closed 10 years ago

No border around in-content dialogs with high-contrast themes

Categories

(Firefox :: Theme, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 37

People

(Reporter: Paenglab, Assigned: Paenglab)

References

Details

Attachments

(3 files, 1 obsolete file)

Attached image noBorder.png
When using high-contrast themes or the usage of the page colors is disabled, the in-content dialogs have no border around them and the controls are looking lost and not connected.
Attached patch dialogBorder.patch (obsolete) — Splinter Review
This patch adds a transparent border around the dialog. With normal themes and with the page colors enabled the border isn't visible. With HC-themes and page colors disabled the transparent border is shown with the foreground color.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8537415 - Flags: review?(jaws)
Attached image With patch applied
Comment on attachment 8537415 [details] [diff] [review]
dialogBorder.patch

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

::: browser/themes/shared/incontentprefs/preferences.inc.css
@@ +244,5 @@
>  #dialogBox {
>    background-color: #fbfbfb;
>    color: #424e5a;
>    font-size: 14px;
> +  border: 1px solid transparent;

Please add the following comment above this line:
/* `transparent` will use the dialogText color in high-contrast themes and when page colors are disabled */
Attachment #8537415 - Flags: review?(jaws) → review+
Added the comment.
Attachment #8537415 - Attachment is obsolete: true
Attachment #8538620 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/8da964932383
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 37
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.
(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.

meant #FBFBFB, not #F7F7F7. (The color matches the background)
Depends on: 1114344
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: