Permalink
Browse files

bump version

  • Loading branch information...
1 parent 86c02b7 commit 487c6026d08c047ad10f58a5d406b555c6dc23c4 @kristianmandrup committed Sep 3, 2012
Showing with 46 additions and 5 deletions.
  1. +1 −1 VERSION
  2. +45 −4 vendor/assets/stylesheets/flex-layout.scss
View
@@ -1 +1 @@
-0.1.3
+0.1.4
@@ -7,17 +7,34 @@ hbox and vbox classes */
@include box-orient(horizontal);
@include box-align(stretch);
}
+
+.hbox {
+ @include hbox();
+
+ > * {
+ @include hbox-item();
+ }
+}
@mixin hbox-item() {
@include box-flex(0);
display: block;
}
+
@mixin vbox() {
@include display-box;
@include box-orient(vertical);
@include box-align(stretch);
}
+
+.vbox {
+ @include vbox();
+
+ > * {
+ @include vbox-item();
+ }
+}
@mixin vbox-item {
@include box-flex(0);
@@ -27,18 +44,42 @@ hbox and vbox classes */
@mixin flex-reverse() {
@include box-direction(reverse);
}
+
+.flex-reverse {
+ @include flex-reverse()
+}
+
+@mixin flex-box($size: 1) {
+ @include box-flex($size);
+}
@mixin flex-spacer($size: 1)
@include flex-box($size);
}
-
-@mixin flex-box($size: 1) {
- @include box-flex($size);
+
+@for $i in 1 through 12 {
+ .flex-spacer#{$i} {
+ @include flex-spacer(#{$i});
+ }
+
+ .flex-box#{$i} {
+ @include flex-box(#{$i});
+ }
}
-
+
@mixin flex-group($size) {
@include box-flex-group($size);
}
+
+@for $i in 1 through 3 {
+ .flex-group#{$i} {
+ @include flex-group(#{$i});
+ }
+}
+
+@mixin flex-pack($pack) {
+ @include box-pack($pack);
+}
@mixin flex-start() {
@include box-pack(start);

0 comments on commit 487c602

Please sign in to comment.