'¶' shown all the time

Bug #940195 reported by Daniel Holbach
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Packaging Guide
Fix Released
Medium
Alexander Fougner

Bug Description

'¶' shown all the time - it'd be good if it only showed up when it is mouse-overed.

Tags: look

Related branches

Revision history for this message
Daniel Holbach (dholbach) wrote :

This is in trunk.

tags: added: look
Changed in ubuntu-packaging-guide:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Daniel Holbach (dholbach) wrote :

Alex: do you have an idea how we can fix it? Didn't we have the same problem last time? :-)

Revision history for this message
Alexander Fougner (fougner) wrote :

Daniel, I'm quite sure we'd need jQuery/javascript for this effect. The best I can do is to make the '¶' the same color as the background and then make it visible (orange color) if the character is hovered. Is that acceptable?

Revision history for this message
Daniel Holbach (dholbach) wrote :

That's weird. It might be better to just get rid of it then - it's bad for copy/paste. :-)

Revision history for this message
Daniel Holbach (dholbach) wrote :

I just had a look at https://docs.djangoproject.com/en/1.3/ref/models/fields/ which uses sphinx and they seem to use something like:

#documentation a.headerlink {
    color: #c60f0f;
    font-size: 0.8em;
    padding: 0 4px 0 4px;
    text-decoration: none;
    visibility: hidden;
}
#documentation *:hover > a.headerlink {
    visibility: visible;
}

Would that be applicable?

Revision history for this message
Alexander Fougner (fougner) wrote :

oh yes indeed! stupid me. I'll propose a merge

Revision history for this message
Daniel Holbach (dholbach) wrote :

Alex suggests the following fix, I'll try it out and commit it, if it works:

=== modified file 'themes/ubuntu/static/home.css'
--- themes/ubuntu/static/home.css 2012-01-27 11:59:17 +0000
+++ themes/ubuntu/static/home.css 2012-02-29 14:07:20 +0000
@@ -232,3 +232,14 @@
  border: 0 none;
 }

+#content a.headerlink {
+ color: #c60f0f;
+ font-size: 0.8em;
+ padding: 0 4px 0 4px;
+ text-decoration: none;
+ visibility: hidden;
+}
+
+#content *:hover > a.headerlink {
+ visibility: visible;
+}

Changed in ubuntu-packaging-guide:
assignee: nobody → Alexander Fougner (fougner)
status: Triaged → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Perfect, works and committed the fix.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Marking fix release as this seems to be in production.

Changed in ubuntu-packaging-guide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.