about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-03-17T16·52+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-03-17T16·52+0000
commit8330c8202aa77ab65ce6344a45c5ecce287fd988 (patch)
treeed93bbfd32bf6fe51d0c25109a665c6d453d592f
parentb5539e7a30da963af3e5967e2af2524a5e99efbb (diff)
* A simpler way of implementing the store reference popups, thanks to
  Martin and CSS guru Martijn Vermaat.

-rw-r--r--src/log2xml/log2html.xsl8
-rw-r--r--src/log2xml/logfile.css23
2 files changed, 14 insertions, 17 deletions
diff --git a/src/log2xml/log2html.xsl b/src/log2xml/log2html.xsl
index be4af66ce3c7..05429efef75e 100644
--- a/src/log2xml/log2html.xsl
+++ b/src/log2xml/log2html.xsl
@@ -27,7 +27,7 @@
                 <td class='dummy'>
                   <div class='dummy' />
                 </td>
-                <td>
+                <td class='line'>
                   <xsl:apply-templates select='.'/>
                 </td>
               </tr>
@@ -39,7 +39,7 @@
                 <td class='dummy'>
                   <div class='dummy' />
                 </td>
-                <td>
+                <td class='line'>
                   <xsl:apply-templates select='.'/>
                 </td>
               </tr>
@@ -58,8 +58,8 @@
 
   <xsl:template match="storeref">
     <em class='storeref'>
-      <span class='z'><span class='popup'><xsl:apply-templates/></span></span>
-      <span class='elided'>(...)</span><xsl:apply-templates select='name'/><xsl:apply-templates select='path'/>
+      <span class='popup'><xsl:apply-templates/></span>
+      <span class='elided'>/...</span><xsl:apply-templates select='name'/><xsl:apply-templates select='path'/>
     </em>
   </xsl:template>
   
diff --git a/src/log2xml/logfile.css b/src/log2xml/logfile.css
index 342cf25839d2..01af4b08d90b 100644
--- a/src/log2xml/logfile.css
+++ b/src/log2xml/logfile.css
@@ -5,6 +5,12 @@ body
 }
 
 
+td.line
+{
+    width: 100%;
+}
+
+
 blockquote.body
 {
     padding: 6px 0px;
@@ -69,6 +75,8 @@ tr.y > td.dummy > div.dummy
 em.storeref
 {
     color: #500000;
+    position: relative; 
+    width: 100%;
 }
 
 
@@ -92,17 +100,6 @@ em.storeref:hover
 }
 
 
-em.storeref {
-    position: static;
-}
-
-
-span.z {
-    position: absolute;
-    width: 100%;
-}
-
-
-em.storeref:hover > span.z > *.popup {
-    display: block;
+em.storeref:hover span.popup {
+    display: inline;
 }