zen-grids 1.0.beta.3 → 1.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- data/stylesheets/zen/_grids.scss +7 -4
- data/templates/project/layout.scss +7 -7
- data/zen-grids.gemspec +2 -2
- metadata +5 -5
data/stylesheets/zen/_grids.scss
CHANGED
@@ -67,16 +67,16 @@ $zen-reverse-all-floats: false !default;
|
|
67
67
|
}
|
68
68
|
|
69
69
|
//
|
70
|
-
// Apply this to each grid item. Set the $column-
|
71
|
-
// the grid item
|
72
|
-
//
|
70
|
+
// Apply this to each grid item. Set the $column-span to the number of columns
|
71
|
+
// that the grid item spans. And set the $column-position to the column number
|
72
|
+
// the grid item starts on.
|
73
73
|
//
|
74
74
|
// For grid items that are floated right, the $column-position is counted
|
75
75
|
// from the right instead of from the left.
|
76
76
|
//
|
77
77
|
@mixin zen-grid-item (
|
78
|
-
$column-position,
|
79
78
|
$column-span,
|
79
|
+
$column-position,
|
80
80
|
$float-direction: $zen-float-direction,
|
81
81
|
$column-count: $zen-column-count,
|
82
82
|
$gutter-width: $zen-gutter-width,
|
@@ -160,6 +160,9 @@ $zen-reverse-all-floats: false !default;
|
|
160
160
|
@if $box-sizing-polyfill-path {
|
161
161
|
behavior: url($box-sizing-polyfill-path);
|
162
162
|
}
|
163
|
+
// 1. http://www.positioniseverything.net/explorer/doubled-margin.html
|
164
|
+
// 2. http://browservulsel.blogspot.com/2005/04/ie-overflow-auto-scrollbar-overlap.html
|
165
|
+
// 3. http://www.howtocreate.co.uk/wrongWithIE/?chapter=overflow%3Avisible%3B
|
163
166
|
}
|
164
167
|
}
|
165
168
|
}
|
@@ -81,14 +81,14 @@ $zen-gutter-width: 20px;
|
|
81
81
|
$zen-column-count: 2;
|
82
82
|
|
83
83
|
#content {
|
84
|
-
@include zen-grid-item(
|
84
|
+
@include zen-grid-item(2, 1);
|
85
85
|
}
|
86
86
|
#aside1 {
|
87
87
|
@include zen-clear(); // Clear left-floated elements (#content)
|
88
88
|
@include zen-grid-item(1, 1);
|
89
89
|
}
|
90
90
|
#aside2 {
|
91
|
-
@include zen-grid-item(
|
91
|
+
@include zen-grid-item(1, 2);
|
92
92
|
}
|
93
93
|
}
|
94
94
|
|
@@ -96,14 +96,14 @@ $zen-gutter-width: 20px;
|
|
96
96
|
$zen-column-count: 3;
|
97
97
|
|
98
98
|
#content {
|
99
|
-
@include zen-grid-item(
|
99
|
+
@include zen-grid-item(2, 1);
|
100
100
|
}
|
101
101
|
#aside1 {
|
102
102
|
@include zen-grid-item(1, 1, right); // Position from the right
|
103
103
|
}
|
104
104
|
#aside2 {
|
105
105
|
@include zen-clear(); // Clear left-floated elements (#content)
|
106
|
-
@include zen-grid-item(
|
106
|
+
@include zen-grid-item(2, 1);
|
107
107
|
}
|
108
108
|
}
|
109
109
|
|
@@ -111,7 +111,7 @@ $zen-gutter-width: 20px;
|
|
111
111
|
$zen-column-count: 3;
|
112
112
|
|
113
113
|
#content {
|
114
|
-
@include zen-grid-item(
|
114
|
+
@include zen-grid-item(2, 1);
|
115
115
|
}
|
116
116
|
#aside1 {
|
117
117
|
@include zen-grid-item(1, 1, right); // Position from the right
|
@@ -126,12 +126,12 @@ $zen-gutter-width: 20px;
|
|
126
126
|
$zen-column-count: 5;
|
127
127
|
|
128
128
|
#content {
|
129
|
-
@include zen-grid-item(
|
129
|
+
@include zen-grid-item(3, 2);
|
130
130
|
}
|
131
131
|
#aside1 {
|
132
132
|
@include zen-grid-item(1, 1);
|
133
133
|
}
|
134
134
|
#aside2 {
|
135
|
-
@include zen-grid-item(
|
135
|
+
@include zen-grid-item(1, 5);
|
136
136
|
}
|
137
137
|
}
|
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.4'
|
13
|
+
s.date = '2012-02-09'
|
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: 62196299
|
5
5
|
prerelease: 4
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- beta
|
10
|
-
-
|
11
|
-
version: 1.0.beta.
|
10
|
+
- 4
|
11
|
+
version: 1.0.beta.4
|
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-09 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.4
|
88
88
|
rubygems_version: 1.8.15
|
89
89
|
signing_key:
|
90
90
|
specification_version: 3
|