Skip to content
Browse files

patch version

  • Loading branch information...
1 parent 023ddfd commit 6e3fa4d639f0bcbf3eccdc6819fcfb13ff2cc82c @kristianmandrup committed Sep 3, 2012
Showing with 25 additions and 15 deletions.
  1. +1 −1 VERSION
  2. +24 −14 vendor/assets/stylesheets/flex-layout.scss
View
2 VERSION
@@ -1 +1 @@
-0.1.4
+0.1.4.1
View
38 vendor/assets/stylesheets/flex-layout.scss
@@ -1,46 +1,50 @@
/* From: http://infrequently.org/2009/08/css-3-progress/
-hbox and vbox classes */
+/* hbox */
@mixin hbox() {
@include display-box;
@include box-orient(horizontal);
@include box-align(stretch);
}
+@mixin hbox-item() {
+ @include box-flex(0);
+ display: block;
+}
+
.hbox {
@include hbox();
> * {
@include hbox-item();
}
}
-
-@mixin hbox-item() {
- @include box-flex(0);
- display: block;
-}
+/* vbox */
@mixin vbox() {
@include display-box;
@include box-orient(vertical);
@include box-align(stretch);
}
+@mixin vbox-item() {
+ @include box-flex(0);
+ display: block;
+}
+
+
.vbox {
@include vbox();
> * {
@include vbox-item();
}
}
-
-@mixin vbox-item {
- @include box-flex(0);
- display: block;
-}
-
+
+/* reverse direction */
+
@mixin flex-reverse() {
@include box-direction(reverse);
}
@@ -49,15 +53,17 @@ hbox and vbox classes */
@include flex-reverse()
}
-@mixin flex-box($size: 1) {
+/* flex-box and spacer */
+
+@mixin flex-box($size: 0) {
@include box-flex($size);
}
@mixin flex-spacer($size: 1)
@include flex-box($size);
}
-@for $i in 1 through 12 {
+@for $i in 0 through 12 {
.flex-spacer#{$i} {
@include flex-spacer(#{$i});
}
@@ -66,6 +72,8 @@ hbox and vbox classes */
@include flex-box(#{$i});
}
}
+
+/* flex-group */
@mixin flex-group($size) {
@include box-flex-group($size);
@@ -77,6 +85,8 @@ hbox and vbox classes */
}
}
+/* flex pack */
+
@mixin flex-pack($pack) {
@include box-pack($pack);
}

0 comments on commit 6e3fa4d

Please sign in to comment.
Something went wrong with that request. Please try again.