<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>production/elastic.css</filename>
    </added>
    <added>
      <filename>production/elastic.js</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,16 +1,16 @@
 .full-height
 {
-
+	/* Helpers will handle this */
 }
 
 .hard-full-height
 {
-	
+	/* Helpers will handle this (still not implemented) */
 }
 
 .same-height
 {
-
+	/* Helpers will handle this */
 }
 
 .horizontal-center</diff>
      <filename>class.css</filename>
    </modified>
    <modified>
      <diff>@@ -7,18 +7,16 @@
 		&lt;meta name=&quot;keywords&quot; content=&quot;css, framework, elastic, layout&quot; /&gt;
 		&lt;meta name=&quot;description&quot; content=&quot;Elastic css framework: Develop web-based user interfaces the way you think about layouts with an easy going syntax and lots of flexibility&quot; /&gt;
 		&lt;title&gt;Elastic css framework&lt;/title&gt;
-		&lt;!--  elastic	--&gt;
-		&lt;link rel=&quot;stylesheet&quot; href=&quot;../reset.css&quot; type=&quot;text/css&quot; media=&quot;all&quot; title=&quot;&quot; charset=&quot;utf-8&quot; /&gt;
-		&lt;link rel=&quot;stylesheet&quot; href=&quot;../base.css&quot; type=&quot;text/css&quot; media=&quot;all&quot; title=&quot;&quot; charset=&quot;utf-8&quot; /&gt;
-		&lt;link rel=&quot;stylesheet&quot; href=&quot;../fonts.css&quot; type=&quot;text/css&quot; media=&quot;all&quot; title=&quot;&quot; charset=&quot;utf-8&quot; /&gt;
-		&lt;link rel=&quot;stylesheet&quot; href=&quot;../class.css&quot; type=&quot;text/css&quot; media=&quot;all&quot; title=&quot;&quot; charset=&quot;utf-8&quot; /&gt;
-		&lt;link rel=&quot;stylesheet&quot; href=&quot;../grid.css&quot; type=&quot;text/css&quot; media=&quot;all&quot; title=&quot;&quot; charset=&quot;utf-8&quot; /&gt;
-		&lt;link rel=&quot;stylesheet&quot; href=&quot;../print.css&quot; type=&quot;text/css&quot; media=&quot;print&quot; title=&quot;&quot; charset=&quot;utf-8&quot; /&gt;
-		&lt;script src=&quot;../helpers_jquery/jquery.js&quot; type=&quot;text/javascript&quot; language=&quot;javascript&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
-		&lt;script src=&quot;../helpers_jquery/engine.js&quot; type=&quot;text/javascript&quot; language=&quot;javascript&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
-		&lt;!--  end elastic	--&gt;
-		&lt;!--  application --&gt;
+		&lt;link rel=&quot;stylesheet&quot; href=&quot;../production/elastic.css&quot; type=&quot;text/css&quot; media=&quot;all&quot; title=&quot;&quot; charset=&quot;utf-8&quot; /&gt;
 		&lt;link rel=&quot;stylesheet&quot; href=&quot;skin.css&quot; type=&quot;text/css&quot; media=&quot;all&quot; title=&quot;&quot; charset=&quot;utf-8&quot; /&gt;
+		&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
+		/* &lt;![CDATA[ */
+
+		/* ]]&gt; */
+		&lt;/style&gt;
+
+		&lt;script src=&quot;../helpers_jquery/jquery.js&quot; type=&quot;text/javascript&quot; language=&quot;javascript&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
+		&lt;script src=&quot;../production/elastic.js&quot; type=&quot;text/javascript&quot; language=&quot;javascript&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
 		&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; charset=&quot;utf-8&quot;&gt;
 		// &lt;![CDATA[
 
@@ -31,7 +29,7 @@
 			&lt;div class=&quot;container&quot; style=&quot;&quot;&gt;
 				&lt;div class=&quot;unit two-columns header&quot;&gt;
 					&lt;div class=&quot;container same-height&quot; style=&quot;&quot;&gt;
-						&lt;div class=&quot;fixed-left-column&quot; style=&quot;&quot;&gt;
+						&lt;div class=&quot;fixed-column&quot; style=&quot;&quot;&gt;
 							&lt;a href=&quot;/&quot; title=&quot;home&quot;&gt;&lt;img src=&quot;img/logo.png&quot; alt=&quot;logo&quot; /&gt;&lt;/a&gt;
 						&lt;/div&gt;
 						&lt;div class=&quot;elastic-column&quot;&gt;
@@ -45,12 +43,7 @@
 					&lt;/div&gt;
 				&lt;/div&gt;
 				&lt;div class=&quot;unit two-columns welcome&quot;&gt;
-					&lt;div class=&quot;container&quot; style=&quot;&quot;&gt;
-						&lt;div class=&quot;fixed-right-column&quot; style=&quot;width:400px;&quot;&gt;
-							&lt;div class=&quot;container full-height&quot; style=&quot;text-align:center;&quot;&gt;
-								&lt;img src=&quot;img/ninja.png&quot; title=&quot;&quot; /&gt;
-							&lt;/div&gt;
-						&lt;/div&gt;
+					&lt;div class=&quot;container same-height&quot; style=&quot;&quot;&gt;
 						&lt;div class=&quot;elastic-column description&quot;&gt;
 							&lt;div class=&quot;container full-height&quot; style=&quot;padding-top:20px;&quot;&gt;
 								&lt;p class=&quot;introduction&quot;&gt;
@@ -77,14 +70,19 @@
 								&lt;/div&gt;
 							&lt;/div&gt;
 						&lt;/div&gt;
+						&lt;div class=&quot;fixed-column&quot; style=&quot;&quot;&gt;
+							&lt;div class=&quot;container full-height&quot; style=&quot;text-align:center; width:400px;&quot;&gt;
+								&lt;img src=&quot;img/ninja.png&quot; title=&quot;&quot; /&gt;
+							&lt;/div&gt;
+						&lt;/div&gt;
 					&lt;/div&gt;
 				&lt;/div&gt;
 				&lt;div class=&quot;unit two-columns body&quot;&gt;
 					&lt;div class=&quot;container same-height&quot; style=&quot;&quot;&gt;
-						&lt;div class=&quot;fixed-left-column&quot; style=&quot;&quot;&gt;
+						&lt;div class=&quot;fixed-column&quot; style=&quot;&quot;&gt;
 							&lt;div class=&quot;container&quot; style=&quot;font-family:monospace; background-color:#4d4d4d; padding:20px;&quot;&gt;
 								&lt;span style=&quot;color:#E4F2FD&quot;&gt;&amp;lt;div class=&lt;span style=&quot;color:#fff400;&quot;&gt;&quot;unit two-columns same-height&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
-								&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color:#E4F2FD&quot;&gt;&amp;lt;div class=&lt;span style=&quot;color:#fff400&quot;&gt;&quot;fixed-left-column&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
+								&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color:#E4F2FD&quot;&gt;&amp;lt;div class=&lt;span style=&quot;color:#fff400&quot;&gt;&quot;fixed-column&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
 								&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color:#FFFFFF;&quot;&gt;Fixed width content&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
 								&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color:#E4F2FD&quot;&gt;&amp;lt;/div&gt;&lt;br /&gt;
 								&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color:#E4F2FD&quot;&gt;&amp;lt;div class=&lt;span style=&quot;color:#fff400&quot;&gt;&quot;elastic-column&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
@@ -117,6 +115,17 @@
 							&lt;div class=&quot;container full-height&quot; style=&quot;padding-right:5px;&quot;&gt;
 								&lt;div class=&quot;container&quot; style=&quot;border-top: dotted 1px #90ACC2;&quot;&gt;
 									&lt;h3&gt;Challenge&lt;/h3&gt;
+									&lt;div class=&quot;unit&quot;&gt;
+										&lt;h4&gt;Building a Grid System with Elastic&lt;/h4&gt;
+										&lt;p&gt;Currently most CSS Frameworks are designed on the basis of a grid system.
+										Elastic is a more freestyle framework, so we will try to make a grid system
+										with Elastic 1.2&lt;/p&gt;
+									&lt;/div&gt;
+									&lt;div class=&quot;unit&quot;&gt;
+										&lt;h4&gt;Building a Widget&lt;/h4&gt;
+										&lt;p&gt;Elastic seems to be a framework for page layout, but there is more.
+										So we eill build a gallery widget with Elastic&lt;/p&gt;
+									&lt;/div&gt;
 								&lt;/div&gt;
 							&lt;/div&gt;
 						&lt;/div&gt;
@@ -124,13 +133,22 @@
 							&lt;div class=&quot;container full-height&quot; style=&quot;padding-left: 5px; padding-right: 5px;&quot;&gt;
 								&lt;div class=&quot;container&quot; style=&quot;border-top: dotted 1px #90ACC2;&quot;&gt;
 									&lt;h3&gt;News&lt;/h3&gt;
+									&lt;div class=&quot;unit&quot;&gt;
+										Elastic 1.2.1 Released: This is a bug fix release
+										Elastic 1.2 Released: Lots of new features
+									&lt;/div&gt;
 								&lt;/div&gt;
 							&lt;/div&gt;
 						&lt;/div&gt;
 						&lt;div class=&quot;column&quot;&gt;
 							&lt;div class=&quot;container full-height&quot; style=&quot;padding-left: 5px;&quot;&gt;
 								&lt;div class=&quot;container&quot; style=&quot;border-top: dotted 1px #90ACC2;&quot;&gt;
-									&lt;h3&gt;News&lt;/h3&gt;
+									&lt;h3&gt;Tips and Tricks&lt;/h3&gt;
+									&lt;div class=&quot;unit&quot;&gt;
+										Elastic class unit:
+										its the main class in the framework, reserved, only for internal usage
+										and its the begining of every building block of a layout
+									&lt;/div&gt;
 								&lt;/div&gt;
 							&lt;/div&gt;
 						&lt;/div&gt;</diff>
      <filename>doc/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,19 +1,13 @@
 
 /* Grade A browser clearfix */
-.two-columns:after, 
-.three-columns:after, 
-.four-columns:after, 
 .fixed-column:after,
-.fixed-left-column:after,
-.fixed-right-column:after,
-.fixed-center-column:after,
 .elastic-column:after,
 .column:after, 
 .unit:after, 
 .container:after, 
 .clearfix:after
 {
-	content    : &quot;.&quot;;
+	content    : &quot; &quot;;
 	display    : block;
 	height     : 0;
 	clear      : both;
@@ -21,13 +15,7 @@
 }
 
 /* msie6 clearfix */
-.two-columns, 
-.three-columns, 
-.four-columns, 
 .fixed-column,
-.fixed-left-column,
-.fixed-right-column,
-.fixed-center-column,
 .elastic-column,
 .column, 
 .unit, 
@@ -46,12 +34,7 @@
 
 .column,
 .elastic-column,
-.fixed-column,
-.fixed-left-column,
-.elastic-left-column,
-.fixed-right-column,
-.elastic-right-column,
-.fixed-center-column
+.fixed-column
 {
 	float : left;
 }</diff>
      <filename>grid.css</filename>
    </modified>
    <modified>
      <diff>@@ -15,11 +15,10 @@
 */
 (function($){
 	var CStyle = function (element, pseudoElement) {
-		if (window.getComputedStyle) {
+		if (window.getComputedStyle){
 			return getComputedStyle(element, pseudoElement);
 		}
-		else
-		{
+		else{
 			return element.currentStyle;
 		}
 	};
@@ -44,23 +43,18 @@
 		egcl = egnl = 0;
 		 
 		econs = $.find('.two-columns, .three-columns, .four-columns, .auto-columns', context);
-		//console.log(econs);
 		for(i = 0, il = econs.length; i &lt; il; i++){
 			econ = econs[i];
-			//console.log(econ)
 			econclass = econ.className;
-			if(     econclass.indexOf('two-columns')   &gt; -1){  egml = 2; }
-			else if(econclass.indexOf('three-columns') &gt; -1){  egml = 3; }
-			else if(econclass.indexOf('four-columns')  &gt; -1 ){ egml = 4; }
-			else if(econclass.indexOf('auto-columns')  &gt; -1 ){ egml = $.find('.column', econ).length;
-				//console.log($.find('.column', econ))
+			if(     econclass.indexOf('two-columns')   &gt; -1){ egml = 2; }
+			else if(econclass.indexOf('three-columns') &gt; -1){ egml = 3; }
+			else if(econclass.indexOf('four-columns')  &gt; -1){ egml = 4; }
+			else if(econclass.indexOf('auto-columns')  &gt; -1){ egml = $.find('.column', econ).length;
 				if(egreg.test(econclass)){ egml = Number(RegExp.$2);}
-				//console.log(egml)
 			}
-			
+			else{continue;}
 			econ  = $.find('&gt; .container', econs[i])[0] || econ;
 			ecw   = Math.round( width(econ) / egml);
-			//console.log(ecw)
 			ecols = $.find('&gt; .column, &gt; .fixed-column, &gt; .elastic-column', econ);
 			for(j = 0, jl = ecols.length; j &lt; jl; j++){
 				efcs  = [];
@@ -71,22 +65,20 @@
 				escol = 1;
 				if(esreg.test(ecol.className)){escol = Number(RegExp.$2);}
 				ecol.escol = escol;
-				//console.log(ecol.escol)
 				egnl += escol;
 				
 				if(egnl == egml || j == (jl - 1)){ eg.push(ecol); egcl = 0;     rp = 1;}
-				else if(     egnl &lt;  egml)              { eg.push(ecol); egcl = egnl;}
-				else if(egnl &gt;  egml)              {                egcl = escol; rp = 1; ig = 1;}
+				else if(egnl &lt;  egml)            { eg.push(ecol); egcl = egnl;}
+				else if(egnl &gt;  egml)            {                egcl = escol; rp = 1; ig = 1;}
 				
 				if(rp){
 					for(k = 0, kl = eg.length; k &lt; kl; k++){
 						ec      = eg[k];
 						ecclass = ec.className;
-						if(ecclass.indexOf('fixed-') &gt; -1)       { efcs.push(ec); efcsw += width(ec); }
+						if(     ecclass.indexOf('fixed-')   &gt; -1){ efcs.push(ec); efcsw += width(ec); }
 						else if(ecclass.indexOf('elastic-') &gt; -1){ eecs.push(ec); }
 						else                                     { ecs.push(ec); ec.style.width = '10px'; ec.style.width = (ecw * ec.escol) + 'px'; ecsw += width(ec); }
 					}
-					
 					ll = eecs.length;
 					if(ll &gt; 0){
 						eecw  = Math.round( ( width(econ) - ( ecsw + efcsw ) ) / ll);
@@ -102,11 +94,9 @@
 					eg = [];
 					egnl = 0;
 				}
-				
 				if(ig){eg = [ecol];}
 			}
 		}
-		
 		for(i in Elastic.helpers){Elastic.helpers[i](context);}
 	};
 	
@@ -186,17 +176,3 @@ jQuery(window).bind('load', function(){
 	});
 	jQuery(document).bind('elastic', Elastic.refresh);
 });
-
-/*
-jQuery(function(){
-	Elastic();
-	jQuery(document).bind('elastic', Elastic.refresh);
-	jQuery(window).bind('resize', function(){
-		Elastic.refresh();
-	});
-	
-	if(!jQuery.browser.msie){
-		jQuery(window).bind('load', Elastic.refresh)
-	}
-});
-*/</diff>
      <filename>helpers_jquery/engine.js</filename>
    </modified>
    <modified>
      <filename>helpers_jquery/extensions.js</filename>
    </modified>
    <modified>
      <filename>helpers_jquery/jquery.js</filename>
    </modified>
    <modified>
      <filename>helpers_jquery/ui.js</filename>
    </modified>
    <modified>
      <filename>test/test.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7636adee4d63b9c85f0f7e40985ee4f2bcca07e7</id>
    </parent>
  </parents>
  <author>
    <name>fernando</name>
    <email>trasvina@gmail.com</email>
  </author>
  <url>http://github.com/azendal/elastic/commit/49dbace7e811fa1061f4fb131c44183641626e8a</url>
  <id>49dbace7e811fa1061f4fb131c44183641626e8a</id>
  <committed-date>2009-04-27T08:56:34-07:00</committed-date>
  <authored-date>2009-04-27T08:56:34-07:00</authored-date>
  <message>add: minified package on production
improve: grid.css</message>
  <tree>8edd7ed2531cf4b90ef1993ce90ea66734c950e3</tree>
  <committer>
    <name>fernando</name>
    <email>trasvina@gmail.com</email>
  </committer>
</commit>
