Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

patch version

  • Loading branch information...
commit 6e3fa4d639f0bcbf3eccdc6819fcfb13ff2cc82c 1 parent 023ddfd
@kristianmandrup authored
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,6 +1,6 @@
/* From: http://infrequently.org/2009/08/css-3-progress/
-hbox and vbox classes */
+/* hbox */
@mixin hbox() {
@include display-box;
@@ -8,6 +8,11 @@ hbox and vbox classes */
@include box-align(stretch);
}
+@mixin hbox-item() {
+ @include box-flex(0);
+ display: block;
+}
+
.hbox {
@include hbox();
@@ -15,12 +20,8 @@ hbox and vbox classes */
@include hbox-item();
}
}
-
-@mixin hbox-item() {
- @include box-flex(0);
- display: block;
-}
+/* vbox */
@mixin vbox() {
@include display-box;
@@ -28,6 +29,12 @@ hbox and vbox classes */
@include box-align(stretch);
}
+@mixin vbox-item() {
+ @include box-flex(0);
+ display: block;
+}
+
+
.vbox {
@include vbox();
@@ -35,12 +42,9 @@ hbox and vbox classes */
@include vbox-item();
}
}
-
-@mixin vbox-item {
- @include box-flex(0);
- display: block;
-}
-
+
+/* reverse direction */
+
@mixin flex-reverse() {
@include box-direction(reverse);
}
@@ -49,7 +53,9 @@ 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);
}
@@ -57,7 +63,7 @@ hbox and vbox classes */
@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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.