Author: jbeard
Date: Sat Aug 14 20:01:43 2010
New Revision: 985578

URL: http://svn.apache.org/viewvc?rev=985578&view=rev
Log:
Changed the style of scxmlToSVG.xsl scirpt to use fuschia instead of lime, and 
to only change the color of the stroke of composite and parallel states, rather 
than the fill.

Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/layout/scxmlToSVG.xsl

Modified: 
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/layout/scxmlToSVG.xsl
URL: 
http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/layout/scxmlToSVG.xsl?rev=985578&r1=985577&r2=985578&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/layout/scxmlToSVG.xsl 
(original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/layout/scxmlToSVG.xsl Sat 
Aug 14 20:01:43 2010
@@ -89,12 +89,18 @@
                                        text-anchor: middle;
                                }
 
-                               g.highlighted > rect.groupBoundingRect {
-                                       fill : #00FF00; /*lime*/
+                               g.highlighted.basic > rect.groupBoundingRect {
+                                       fill : #FF00FF; /*fuschia*/
                                }
 
-                               g.highlighted > path.edge {
-                                       stroke : #00FF00; /*lime*/
+                               g.highlighted.composite > 
rect.groupBoundingRect, 
+                               g.highlighted.parallel > rect.groupBoundingRect 
{
+                                       stroke : #FF00FF; /*fuschia*/
+                                       stroke-width : 2;
+                               }
+
+                               g.highlighted.transition > path.edge {
+                                       stroke : #FF00FF; /*fuschia*/
                                }
 
                        ]]></style>


Reply via email to