compass-columnal-plugin 0.0.2 → 0.1.0
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/compass-columnal-plugin.gemspec +1 -1
- data/stylesheets/columnal/_grid.sass +27 -151
- metadata +34 -52
@@ -83,11 +83,11 @@ a img
|
|
83
83
|
float: left
|
84
84
|
|
85
85
|
=grid-subcolumn($n1, $n2)
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
86
|
+
$col_width: (4.85% + 8.65% * ($n1 - 1))
|
87
|
+
width: ((4.85% + 8.65% * ($n2 - 1)) / $col_width * 100%)
|
88
|
+
margin-right: (3.8% / $col_width * 100%)
|
89
|
+
float: left
|
90
|
+
position: relative
|
91
91
|
|
92
92
|
=grid-prefix($n)
|
93
93
|
padding-left: ($n*8.65%)
|
@@ -123,6 +123,26 @@ a img
|
|
123
123
|
.col#{$columnal-class-separator}#{$n}
|
124
124
|
+grid($n)
|
125
125
|
|
126
|
+
=grid-subcolumns($cols: $columnal-columns)
|
127
|
+
#{enumerate(".col", 1, $cols, $columnal-class-separator)}
|
128
|
+
@for $n from 1 through $cols
|
129
|
+
.col#{$columnal-class-separator}#{$n}
|
130
|
+
@for $sub from 1 through ($n - 1)
|
131
|
+
.col#{$columnal-class-separator}#{$sub}
|
132
|
+
+grid-subcolumn($n, $sub)
|
133
|
+
|
134
|
+
=grid-subcolumn-prefix
|
135
|
+
$col_width: (4.85% + 8.65% * ($n1 - 1))
|
136
|
+
padding-left: ((4.85% + 8.65% * ($n2 - 1)) / $col_width * 100%)
|
137
|
+
float: left
|
138
|
+
position: relative
|
139
|
+
|
140
|
+
=grid-subcolumn-suffix
|
141
|
+
$col_width: (4.85% + 8.65% * ($n1 - 1))
|
142
|
+
padding-right: ((4.85% + 8.65% * ($n2 - 1)) / $col_width * 100%)
|
143
|
+
float: left
|
144
|
+
position: relative
|
145
|
+
|
126
146
|
=grid-prefixes-sufixes($cols: $columnal-columns)
|
127
147
|
@for $n from 1 through $cols - 1
|
128
148
|
.pre#{$columnal-class-separator}#{$n}
|
@@ -132,6 +152,7 @@ a img
|
|
132
152
|
|
133
153
|
=grid-system-complete
|
134
154
|
+grids
|
155
|
+
+grid-subcolumns
|
135
156
|
+grid-prefixes-sufixes
|
136
157
|
+text
|
137
158
|
.row
|
@@ -143,27 +164,9 @@ a img
|
|
143
164
|
|
144
165
|
/*
|
145
166
|
*_______________________________
|
146
|
-
*Columnal - sub-columns
|
147
|
-
|
148
|
-
.col_2
|
149
|
-
.col_1
|
150
|
-
margin-right: 28.62%
|
151
|
-
width: 35.69%
|
152
|
-
.pre_1
|
153
|
-
padding-left: 35.69%
|
154
|
-
.suf_1
|
155
|
-
padding-right: 35.69%
|
156
|
-
|
157
|
-
/*
|
167
|
+
*Columnal - sub-columns 64,31
|
158
168
|
|
159
169
|
.col_3
|
160
|
-
.col_2
|
161
|
-
margin-right: 17.45%
|
162
|
-
.col_1
|
163
|
-
margin-right: 17.45%
|
164
|
-
width: 21.7%
|
165
|
-
.col_2
|
166
|
-
width: 60.86%
|
167
170
|
.pre_1
|
168
171
|
padding-left: 21.7%
|
169
172
|
.pre_2
|
@@ -176,15 +179,6 @@ a img
|
|
176
179
|
/*
|
177
180
|
|
178
181
|
.col_4
|
179
|
-
.col_3, .col_2
|
180
|
-
margin-right: 12.36%
|
181
|
-
.col_1
|
182
|
-
margin-right: 12.36%
|
183
|
-
width: 15.73%
|
184
|
-
.col_2
|
185
|
-
width: 43.82%
|
186
|
-
.col_3
|
187
|
-
width: 71.91%
|
188
182
|
.pre_1
|
189
183
|
padding-left: 28.09%
|
190
184
|
.pre_2
|
@@ -201,17 +195,6 @@ a img
|
|
201
195
|
/*
|
202
196
|
|
203
197
|
.col_5
|
204
|
-
.col_4, .col_3, .col_2
|
205
|
-
margin-right: 9.7%
|
206
|
-
.col_1
|
207
|
-
margin-right: 9.7%
|
208
|
-
width: 12.24%
|
209
|
-
.col_2
|
210
|
-
width: 34%
|
211
|
-
.col_3
|
212
|
-
width: 56.28%
|
213
|
-
.col_4
|
214
|
-
width: 78%
|
215
198
|
.pre_1
|
216
199
|
padding-left: 21.94%
|
217
200
|
.pre_2
|
@@ -232,19 +215,6 @@ a img
|
|
232
215
|
/*
|
233
216
|
|
234
217
|
.col_6
|
235
|
-
.col_5, .col_4, .col_3, .col_2
|
236
|
-
margin-right: 7.77%
|
237
|
-
.col_1
|
238
|
-
margin-right: 7.77%
|
239
|
-
width: 10.19%
|
240
|
-
.col_2
|
241
|
-
width: 28.13%
|
242
|
-
.col_3
|
243
|
-
width: 46.11%
|
244
|
-
.col_4
|
245
|
-
width: 64.1%
|
246
|
-
.col_5
|
247
|
-
width: 82%
|
248
218
|
.pre_1
|
249
219
|
padding-left: 89.77%
|
250
220
|
.pre_2
|
@@ -269,21 +239,6 @@ a img
|
|
269
239
|
/*
|
270
240
|
|
271
241
|
.col_7
|
272
|
-
.col_6, .col_5, .col_4, .col_3, .col_2
|
273
|
-
margin-right: 6.56%
|
274
|
-
.col_1
|
275
|
-
margin-right: 6.56%
|
276
|
-
width: 8.66%
|
277
|
-
.col_2
|
278
|
-
width: 23.88%
|
279
|
-
.col_3
|
280
|
-
width: 39.11%
|
281
|
-
.col_4
|
282
|
-
width: 54.33%
|
283
|
-
.col_5
|
284
|
-
width: 69.56%
|
285
|
-
.col_6
|
286
|
-
width: 84.78%
|
287
242
|
.pre_1
|
288
243
|
padding-left: 15.22%
|
289
244
|
.pre_2
|
@@ -312,23 +267,6 @@ a img
|
|
312
267
|
/*
|
313
268
|
|
314
269
|
.col_8
|
315
|
-
.col_7, .col_6, .col_5, .col_4, &.col_3, .col_2
|
316
|
-
margin-right: 5.78%
|
317
|
-
.col_1
|
318
|
-
margin-right: 5.78%
|
319
|
-
width: 7.44%
|
320
|
-
.col_2
|
321
|
-
width: 20.66%
|
322
|
-
.col_3
|
323
|
-
width: 33.89%
|
324
|
-
.col_4
|
325
|
-
width: 47.11%
|
326
|
-
.col_5
|
327
|
-
width: 60.33%
|
328
|
-
.col_6
|
329
|
-
width: 73.56%
|
330
|
-
.col_7
|
331
|
-
width: 86.78%
|
332
270
|
.pre_1
|
333
271
|
padding-left: 13.22%
|
334
272
|
.pre_2
|
@@ -361,24 +299,6 @@ a img
|
|
361
299
|
/*
|
362
300
|
|
363
301
|
.col_9
|
364
|
-
.col_1, .col_2, .col_3, .col_4, .col_5, .col_6, .col_7, .col_8
|
365
|
-
margin-right: 5.1%
|
366
|
-
.col_1
|
367
|
-
width: 6.57%
|
368
|
-
.col_2
|
369
|
-
width: 18.25%
|
370
|
-
.col_3
|
371
|
-
width: 29.93%
|
372
|
-
.col_4
|
373
|
-
width: 41.61%
|
374
|
-
.col_5
|
375
|
-
width: 53.25%
|
376
|
-
.col_6
|
377
|
-
width: 64.97%
|
378
|
-
.col_7
|
379
|
-
width: 76.65%
|
380
|
-
.col_8
|
381
|
-
width: 88.33%
|
382
302
|
.pre_1
|
383
303
|
padding-left: 11.67%
|
384
304
|
.pre_2
|
@@ -415,27 +335,6 @@ a img
|
|
415
335
|
/*
|
416
336
|
|
417
337
|
.col_10
|
418
|
-
.col_9, .col_8, .col_7, .col_6, .col_5, .col_4, .col_3, .col_2
|
419
|
-
margin-right: 4.61%
|
420
|
-
.col_1
|
421
|
-
margin-right: 4.61%
|
422
|
-
width: 5.85%
|
423
|
-
.col_2
|
424
|
-
width: 16.31%
|
425
|
-
.col_3
|
426
|
-
width: 26.77%
|
427
|
-
.col_4
|
428
|
-
width: 37.23%
|
429
|
-
.col_5
|
430
|
-
width: 47.69%
|
431
|
-
.col_6
|
432
|
-
width: 58.16%
|
433
|
-
.col_7
|
434
|
-
width: 68.62%
|
435
|
-
.col_8
|
436
|
-
width: 79.08%
|
437
|
-
.col_9
|
438
|
-
width: 89.54%
|
439
338
|
.pre_1
|
440
339
|
padding-left: 10.46%
|
441
340
|
.pre_2
|
@@ -476,29 +375,6 @@ a img
|
|
476
375
|
/*
|
477
376
|
|
478
377
|
.col_11
|
479
|
-
.col_10, .col_9, .col_8, .col_7, .col_6, .col_5, .col_4, .col_3, .col_2
|
480
|
-
margin-right: 4.14%
|
481
|
-
.col_1
|
482
|
-
margin-right: 4.14%
|
483
|
-
width: 5.32%
|
484
|
-
.col_2
|
485
|
-
width: 14.79%
|
486
|
-
.col_3
|
487
|
-
width: 24.26%
|
488
|
-
.col_4
|
489
|
-
width: 33.73%
|
490
|
-
.col_5
|
491
|
-
width: 43.2%
|
492
|
-
.col_6
|
493
|
-
width: 52.66%
|
494
|
-
.col_7
|
495
|
-
width: 62.1%
|
496
|
-
.col_8
|
497
|
-
width: 71.6%
|
498
|
-
.col_9
|
499
|
-
width: 81.07%
|
500
|
-
.col_10
|
501
|
-
width: 90.54%
|
502
378
|
.pre_1
|
503
379
|
padding-left: 9.46%
|
504
380
|
.pre_2
|
metadata
CHANGED
@@ -1,83 +1,65 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-columnal-plugin
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
version: 0.0.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Diogo Biazus
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-01-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: compass
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
- 10
|
30
|
-
- 0
|
16
|
+
requirement: &70268022588080 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 0.10.0
|
32
22
|
type: :runtime
|
33
|
-
|
34
|
-
|
35
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70268022588080
|
25
|
+
description: ! 'The Columnal CSS grid system is a “remix” of a couple others with
|
26
|
+
some custom code thrown in. The elastic grid system is borrowed from cssgrid.net,
|
27
|
+
while some code inspiration (and the idea for subcolumns) are taken from 960.gs.
|
28
|
+
Checkout at: http://www.columnal.com/'
|
29
|
+
email:
|
36
30
|
- diogo@biazus.me
|
37
31
|
executables: []
|
38
|
-
|
39
32
|
extensions: []
|
40
|
-
|
41
33
|
extra_rdoc_files: []
|
42
|
-
|
43
|
-
files:
|
34
|
+
files:
|
44
35
|
- compass-columnal-plugin.gemspec
|
45
36
|
- README.mkdn
|
46
37
|
- lib/columnal.rb
|
47
38
|
- stylesheets/columnal/_grid.sass
|
48
39
|
- stylesheets/columnal/_text.sass
|
49
40
|
- templates/project/manifest.rb
|
50
|
-
has_rdoc: true
|
51
41
|
homepage: https://github.com/diogob/compass-columnal-plugin
|
52
42
|
licenses: []
|
53
|
-
|
54
43
|
post_install_message:
|
55
44
|
rdoc_options: []
|
56
|
-
|
57
|
-
require_paths:
|
45
|
+
require_paths:
|
58
46
|
- lib
|
59
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
segments:
|
71
|
-
- 1
|
72
|
-
- 3
|
73
|
-
- 5
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
49
|
+
requirements:
|
50
|
+
- - ! '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0'
|
53
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
74
58
|
version: 1.3.5
|
75
59
|
requirements: []
|
76
|
-
|
77
60
|
rubyforge_project: compass-columnal-plugin
|
78
|
-
rubygems_version: 1.
|
61
|
+
rubygems_version: 1.8.17
|
79
62
|
signing_key:
|
80
63
|
specification_version: 3
|
81
64
|
summary: Compass compatible Sass port of columnal grid system.
|
82
65
|
test_files: []
|
83
|
-
|