Closed Bug 220424 Opened 21 years ago Closed 21 years ago

Need to distinguish between Web links and Help links in Mozilla Help

Categories

(Documentation Graveyard :: Help Viewer, enhancement)

x86
Windows 98
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: danielwang, Assigned: rjkeller)

Details

Attachments

(3 files, 3 obsolete files)

something like
  a[href^="http://"]:after { content: url('web-link.gif'); }
in the Help css. and an image too
hmm... I thought Keller is the default owner of doc:user...
Assignee: rudman → rlk
Severity: normal → enhancement
Maybe a border might be a better idea. or maybe a different background color?
Accepting.
Status: NEW → ASSIGNED
border/background won't work because there's no universal color for outgoing
link or local link. Microsoft in its Help files use a little globe icon to
indicate Web resources, hence the css change request
So do you want a globe? Can you attach this image for me? thanks!
Daniel, you should file a bug for this at
http://firebirdhelp.mozdev.org/bugs.html under the Layout component.
Attached image Weblink.svg
sorry for the delay. here's a black / white version of the globe, abut the
height of 12pt Arial. I tried various colours & stroke width and found thick
black lines to be the best.
Attached patch Patch (obsolete) — Splinter Review
Attachment #133163 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 133163 [details] [diff] [review]
Patch

>+a[href^="http://"]:after { content: url('chrome://communicator/skin/web-link.png'); }
web-links, surely?
Comment on attachment 133163 [details] [diff] [review]
Patch

>+        skin/modern/communicator/web-links.png               (skin/web-links.png)
This would have been skin/modern/web-links.png if the skin had been the correct
place for the image. The image belongs in locale/en-US/images/.

>Index: skin/modern/help.css
This is the wrong file to patch, this is the chrome CSS, you want the content
CSS which is stored in locale. In fact you want both content CSS files for now.

>+a[href^="http://"]:after { content: url('chrome://communicator/skin/web-link.png'); }
So this will become chrome://help/locale/images/web-links.png (and why single
quotes? IIRC style is to use double quotes).
Attachment #133163 - Flags: review?(neil.parkwaycc.co.uk) → review-
Comment on attachment 132598 [details]
Weblink.png (8 color black / white)

Presumably we'll get sued if we colour it ;-)
Attachment #132598 - Attachment filename: Weblink.png → weblink.png
> This would have been skin/modern/web-links.png if the skin had been the correct
> place for the image. The image belongs in locale/en-US/images/.

I think that the image should be skinned. (In case you haven't noticed, I'm big
on having the help doc CSS skinned ;)). If you don't want it, I'll take it out
but I thought it'd be neat to have everything skinned.

> This is the wrong file to patch, this is the chrome CSS, you want the content
> CSS which is stored in locale. In fact you want both content CSS files for now.

bah. wrong file. sorry! I'm thinking Firebird Help.
Attached patch Patch with Neil's comments. (obsolete) — Splinter Review
Attachment #133163 - Attachment is obsolete: true
Attachment #133526 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 133526 [details] [diff] [review]
Patch with Neil's comments.

>+        locale/en-US/help/images/web-links.png             (locale/en-US/images/web-links.png)
>+a[href^="http://"]:after { content: url("chrome://help/locale/web-link.png"); }
>+a[href^="http://"]:after { content-url("chrome://help/locale/web-link.png"); }

These don't match up. The jar.mn calls the file /images/web-links.png but the
stylesheets use /web-link.png and also the second rule uses content-url instead
of content: url
Attachment #133526 - Flags: review?(neil.parkwaycc.co.uk) → review-
Attached patch Patch v2.1 (obsolete) — Splinter Review
Attachment #133526 - Attachment is obsolete: true
Attachment #133793 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 133793 [details] [diff] [review]
Patch v2.1

>+        locale/en-US/help/images/web-links.png             (locale/en-US/images/web-links.png)
This line above refers to /images/, the two below don't.
>+a[href^="http://"]:after { content: url("chrome://help/locale/web-links.png"); }
>+a[href^="http://"]:after { content: url("chrome://help/locale/web-links.png"); }
Attached patch Patch v2.2Splinter Review
I apologize neil! I must've not seen your comment on that.
Attachment #133793 - Attachment is obsolete: true
Attachment #133795 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #133793 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 133795 [details] [diff] [review]
Patch v2.2

Don't forget to cvs add -kb locale/en-US/images/web-links.png
Attachment #133795 - Flags: review?(neil.parkwaycc.co.uk) → review+
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: