Permalink
Browse files

Syntax refactoring. Added .unit-right for better compatibility with f…

…loat width
  • Loading branch information...
1 parent d4c6914 commit d2eb70286ab75866e4f77decf06a6bd6ca2aefb1 @iurevych iurevych committed May 13, 2011
Showing with 74 additions and 14 deletions.
  1. +74 −14 core/grid/grids.css
View
@@ -1,14 +1,74 @@
-.line:after,.lastUnit:after{clear:both;display:block;visibility:hidden;overflow:hidden;height:0 !important;line-height:0;font-size:xx-large;content:" x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";}
-.line{*zoom:1;}
-.unit{float:left;}
-.size1of1{float:none;}
-.size1of2{width:50%;}
-.size1of3{width:33.33333%;}
-.size2of3{width:66.66666%;}
-.size1of4{width:25%;}
-.size3of4{width:75%;}
-.size1of5{width:20%;}
-.size2of5{width:40%;}
-.size3of5{width:60%;}
-.size4of5{width:80%;}
-.lastUnit{display:table-cell;float:none;width:auto;*display:block;*zoom:1;_position:relative;_left:-3px;_margin-right:-3px;}
+.line:after,
+.lastUnit:after {
+ clear: both;
+ display: block;
+ visibility: hidden;
+ overflow: hidden;
+ height: 0 !important;
+ line-height: 0;
+ font-size: xx-large;
+ content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
+}
+
+.line {
+ *zoom: 1;
+}
+
+.unit {
+ float: left;
+}
+
+.unit-right {
+ float: right;
+}
+
+.size1of1 {
+ float: none;
+}
+
+.size1of2 {
+ width: 50%;
+}
+
+.size1of3 {
+ width: 33.33333%;
+}
+
+.size2of3 {
+ width: 66.66666%;
+}
+
+.size1of4 {
+ width: 25%;
+}
+
+.size3of4 {
+ width: 75%;
+}
+
+.size1of5 {
+ width: 20%;
+}
+
+.size2of5 {
+ width: 40%;
+}
+
+.size3of5 {
+ width: 60%;
+}
+
+.size4of5 {
+ width: 80%;
+}
+
+.lastUnit {
+ display: table-cell;
+ float: none;
+ width: auto;
+ *display: block;
+ *zoom: 1;
+ _position: relative;
+ _left: -3px;
+ _margin-right: -3px;
+}

0 comments on commit d2eb702

Please sign in to comment.