Closed Bug 708797 Opened 13 years ago Closed 13 years ago

The sync door hanger notification doesn't have a border when using classic or third-party themes

Categories

(Firefox :: Theme, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 11

People

(Reporter: ehsan.akhgari, Assigned: soapy)

References

Details

Attachments

(2 files, 4 obsolete files)

Attached image Screenshot (obsolete) —
See the screenshot.
Comment on attachment 580155 [details]
Screenshot

This appears to be a different screenshot.
Attached image Screenshot
Sorry!
Attachment #580155 - Attachment is obsolete: true
Blocks: 618913
Attached patch Possible patch (obsolete) — Splinter Review
It appears the panel-promo-box has too much negative margins with Windows Classic theme and overlaps the border.
Comment on attachment 580627 [details] [diff] [review]
Possible patch

>+@media all and (-moz-windows-classic) {

This is backwards, you need to use -moz-windows-default-theme. See the panel[type="arrow"] styles in <http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/winstripe/global/popup.css>.
Summary: The sync door hander notification doesn't have a border on Windows XP → The sync door hanger notification doesn't have a border on Windows XP
Attached patch Possible patch v2 (obsolete) — Splinter Review
Attachment #580627 - Attachment is obsolete: true
Comment on attachment 580719 [details] [diff] [review]
Possible patch v2

Is this correct for Windows XP? Note that popup.css uses -moz-windows-default-theme not just for WINSTRIPE_AERO.
This bug also affects Windows Classic on Windows 7 as well as third-party themes. Unless you were referring to the styling of the 'panel-promo-box'? It seems it was styled like Windows 7 style on all themes, even third-party ones. Is that the intended behavior?
I was referring to panel-promo-box on Windows XP Luna, which I suspect attachment 580719 [details] [diff] [review] breaks.
Summary: The sync door hanger notification doesn't have a border on Windows XP → The sync door hanger notification doesn't have a border when using classic or third-party themes
Attached patch Possible patch v3 (obsolete) — Splinter Review
Fixed styling on Windows XP Luna.
Attachment #580719 - Attachment is obsolete: true
Attachment #580736 - Flags: review?(dao)
Comment on attachment 580736 [details] [diff] [review]
Possible patch v3

> .panel-promo-box {
>-  margin: 8px -16px -16px -16px;
>-  padding: 8px 16px;
>-  background-color: #f1f5fb;
>-  color: GrayText;
>+  margin: 8px -10px -10px;
>+  padding: 8px 10px;

This box is now transparent, so the padding plus the negative margin doesn't seem to make sense. How about:

  margin: 16px 0 -2px;

> %ifndef WINSTRIPE_AERO
>   border-bottom-left-radius: 6px;
>   border-bottom-right-radius: 6px;
> %endif

This should move inside the -moz-windows-default-theme block.
Attachment #580736 - Flags: review?(dao)
(In reply to Dão Gottwald [:dao] from comment #10)
> Comment on attachment 580736 [details] [diff] [review]
> Possible patch v3
> 
> > .panel-promo-box {
> >-  margin: 8px -16px -16px -16px;
> >-  padding: 8px 16px;
> >-  background-color: #f1f5fb;
> >-  color: GrayText;
> >+  margin: 8px -10px -10px;
> >+  padding: 8px 10px;
> 
> This box is now transparent, so the padding plus the negative margin doesn't
> seem to make sense. How about:
> 
>   margin: 16px 0 -2px;
> 
> > %ifndef WINSTRIPE_AERO
> >   border-bottom-left-radius: 6px;
> >   border-bottom-right-radius: 6px;
> > %endif
> 
> This should move inside the -moz-windows-default-theme block.

Added requested changes.
Attachment #580736 - Attachment is obsolete: true
Attachment #582542 - Flags: review+
Assignee: nobody → soapyhamhocks
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/e75f1076eab0
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: