zen-grids 1.0.beta.2 → 1.0.beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/stylesheets/zen/_grids.scss +11 -11
- data/zen-grids.gemspec +2 -2
- metadata +5 -5
data/stylesheets/zen/_grids.scss
CHANGED
@@ -19,6 +19,10 @@ $zen-auto-include-flow-item-base: true !default;
|
|
19
19
|
// design, but you can change this to a pixel value if you need a fixed grid.
|
20
20
|
$zen-grid-width: 100% !default;
|
21
21
|
|
22
|
+
// The box-sizing polyfill for IE6/7 requires an absolute path to the
|
23
|
+
// boxsizing.htc file. See https://github.com/Schepp/box-sizing-polyfill
|
24
|
+
$box-sizing-polyfill-path: "" !default;
|
25
|
+
|
22
26
|
// Specify the CSS3 box-sizing method. The default, "border-box", is compatible
|
23
27
|
// with all modern browsers, including IE 8 and later. Use "content-box" for
|
24
28
|
// wider compatibility (Note: you'll also need to set $legacy-support-for-ie7
|
@@ -29,10 +33,6 @@ $zen-box-sizing: border-box !default;
|
|
29
33
|
$legacy-support-for-ie7: false !default;
|
30
34
|
$legacy-support-for-ie6: false !default;
|
31
35
|
|
32
|
-
// The box-sizing polyfill for IE6/7 requires an absolute path to the
|
33
|
-
// boxsizing.htc file. See https://github.com/Schepp/box-sizing-polyfill
|
34
|
-
$box-sizing-polyfill-path: "" !default;
|
35
|
-
|
36
36
|
// Specify the default floating direction for zen's mixins.
|
37
37
|
$zen-float-direction: left !default;
|
38
38
|
|
@@ -216,7 +216,7 @@ $zen-reverse-all-floats: false !default;
|
|
216
216
|
|
217
217
|
// Ensure the HTML item either has a full gutter or no gutter on each side.
|
218
218
|
@if $alpha-gutter {
|
219
|
-
margin-#{dir}: zen-half-gutter($gutter-width);
|
219
|
+
margin-#{$dir}: zen-half-gutter($gutter-width);
|
220
220
|
}
|
221
221
|
@else {
|
222
222
|
margin-#{$dir}: -1 * zen-half-gutter($gutter-width);
|
@@ -243,6 +243,12 @@ $zen-reverse-all-floats: false !default;
|
|
243
243
|
// Helper functions for the Zen mixins.
|
244
244
|
//
|
245
245
|
|
246
|
+
// Returns a half gutter width.
|
247
|
+
@function zen-half-gutter($gutter-width: $zen-gutter-width) {
|
248
|
+
// @todo Handle odd-pixel-sized gutters.
|
249
|
+
@return $gutter-width / 2;
|
250
|
+
}
|
251
|
+
|
246
252
|
// Returns the opposite direction, given "left" or "right".
|
247
253
|
@function zen-direction-flip($dir) {
|
248
254
|
@if $dir == left {
|
@@ -253,9 +259,3 @@ $zen-reverse-all-floats: false !default;
|
|
253
259
|
}
|
254
260
|
@return both;
|
255
261
|
}
|
256
|
-
|
257
|
-
// Returns a half gutter width.
|
258
|
-
@function zen-half-gutter($gutter-width: $zen-gutter-width) {
|
259
|
-
// @todo Handle odd-pixel-sized gutters.
|
260
|
-
@return $gutter-width / 2;
|
261
|
-
}
|
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.0.beta.
|
13
|
-
s.date = '2012-02-
|
12
|
+
s.version = '1.0.beta.3'
|
13
|
+
s.date = '2012-02-07'
|
14
14
|
|
15
15
|
s.authors = ['John Albin Wilkins']
|
16
16
|
s.email = 'virtually.johnalbin@gmail.com'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zen-grids
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 62196293
|
5
5
|
prerelease: 4
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- beta
|
10
|
-
-
|
11
|
-
version: 1.0.beta.
|
10
|
+
- 3
|
11
|
+
version: 1.0.beta.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- John Albin Wilkins
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-02-
|
19
|
+
date: 2012-02-07 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: sass
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: 1.3.1
|
85
85
|
requirements: []
|
86
86
|
|
87
|
-
rubyforge_project: 1.0.beta.
|
87
|
+
rubyforge_project: 1.0.beta.3
|
88
88
|
rubygems_version: 1.8.15
|
89
89
|
signing_key:
|
90
90
|
specification_version: 3
|