[pypy-svn] r71148 - in pypy/build/bot2/jsplot: css js

fijal at codespeak.net fijal at codespeak.net
Sun Feb 7 19:13:17 CET 2010


Author: fijal
Date: Sun Feb  7 19:13:16 2010
New Revision: 71148

Modified:
   pypy/build/bot2/jsplot/css/main.css
   pypy/build/bot2/jsplot/js/plot.js
Log:
Play a bit with CSS, not too happy about the result so far


Modified: pypy/build/bot2/jsplot/css/main.css
==============================================================================
--- pypy/build/bot2/jsplot/css/main.css	(original)
+++ pypy/build/bot2/jsplot/css/main.css	Sun Feb  7 19:13:16 2010
@@ -18,6 +18,11 @@
     font-size: 14pt;
     font-family: Verdana;
 }
+.tickLabelY {
+    -webkit-transform: rotate(-90deg);
+    -moz-transform: rotate(-90deg);
+    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
+}
 .smallcaption {
     font-size: 10pt;
     font-family: Verdana;

Modified: pypy/build/bot2/jsplot/js/plot.js
==============================================================================
--- pypy/build/bot2/jsplot/js/plot.js	(original)
+++ pypy/build/bot2/jsplot/js/plot.js	Sun Feb  7 19:13:16 2010
@@ -209,4 +209,6 @@
                    hoverable: true,
                }
            });
+    $('.tickLabel[style*=center]').addClass('tickLabelY');
+    $('.tickLabelY').css('text-align', 'left');
 }



More information about the Pypy-commit mailing list