flexlayout-rails 0.1.4 → 0.1.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.4.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "flexlayout-rails"
8
- s.version = "0.1.4"
8
+ s.version = "0.1.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
@@ -1,6 +1,6 @@
1
1
  /* From: http://infrequently.org/2009/08/css-3-progress/
2
2
 
3
- hbox and vbox classes */
3
+ /* hbox */
4
4
 
5
5
  @mixin hbox() {
6
6
  @include display-box;
@@ -8,6 +8,11 @@ hbox and vbox classes */
8
8
  @include box-align(stretch);
9
9
  }
10
10
 
11
+ @mixin hbox-item() {
12
+ @include box-flex(0);
13
+ display: block;
14
+ }
15
+
11
16
  .hbox {
12
17
  @include hbox();
13
18
 
@@ -15,12 +20,8 @@ hbox and vbox classes */
15
20
  @include hbox-item();
16
21
  }
17
22
  }
18
-
19
- @mixin hbox-item() {
20
- @include box-flex(0);
21
- display: block;
22
- }
23
23
 
24
+ /* vbox */
24
25
 
25
26
  @mixin vbox() {
26
27
  @include display-box;
@@ -28,6 +29,12 @@ hbox and vbox classes */
28
29
  @include box-align(stretch);
29
30
  }
30
31
 
32
+ @mixin vbox-item() {
33
+ @include box-flex(0);
34
+ display: block;
35
+ }
36
+
37
+
31
38
  .vbox {
32
39
  @include vbox();
33
40
 
@@ -35,12 +42,9 @@ hbox and vbox classes */
35
42
  @include vbox-item();
36
43
  }
37
44
  }
38
-
39
- @mixin vbox-item {
40
- @include box-flex(0);
41
- display: block;
42
- }
43
-
45
+
46
+ /* reverse direction */
47
+
44
48
  @mixin flex-reverse() {
45
49
  @include box-direction(reverse);
46
50
  }
@@ -49,7 +53,9 @@ hbox and vbox classes */
49
53
  @include flex-reverse()
50
54
  }
51
55
 
52
- @mixin flex-box($size: 1) {
56
+ /* flex-box and spacer */
57
+
58
+ @mixin flex-box($size: 0) {
53
59
  @include box-flex($size);
54
60
  }
55
61
 
@@ -57,7 +63,7 @@ hbox and vbox classes */
57
63
  @include flex-box($size);
58
64
  }
59
65
 
60
- @for $i in 1 through 12 {
66
+ @for $i in 0 through 12 {
61
67
  .flex-spacer#{$i} {
62
68
  @include flex-spacer(#{$i});
63
69
  }
@@ -66,6 +72,8 @@ hbox and vbox classes */
66
72
  @include flex-box(#{$i});
67
73
  }
68
74
  }
75
+
76
+ /* flex-group */
69
77
 
70
78
  @mixin flex-group($size) {
71
79
  @include box-flex-group($size);
@@ -77,6 +85,8 @@ hbox and vbox classes */
77
85
  }
78
86
  }
79
87
 
88
+ /* flex pack */
89
+
80
90
  @mixin flex-pack($pack) {
81
91
  @include box-pack($pack);
82
92
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexlayout-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -173,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  segments:
175
175
  - 0
176
- hash: 2360954479671718475
176
+ hash: 532827829922934951
177
177
  required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  none: false
179
179
  requirements: