zen-grids 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/stylesheets/zen/_grids.scss +33 -17
- data/templates/unit-tests/manifest.rb +2 -0
- data/templates/unit-tests/sass/zen-float.scss +26 -0
- data/templates/unit-tests/sass/zen-grid-flow-item.scss +6 -64
- data/templates/unit-tests/test-results/zen-float.css +17 -0
- data/templates/unit-tests/test-results/zen-grid-container.css +6 -6
- data/templates/unit-tests/test-results/zen-grid-flow-item.css +54 -18
- data/templates/unit-tests/test-results/zen-nested-container.css +0 -31
- data/zen-grids.gemspec +4 -2
- metadata +6 -4
data/stylesheets/zen/_grids.scss
CHANGED
@@ -66,7 +66,6 @@ $zen-reverse-all-floats: false !default;
|
|
66
66
|
// nested grid. It must be applied after the zen-grid-item() mixin.
|
67
67
|
//
|
68
68
|
@mixin zen-nested-container () {
|
69
|
-
@include zen-grid-container;
|
70
69
|
padding: {
|
71
70
|
left: 0;
|
72
71
|
right: 0;
|
@@ -126,8 +125,10 @@ $zen-reverse-all-floats: false !default;
|
|
126
125
|
}
|
127
126
|
|
128
127
|
//
|
129
|
-
//
|
130
|
-
//
|
128
|
+
// Applies a standard set of properites to all grid items in the layout.
|
129
|
+
//
|
130
|
+
// See the note about the $zen-auto-include-item-base and
|
131
|
+
// $zen-auto-include-flow-item-base variables for when to use this mixin.
|
131
132
|
//
|
132
133
|
// The mixin has the following optional parameters, but its better to use the
|
133
134
|
// $zen-gutter-width and $zen-box-sizing variables instead:
|
@@ -198,6 +199,21 @@ $zen-reverse-all-floats: false !default;
|
|
198
199
|
clear: $dir;
|
199
200
|
}
|
200
201
|
|
202
|
+
//
|
203
|
+
// Apply this to flow items that need to be floated.
|
204
|
+
//
|
205
|
+
@mixin zen-float (
|
206
|
+
$float-direction: $zen-float-direction,
|
207
|
+
$reverse-all-floats: $zen-reverse-all-floats
|
208
|
+
) {
|
209
|
+
// Determine the float direction.
|
210
|
+
$dir: $float-direction;
|
211
|
+
@if $reverse-all-floats {
|
212
|
+
$dir: zen-direction-flip($dir);
|
213
|
+
}
|
214
|
+
float: $dir;
|
215
|
+
}
|
216
|
+
|
201
217
|
//
|
202
218
|
// Apply this to an HTML item that is in the normal flow of a document to help
|
203
219
|
// align it to the grid. Set the $column-span to the number of columns that the
|
@@ -246,20 +262,6 @@ $zen-reverse-all-floats: false !default;
|
|
246
262
|
}
|
247
263
|
$rev: zen-direction-flip($dir);
|
248
264
|
|
249
|
-
// Ensure the HTML item either has a full gutter or no gutter on each side.
|
250
|
-
@if $alpha-gutter {
|
251
|
-
margin-#{$dir}: zen-half-gutter($gutter-width, $rev);
|
252
|
-
}
|
253
|
-
@else {
|
254
|
-
margin-#{$dir}: -(zen-half-gutter($gutter-width, $dir));
|
255
|
-
}
|
256
|
-
@if $omega-gutter {
|
257
|
-
margin-#{$rev}: zen-half-gutter($gutter-width, $dir);
|
258
|
-
}
|
259
|
-
@else {
|
260
|
-
margin-#{$rev}: -(zen-half-gutter($gutter-width, $rev));
|
261
|
-
}
|
262
|
-
|
263
265
|
// Calculate the item's width.
|
264
266
|
$width: zen-grid-item-width($column-span, $columns, $grid-width);
|
265
267
|
@if $box-sizing == content-box {
|
@@ -276,6 +278,20 @@ $zen-reverse-all-floats: false !default;
|
|
276
278
|
@if $auto-include-flow-item-base {
|
277
279
|
@include zen-grid-item-base($gutter-width, $box-sizing);
|
278
280
|
}
|
281
|
+
|
282
|
+
// Ensure the HTML item either has a full gutter or no gutter on each side.
|
283
|
+
padding-#{$dir}: 0;
|
284
|
+
@if $alpha-gutter {
|
285
|
+
margin-#{$dir}: $gutter-width;
|
286
|
+
}
|
287
|
+
$offset: ($columns - $column-span) * $gutter-width / $columns;
|
288
|
+
padding-#{$rev}: $offset;
|
289
|
+
@if $omega-gutter {
|
290
|
+
margin-#{$rev}: $gutter-width - $offset;
|
291
|
+
}
|
292
|
+
@else {
|
293
|
+
margin-#{$rev}: -($offset);
|
294
|
+
}
|
279
295
|
}
|
280
296
|
|
281
297
|
|
@@ -5,6 +5,7 @@ stylesheet 'sass/function-zen-grid-item-width.scss', :media => 'all', :to => 'fu
|
|
5
5
|
stylesheet 'sass/function-zen-half-gutter.scss', :media => 'all', :to => 'function-zen-half-gutter.scss'
|
6
6
|
stylesheet 'sass/function-zen-unit-width.scss', :media => 'all', :to => 'function-zen-unit-width.scss'
|
7
7
|
stylesheet 'sass/zen-clear.scss', :media => 'all', :to => 'zen-clear.scss'
|
8
|
+
stylesheet 'sass/zen-float.scss', :media => 'all', :to => 'zen-float.scss'
|
8
9
|
stylesheet 'sass/zen-grid-container.scss', :media => 'all', :to => 'zen-grid-container.scss'
|
9
10
|
stylesheet 'sass/zen-grid-flow-item.scss', :media => 'all', :to => 'zen-grid-flow-item.scss'
|
10
11
|
stylesheet 'sass/zen-grid-item-base.scss', :media => 'all', :to => 'zen-grid-item-base.scss'
|
@@ -16,6 +17,7 @@ file 'test-results/function-zen-grid-item-width.css'
|
|
16
17
|
file 'test-results/function-zen-half-gutter.css'
|
17
18
|
file 'test-results/function-zen-unit-width.css'
|
18
19
|
file 'test-results/zen-clear.css'
|
20
|
+
file 'test-results/zen-float.css'
|
19
21
|
file 'test-results/zen-grid-container.css'
|
20
22
|
file 'test-results/zen-grid-flow-item.css'
|
21
23
|
file 'test-results/zen-grid-item-base.css'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* @file
|
3
|
+
* Test zen-float()
|
4
|
+
*/
|
5
|
+
|
6
|
+
@import "zen";
|
7
|
+
|
8
|
+
#test-zen-float {
|
9
|
+
/* Test zen-float() */
|
10
|
+
@include zen-float();
|
11
|
+
|
12
|
+
/* Test zen-float() with $zen-float-direction: right */
|
13
|
+
$zen-float-direction: right;
|
14
|
+
@include zen-float();
|
15
|
+
$zen-float-direction: left;
|
16
|
+
|
17
|
+
/* Test zen-float(left) */
|
18
|
+
@include zen-float(left);
|
19
|
+
|
20
|
+
/* Test zen-float(left, $reverse-all-floats: TRUE) */
|
21
|
+
@include zen-float(left, $reverse-all-floats: TRUE);
|
22
|
+
|
23
|
+
/* Test zen-float(left) with: $zen-reverse-all-floats: TRUE; */
|
24
|
+
$zen-reverse-all-floats: TRUE;
|
25
|
+
@include zen-float(left);
|
26
|
+
}
|
@@ -34,6 +34,12 @@
|
|
34
34
|
@include zen-grid-flow-item(1, 4, $omega-gutter: false);
|
35
35
|
$zen-gutter-width: 20px;
|
36
36
|
|
37
|
+
/* Test zen-grid-flow-item(3, 4) with 20px gutter and $alpha-gutter: true */
|
38
|
+
@include zen-grid-flow-item(3, 4, $alpha-gutter: true);
|
39
|
+
|
40
|
+
/* Test zen-grid-flow-item(3, 4) with 20px gutter and $omega-gutter: false */
|
41
|
+
@include zen-grid-flow-item(3, 4, $omega-gutter: false);
|
42
|
+
|
37
43
|
/* Test zen-grid-flow-item(1, 4) with 15px gutter, $zen-float-direction: right and $alpha-gutter: true */
|
38
44
|
$zen-gutter-width: 15px;
|
39
45
|
$zen-float-direction: right;
|
@@ -52,67 +58,3 @@
|
|
52
58
|
$zen-auto-include-flow-item-base: false;
|
53
59
|
@include zen-grid-flow-item(1, 4);
|
54
60
|
}
|
55
|
-
|
56
|
-
|
57
|
-
@mixin zen-grid-flow-item (
|
58
|
-
$column-span,
|
59
|
-
$parent-column-count: false,
|
60
|
-
$alpha-gutter: false,
|
61
|
-
$omega-gutter: true,
|
62
|
-
$flow-direction: $zen-float-direction,
|
63
|
-
$column-count: $zen-column-count,
|
64
|
-
$gutter-width: $zen-gutter-width,
|
65
|
-
$grid-width: $zen-grid-width,
|
66
|
-
$box-sizing: $zen-box-sizing,
|
67
|
-
$reverse-all-flows: $zen-reverse-all-floats,
|
68
|
-
$auto-include-flow-item-base: $zen-auto-include-flow-item-base
|
69
|
-
) {
|
70
|
-
|
71
|
-
$columns: $column-count;
|
72
|
-
@if unit($grid-width) == "%" {
|
73
|
-
@if $parent-column-count == false {
|
74
|
-
@warn "For responsive layouts with a percentage-based grid width, you must set the $column-count to the number of columns that the parent element spans.";
|
75
|
-
}
|
76
|
-
@else {
|
77
|
-
$columns: $parent-column-count;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
$dir: $flow-direction;
|
82
|
-
@if $reverse-all-flows {
|
83
|
-
$dir: zen-direction-flip($dir);
|
84
|
-
}
|
85
|
-
$rev: zen-direction-flip($dir);
|
86
|
-
|
87
|
-
// Ensure the HTML item either has a full gutter or no gutter on each side.
|
88
|
-
@if $alpha-gutter {
|
89
|
-
margin-#{$dir}: zen-half-gutter($gutter-width, $rev);
|
90
|
-
}
|
91
|
-
@else {
|
92
|
-
margin-#{$dir}: -(zen-half-gutter($gutter-width, $dir));
|
93
|
-
}
|
94
|
-
@if $omega-gutter {
|
95
|
-
margin-#{$rev}: zen-half-gutter($gutter-width, $dir);
|
96
|
-
}
|
97
|
-
@else {
|
98
|
-
margin-#{$rev}: -(zen-half-gutter($gutter-width, $rev));
|
99
|
-
}
|
100
|
-
|
101
|
-
// Calculate the unit width.
|
102
|
-
$unit-width: $grid-width / $columns;
|
103
|
-
$width: $column-span * $unit-width;
|
104
|
-
@if $box-sizing == content-box {
|
105
|
-
@if not comparable($width, $gutter-width) {
|
106
|
-
$units-gutter: unit($gutter-width);
|
107
|
-
$units-grid: unit($grid-width);
|
108
|
-
@warn "The layout cannot be calculated correctly; when using box-sizing: content-box, the units of the gutter (#{$units-gutter} did not match the units of the grid width (#{$units-grid}).";
|
109
|
-
}
|
110
|
-
$width: $width - $gutter-width;
|
111
|
-
}
|
112
|
-
width: $width;
|
113
|
-
|
114
|
-
// Auto-apply the unit base mixin.
|
115
|
-
@if $auto-include-flow-item-base {
|
116
|
-
@include zen-grid-item-base($gutter-width, $box-sizing);
|
117
|
-
}
|
118
|
-
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* @file
|
3
|
+
* Test zen-float()
|
4
|
+
*/
|
5
|
+
/* line 8, ../sass/zen-float.scss */
|
6
|
+
#test-zen-float {
|
7
|
+
/* Test zen-float() */
|
8
|
+
float: left;
|
9
|
+
/* Test zen-float() with $zen-float-direction: right */
|
10
|
+
float: right;
|
11
|
+
/* Test zen-float(left) */
|
12
|
+
float: left;
|
13
|
+
/* Test zen-float(left, $reverse-all-floats: TRUE) */
|
14
|
+
float: right;
|
15
|
+
/* Test zen-float(left) with: $zen-reverse-all-floats: TRUE; */
|
16
|
+
float: right;
|
17
|
+
}
|
@@ -6,12 +6,12 @@
|
|
6
6
|
#test-zen-grid-container {
|
7
7
|
/* Test zen-grid-container() */
|
8
8
|
}
|
9
|
-
/* line 52,
|
9
|
+
/* line 52, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
|
10
10
|
#test-zen-grid-container:before, #test-zen-grid-container:after {
|
11
11
|
content: "";
|
12
12
|
display: table;
|
13
13
|
}
|
14
|
-
/* line 56,
|
14
|
+
/* line 56, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
|
15
15
|
#test-zen-grid-container:after {
|
16
16
|
clear: both;
|
17
17
|
}
|
@@ -22,12 +22,12 @@
|
|
22
22
|
*position: relative;
|
23
23
|
*zoom: 1;
|
24
24
|
}
|
25
|
-
/* line 52,
|
25
|
+
/* line 52, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
|
26
26
|
#test-zen-grid-container-2:before, #test-zen-grid-container-2:after {
|
27
27
|
content: "";
|
28
28
|
display: table;
|
29
29
|
}
|
30
|
-
/* line 56,
|
30
|
+
/* line 56, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
|
31
31
|
#test-zen-grid-container-2:after {
|
32
32
|
clear: both;
|
33
33
|
}
|
@@ -38,12 +38,12 @@
|
|
38
38
|
*position: relative;
|
39
39
|
*zoom: 1;
|
40
40
|
}
|
41
|
-
/* line 52,
|
41
|
+
/* line 52, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
|
42
42
|
#test-zen-grid-container-3:before, #test-zen-grid-container-3:after {
|
43
43
|
content: "";
|
44
44
|
display: table;
|
45
45
|
}
|
46
|
-
/* line 56,
|
46
|
+
/* line 56, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
|
47
47
|
#test-zen-grid-container-3:after {
|
48
48
|
clear: both;
|
49
49
|
}
|
@@ -5,8 +5,6 @@
|
|
5
5
|
/* line 8, ../sass/zen-grid-flow-item.scss */
|
6
6
|
#test-zen-grid-flow-item {
|
7
7
|
/* Test zen-grid-flow-item(1) without setting $column-count */
|
8
|
-
margin-left: -10px;
|
9
|
-
margin-right: 10px;
|
10
8
|
width: 100%;
|
11
9
|
padding-left: 10px;
|
12
10
|
padding-right: 10px;
|
@@ -15,9 +13,10 @@
|
|
15
13
|
-ms-box-sizing: border-box;
|
16
14
|
box-sizing: border-box;
|
17
15
|
word-wrap: break-word;
|
16
|
+
padding-left: 0;
|
17
|
+
padding-right: 0px;
|
18
|
+
margin-right: 20px;
|
18
19
|
/* Test zen-grid-flow-item(1, 4) with 12 column grid and 20px gutter */
|
19
|
-
margin-left: -10px;
|
20
|
-
margin-right: 10px;
|
21
20
|
width: 25%;
|
22
21
|
padding-left: 10px;
|
23
22
|
padding-right: 10px;
|
@@ -26,9 +25,10 @@
|
|
26
25
|
-ms-box-sizing: border-box;
|
27
26
|
box-sizing: border-box;
|
28
27
|
word-wrap: break-word;
|
28
|
+
padding-left: 0;
|
29
|
+
padding-right: 15px;
|
30
|
+
margin-right: 5px;
|
29
31
|
/* Test zen-grid-flow-item(1, 4) with 15px gutter */
|
30
|
-
margin-left: -7px;
|
31
|
-
margin-right: 7px;
|
32
32
|
width: 25%;
|
33
33
|
padding-left: 7px;
|
34
34
|
padding-right: 8px;
|
@@ -37,9 +37,10 @@
|
|
37
37
|
-ms-box-sizing: border-box;
|
38
38
|
box-sizing: border-box;
|
39
39
|
word-wrap: break-word;
|
40
|
+
padding-left: 0;
|
41
|
+
padding-right: 11.25px;
|
42
|
+
margin-right: 3.75px;
|
40
43
|
/* Test zen-grid-flow-item(1, 4) with 15px gutter and $zen-float-direction: right */
|
41
|
-
margin-right: -7px;
|
42
|
-
margin-left: 7px;
|
43
44
|
width: 25%;
|
44
45
|
padding-left: 8px;
|
45
46
|
padding-right: 7px;
|
@@ -48,9 +49,10 @@
|
|
48
49
|
-ms-box-sizing: border-box;
|
49
50
|
box-sizing: border-box;
|
50
51
|
word-wrap: break-word;
|
52
|
+
padding-right: 0;
|
53
|
+
padding-left: 11.25px;
|
54
|
+
margin-left: 3.75px;
|
51
55
|
/* Test zen-grid-flow-item(1, 4) with 15px gutter and $alpha-gutter: true */
|
52
|
-
margin-left: 8px;
|
53
|
-
margin-right: 7px;
|
54
56
|
width: 25%;
|
55
57
|
padding-left: 7px;
|
56
58
|
padding-right: 8px;
|
@@ -59,9 +61,11 @@
|
|
59
61
|
-ms-box-sizing: border-box;
|
60
62
|
box-sizing: border-box;
|
61
63
|
word-wrap: break-word;
|
64
|
+
padding-left: 0;
|
65
|
+
margin-left: 15px;
|
66
|
+
padding-right: 11.25px;
|
67
|
+
margin-right: 3.75px;
|
62
68
|
/* Test zen-grid-flow-item(1, 4) with 15px gutter and $omega-gutter: false */
|
63
|
-
margin-left: -7px;
|
64
|
-
margin-right: -8px;
|
65
69
|
width: 25%;
|
66
70
|
padding-left: 7px;
|
67
71
|
padding-right: 8px;
|
@@ -70,9 +74,35 @@
|
|
70
74
|
-ms-box-sizing: border-box;
|
71
75
|
box-sizing: border-box;
|
72
76
|
word-wrap: break-word;
|
77
|
+
padding-left: 0;
|
78
|
+
padding-right: 11.25px;
|
79
|
+
margin-right: -11.25px;
|
80
|
+
/* Test zen-grid-flow-item(3, 4) with 20px gutter and $alpha-gutter: true */
|
81
|
+
width: 75%;
|
82
|
+
padding-left: 10px;
|
83
|
+
padding-right: 10px;
|
84
|
+
-moz-box-sizing: border-box;
|
85
|
+
-webkit-box-sizing: border-box;
|
86
|
+
-ms-box-sizing: border-box;
|
87
|
+
box-sizing: border-box;
|
88
|
+
word-wrap: break-word;
|
89
|
+
padding-left: 0;
|
90
|
+
margin-left: 20px;
|
91
|
+
padding-right: 5px;
|
92
|
+
margin-right: 15px;
|
93
|
+
/* Test zen-grid-flow-item(3, 4) with 20px gutter and $omega-gutter: false */
|
94
|
+
width: 75%;
|
95
|
+
padding-left: 10px;
|
96
|
+
padding-right: 10px;
|
97
|
+
-moz-box-sizing: border-box;
|
98
|
+
-webkit-box-sizing: border-box;
|
99
|
+
-ms-box-sizing: border-box;
|
100
|
+
box-sizing: border-box;
|
101
|
+
word-wrap: break-word;
|
102
|
+
padding-left: 0;
|
103
|
+
padding-right: 5px;
|
104
|
+
margin-right: -5px;
|
73
105
|
/* Test zen-grid-flow-item(1, 4) with 15px gutter, $zen-float-direction: right and $alpha-gutter: true */
|
74
|
-
margin-right: 8px;
|
75
|
-
margin-left: 7px;
|
76
106
|
width: 25%;
|
77
107
|
padding-left: 8px;
|
78
108
|
padding-right: 7px;
|
@@ -81,16 +111,22 @@
|
|
81
111
|
-ms-box-sizing: border-box;
|
82
112
|
box-sizing: border-box;
|
83
113
|
word-wrap: break-word;
|
114
|
+
padding-right: 0;
|
115
|
+
margin-right: 15px;
|
116
|
+
padding-left: 11.25px;
|
117
|
+
margin-left: 3.75px;
|
84
118
|
/* Test zen-grid-flow-item(1, 4) with $zen-box-sizing: content-box and 10% gutter */
|
85
|
-
margin-left: -5%;
|
86
|
-
margin-right: 5%;
|
87
119
|
width: 15%;
|
88
120
|
padding-left: 5%;
|
89
121
|
padding-right: 5%;
|
90
122
|
border: 0 !important;
|
91
123
|
word-wrap: break-word;
|
124
|
+
padding-left: 0;
|
125
|
+
padding-right: 7.5%;
|
126
|
+
margin-right: 2.5%;
|
92
127
|
/* Test zen-grid-flow-item(1, 4) with $zen-auto-include-flow-item-base: false */
|
93
|
-
margin-left: -10px;
|
94
|
-
margin-right: 10px;
|
95
128
|
width: 25%;
|
129
|
+
padding-left: 0;
|
130
|
+
padding-right: 15px;
|
131
|
+
margin-right: 5px;
|
96
132
|
}
|
@@ -8,48 +8,17 @@
|
|
8
8
|
padding-left: 0;
|
9
9
|
padding-right: 0;
|
10
10
|
}
|
11
|
-
/* line 52, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zen-grids-1.1/stylesheets/zen/_grids.scss */
|
12
|
-
#test-zen-nested-container:before, #test-zen-nested-container:after {
|
13
|
-
content: "";
|
14
|
-
display: table;
|
15
|
-
}
|
16
|
-
/* line 56, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zen-grids-1.1/stylesheets/zen/_grids.scss */
|
17
|
-
#test-zen-nested-container:after {
|
18
|
-
clear: both;
|
19
|
-
}
|
20
11
|
|
21
12
|
/* line 13, ../sass/zen-nested-container.scss */
|
22
13
|
#test-zen-nested-container-2 {
|
23
14
|
/* Test zen-nested-container() with $legacy-support-for-ie7: true */
|
24
|
-
*position: relative;
|
25
|
-
*zoom: 1;
|
26
15
|
padding-left: 0;
|
27
16
|
padding-right: 0;
|
28
17
|
}
|
29
|
-
/* line 52, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zen-grids-1.1/stylesheets/zen/_grids.scss */
|
30
|
-
#test-zen-nested-container-2:before, #test-zen-nested-container-2:after {
|
31
|
-
content: "";
|
32
|
-
display: table;
|
33
|
-
}
|
34
|
-
/* line 56, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zen-grids-1.1/stylesheets/zen/_grids.scss */
|
35
|
-
#test-zen-nested-container-2:after {
|
36
|
-
clear: both;
|
37
|
-
}
|
38
18
|
|
39
19
|
/* line 20, ../sass/zen-nested-container.scss */
|
40
20
|
#test-zen-nested-container-3 {
|
41
21
|
/* Test zen-nested-container() with $legacy-support-for-ie6: true */
|
42
|
-
*position: relative;
|
43
|
-
*zoom: 1;
|
44
22
|
padding-left: 0;
|
45
23
|
padding-right: 0;
|
46
24
|
}
|
47
|
-
/* line 52, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zen-grids-1.1/stylesheets/zen/_grids.scss */
|
48
|
-
#test-zen-nested-container-3:before, #test-zen-nested-container-3:after {
|
49
|
-
content: "";
|
50
|
-
display: table;
|
51
|
-
}
|
52
|
-
/* line 56, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zen-grids-1.1/stylesheets/zen/_grids.scss */
|
53
|
-
#test-zen-nested-container-3:after {
|
54
|
-
clear: both;
|
55
|
-
}
|
data/zen-grids.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = 'http://zengrids.com'
|
10
10
|
s.rubyforge_project =
|
11
11
|
|
12
|
-
s.version = '1.
|
13
|
-
s.date = '2012-04
|
12
|
+
s.version = '1.2'
|
13
|
+
s.date = '2012-05-04'
|
14
14
|
|
15
15
|
s.authors = ['John Albin Wilkins']
|
16
16
|
s.email = 'virtually.johnalbin@gmail.com'
|
@@ -36,6 +36,7 @@ Gem::Specification.new do |s|
|
|
36
36
|
templates/unit-tests/sass/function-zen-half-gutter.scss
|
37
37
|
templates/unit-tests/sass/function-zen-unit-width.scss
|
38
38
|
templates/unit-tests/sass/zen-clear.scss
|
39
|
+
templates/unit-tests/sass/zen-float.scss
|
39
40
|
templates/unit-tests/sass/zen-grid-container.scss
|
40
41
|
templates/unit-tests/sass/zen-grid-flow-item.scss
|
41
42
|
templates/unit-tests/sass/zen-grid-item-base.scss
|
@@ -46,6 +47,7 @@ Gem::Specification.new do |s|
|
|
46
47
|
templates/unit-tests/test-results/function-zen-half-gutter.css
|
47
48
|
templates/unit-tests/test-results/function-zen-unit-width.css
|
48
49
|
templates/unit-tests/test-results/zen-clear.css
|
50
|
+
templates/unit-tests/test-results/zen-float.css
|
49
51
|
templates/unit-tests/test-results/zen-grid-container.css
|
50
52
|
templates/unit-tests/test-results/zen-grid-flow-item.css
|
51
53
|
templates/unit-tests/test-results/zen-grid-item-base.css
|
metadata
CHANGED
@@ -4,8 +4,8 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 1
|
7
|
-
-
|
8
|
-
version: "1.
|
7
|
+
- 2
|
8
|
+
version: "1.2"
|
9
9
|
platform: ruby
|
10
10
|
authors:
|
11
11
|
- John Albin Wilkins
|
@@ -13,7 +13,7 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2012-04
|
16
|
+
date: 2012-05-04 00:00:00 +08:00
|
17
17
|
default_executable:
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
@@ -56,6 +56,7 @@ files:
|
|
56
56
|
- templates/unit-tests/sass/function-zen-half-gutter.scss
|
57
57
|
- templates/unit-tests/sass/function-zen-unit-width.scss
|
58
58
|
- templates/unit-tests/sass/zen-clear.scss
|
59
|
+
- templates/unit-tests/sass/zen-float.scss
|
59
60
|
- templates/unit-tests/sass/zen-grid-container.scss
|
60
61
|
- templates/unit-tests/sass/zen-grid-flow-item.scss
|
61
62
|
- templates/unit-tests/sass/zen-grid-item-base.scss
|
@@ -66,6 +67,7 @@ files:
|
|
66
67
|
- templates/unit-tests/test-results/function-zen-half-gutter.css
|
67
68
|
- templates/unit-tests/test-results/function-zen-unit-width.css
|
68
69
|
- templates/unit-tests/test-results/zen-clear.css
|
70
|
+
- templates/unit-tests/test-results/zen-float.css
|
69
71
|
- templates/unit-tests/test-results/zen-grid-container.css
|
70
72
|
- templates/unit-tests/test-results/zen-grid-flow-item.css
|
71
73
|
- templates/unit-tests/test-results/zen-grid-item-base.css
|
@@ -97,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
99
|
version: "0"
|
98
100
|
requirements: []
|
99
101
|
|
100
|
-
rubyforge_project: "1.
|
102
|
+
rubyforge_project: "1.2"
|
101
103
|
rubygems_version: 1.3.6
|
102
104
|
signing_key:
|
103
105
|
specification_version: 3
|