compass-vgrid-plugin 0.3.0 → 0.3.1

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{compass-vgrid-plugin}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Aaron Russell"]
12
- s.date = %q{2010-01-10}
12
+ s.date = %q{2010-01-12}
13
13
  s.description = %q{A Compass compatible SASS port of the Variable Grid System by Spry Soft (http://www.spry-soft.com/grids/). Based in the 960 Grid System (http://960.gs/). Provides fixed, fluid and elastic grids with complete control over the grid system.}
14
14
  s.email = %q{aaron@gc4.co.uk}
15
15
  s.extra_rdoc_files = [
@@ -1,13 +1,13 @@
1
- =grid_container
1
+ =grid-container
2
2
  :margin-left 4%
3
3
  :margin-right 4%
4
4
  :min-width= !vgrid_width
5
5
  :width 92%
6
6
 
7
- =grid_width(!n, !cols = !vgrid_columns)
7
+ =grid-width(!n, !cols = !vgrid_columns)
8
8
  :width= (100% / !cols) * !n - 2%
9
9
 
10
- =grid_unit_base
10
+ =grid-unit_base
11
11
  :display inline
12
12
  :float left
13
13
  :position relative
@@ -16,46 +16,46 @@
16
16
  :right= 1%
17
17
 
18
18
  =grid(!n, !cols = !vgrid_columns)
19
- +grid_unit_base
20
- +grid_width(!n, !cols)
19
+ +grid-unit_base
20
+ +grid-width(!n, !cols)
21
21
 
22
22
  =grids(!cols = !vgrid_columns)
23
23
  #{enumerate(".grid", 1, !cols, "_")}
24
- +grid_unit_base
24
+ +grid-unit_base
25
25
  @for !n from 1 through !cols
26
26
  .container_#{!cols} .grid_#{!n}
27
- +grid_width(!n, !cols)
27
+ +grid-width(!n, !cols)
28
28
 
29
- =grid_prefix(!n, !cols = !vgrid_columns)
29
+ =grid-prefix(!n, !cols = !vgrid_columns)
30
30
  :padding-left= (100% / !cols) * !n
31
31
 
32
- =grid_prefixes(!cols = !vgrid_columns)
32
+ =grid-prefixes(!cols = !vgrid_columns)
33
33
  @for !n from 1 through !cols - 1
34
34
  .container_#{!cols} .prefix_#{!n}
35
- +grid_prefix(!n, !cols)
35
+ +grid-prefix(!n, !cols)
36
36
 
37
- =grid_suffix(!n, !cols = !vgrid_columns)
37
+ =grid-suffix(!n, !cols = !vgrid_columns)
38
38
  :padding-right= (100% / !cols) * !n
39
39
 
40
- =grid_suffixes(!cols = !vgrid_columns)
40
+ =grid-suffixes(!cols = !vgrid_columns)
41
41
  @for !n from 1 through !cols - 1
42
42
  .container_#{!cols} .suffix_#{!n}
43
- +grid_suffix(!n, !cols)
43
+ +grid-suffix(!n, !cols)
44
44
 
45
- =grid_push(!n, !cols = !vgrid_columns)
45
+ =grid-push(!n, !cols = !vgrid_columns)
46
46
  :left= (100% / !cols) * !n
47
47
 
48
- =grid_pushes(!cols = !vgrid_columns)
48
+ =grid-pushes(!cols = !vgrid_columns)
49
49
  @for !n from 1 through !cols - 1
50
50
  .container_#{!cols} .push_#{!n}
51
- +grid_push(!n, !cols)
51
+ +grid-push(!n, !cols)
52
52
 
53
- =grid_pull(!n, !cols = !vgrid_columns)
53
+ =grid-pull(!n, !cols = !vgrid_columns)
54
54
  :right= (100% / !cols) * !n * -1
55
55
 
56
- =grid_pulls(!cols = !vgrid_columns)
56
+ =grid-pulls(!cols = !vgrid_columns)
57
57
  @for !n from 1 through !cols - 1
58
58
  .container_#{!cols} .pull_#{!n}
59
- +grid_pull(!n, !cols)
59
+ +grid-pull(!n, !cols)
60
60
 
61
61
  @import vgrid/shared/grid_system.sass
@@ -1,12 +1,12 @@
1
- =grid_container
1
+ =grid-container
2
2
  :margin-left auto
3
3
  :margin-right auto
4
4
  :width= !vgrid_width
5
5
 
6
- =grid_width(!n, !cols = !vgrid_columns, !gutter_width = !vgrid_gutter)
6
+ =grid-width(!n, !cols = !vgrid_columns, !gutter_width = !vgrid_gutter)
7
7
  :width= (!vgrid_width / !cols) * !n - !gutter_width
8
8
 
9
- =grid_unit_base(!gutter_width = !vgrid_gutter)
9
+ =grid-unit_base(!gutter_width = !vgrid_gutter)
10
10
  :display inline
11
11
  :float left
12
12
  :position relative
@@ -15,46 +15,46 @@
15
15
  :right= !gutter_width / 2
16
16
 
17
17
  =grid(!n, !cols = !vgrid_columns, !gutter_width = !vgrid_gutter)
18
- +grid_unit_base(!gutter_width)
19
- +grid_width(!n, !cols, !gutter_width)
18
+ +grid-unit_base(!gutter_width)
19
+ +grid-width(!n, !cols, !gutter_width)
20
20
 
21
21
  =grids(!cols = !vgrid_columns, !gutter_width = !vgrid_gutter)
22
22
  #{enumerate(".grid", 1, !cols, "_")}
23
- +grid_unit_base
23
+ +grid-unit_base
24
24
  @for !n from 1 through !cols
25
25
  .container_#{!cols} .grid_#{!n}
26
- +grid_width(!n, !cols, !gutter_width)
26
+ +grid-width(!n, !cols, !gutter_width)
27
27
 
28
- =grid_prefix(!n, !cols = !vgrid_columns)
28
+ =grid-prefix(!n, !cols = !vgrid_columns)
29
29
  :padding-left= (!vgrid_width / !cols) * !n
30
30
 
31
- =grid_prefixes(!cols = !vgrid_columns)
31
+ =grid-prefixes(!cols = !vgrid_columns)
32
32
  @for !n from 1 through !cols - 1
33
33
  .container_#{!cols} .prefix_#{!n}
34
- +grid_prefix(!n, !cols)
34
+ +grid-prefix(!n, !cols)
35
35
 
36
- =grid_suffix(!n, !cols = !vgrid_columns)
36
+ =grid-suffix(!n, !cols = !vgrid_columns)
37
37
  :padding-right= (!vgrid_width / !cols) * !n
38
38
 
39
- =grid_suffixes(!cols = !vgrid_columns)
39
+ =grid-suffixes(!cols = !vgrid_columns)
40
40
  @for !n from 1 through !cols - 1
41
41
  .container_#{!cols} .suffix_#{!n}
42
- +grid_suffix(!n, !cols)
42
+ +grid-suffix(!n, !cols)
43
43
 
44
- =grid_push(!n, !cols = !vgrid_columns)
44
+ =grid-push(!n, !cols = !vgrid_columns)
45
45
  :left= (!vgrid_width / !cols) * !n
46
46
 
47
- =grid_pushes(!cols = !vgrid_columns)
47
+ =grid-pushes(!cols = !vgrid_columns)
48
48
  @for !n from 1 through !cols - 1
49
49
  .container_#{!cols} .push_#{!n}
50
- +grid_push(!n, !cols)
50
+ +grid-push(!n, !cols)
51
51
 
52
- =grid_pull(!n, !cols = !vgrid_columns)
52
+ =grid-pull(!n, !cols = !vgrid_columns)
53
53
  :right= (!vgrid_width / !cols) * !n * -1
54
54
 
55
- =grid_pulls(!cols = !vgrid_columns)
55
+ =grid-pulls(!cols = !vgrid_columns)
56
56
  @for !n from 1 through !cols - 1
57
57
  .container_#{!cols} .pull_#{!n}
58
- +grid_pull(!n, !cols)
58
+ +grid-pull(!n, !cols)
59
59
 
60
60
  @import vgrid/shared/grid_system.sass
@@ -1,12 +1,12 @@
1
- =grid_container
1
+ =grid-container
2
2
  :margin-left 4%
3
3
  :margin-right 4%
4
4
  :width 92%
5
5
 
6
- =grid_width(!n, !cols = !vgrid_columns)
6
+ =grid-width(!n, !cols = !vgrid_columns)
7
7
  :width= (100% / !cols) * !n - 2%
8
8
 
9
- =grid_unit_base
9
+ =grid-unit_base
10
10
  :display inline
11
11
  :float left
12
12
  :position relative
@@ -15,46 +15,46 @@
15
15
  :right 1%
16
16
 
17
17
  =grid(!n, !cols = !vgrid_columns)
18
- +grid_unit_base
19
- +grid_width(!n, !cols)
18
+ +grid-unit_base
19
+ +grid-width(!n, !cols)
20
20
 
21
21
  =grids(!cols = !vgrid_columns)
22
22
  #{enumerate(".grid", 1, !cols, "_")}
23
- +grid_unit_base
23
+ +grid-unit_base
24
24
  @for !n from 1 through !cols
25
25
  .container_#{!cols} .grid_#{!n}
26
- +grid_width(!n, !cols)
26
+ +grid-width(!n, !cols)
27
27
 
28
- =grid_prefix(!n, !cols = !vgrid_columns)
28
+ =grid-prefix(!n, !cols = !vgrid_columns)
29
29
  :padding-left= (100% / !cols) * !n
30
30
 
31
- =grid_prefixes(!cols = !vgrid_columns)
31
+ =grid-prefixes(!cols = !vgrid_columns)
32
32
  @for !n from 1 through !cols - 1
33
33
  .container_#{!cols} .prefix_#{!n}
34
- +grid_prefix(!n, !cols)
34
+ +grid-prefix(!n, !cols)
35
35
 
36
- =grid_suffix(!n, !cols = !vgrid_columns)
36
+ =grid-suffix(!n, !cols = !vgrid_columns)
37
37
  :padding-right= (100% / !cols) * !n
38
38
 
39
- =grid_suffixes(!cols = !vgrid_columns)
39
+ =grid-suffixes(!cols = !vgrid_columns)
40
40
  @for !n from 1 through !cols - 1
41
41
  .container_#{!cols} .suffix_#{!n}
42
- +grid_suffix(!n, !cols)
42
+ +grid-suffix(!n, !cols)
43
43
 
44
- =grid_push(!n, !cols = !vgrid_columns)
44
+ =grid-push(!n, !cols = !vgrid_columns)
45
45
  :left= (100% / !cols) * !n
46
46
 
47
- =grid_pushes(!cols = !vgrid_columns)
47
+ =grid-pushes(!cols = !vgrid_columns)
48
48
  @for !n from 1 through !cols - 1
49
49
  .container_#{!cols} .push_#{!n}
50
- +grid_push(!n, !cols)
50
+ +grid-push(!n, !cols)
51
51
 
52
- =grid_pull(!n, !cols = !vgrid_columns)
52
+ =grid-pull(!n, !cols = !vgrid_columns)
53
53
  :right= (100% / !cols) * !n * -1
54
54
 
55
- =grid_pulls(!cols = !vgrid_columns)
55
+ =grid-pulls(!cols = !vgrid_columns)
56
56
  @for !n from 1 through !cols - 1
57
57
  .container_#{!cols} .pull_#{!n}
58
- +grid_pull(!n, !cols)
58
+ +grid-pull(!n, !cols)
59
59
 
60
60
  @import vgrid/shared/grid_system.sass
@@ -10,35 +10,35 @@
10
10
  =omega
11
11
  :margin-right 0
12
12
 
13
- =grid_children
13
+ =grid-children
14
14
  .alpha
15
15
  +alpha
16
16
  .omega
17
17
  +omega
18
18
 
19
- =grid_system(!cols = !vgrid_columns)
19
+ =grid-system(!cols = !vgrid_columns)
20
20
  /*
21
21
  Containers
22
22
  .container_#{!cols}
23
- +grid_container
23
+ +grid-container
24
24
  /*
25
25
  Grid
26
26
  +grids(!cols)
27
27
  /*
28
28
  Grid >> Children (Alpha ~ First, Omega ~ Last)
29
- +grid_children
29
+ +grid-children
30
30
  /*
31
31
  Prefix Extra Space
32
- +grid_prefixes(!cols)
32
+ +grid-prefixes(!cols)
33
33
  /*
34
34
  Suffix Extra Space
35
- +grid_suffixes(!cols)
35
+ +grid-suffixes(!cols)
36
36
  /*
37
37
  Push Space
38
- +grid_pushes(!cols)
38
+ +grid-pushes(!cols)
39
39
  /*
40
40
  Pull Space
41
- +grid_pulls(!cols)
41
+ +grid-pulls(!cols)
42
42
  /*
43
43
  Clear Floated Elements
44
44
  .clearfix
@@ -8,18 +8,18 @@
8
8
  @import vgrid/elastic.sass
9
9
 
10
10
  // The following generates the default grids provided by the css version of Variable Grid System
11
- +grid_system(12)
11
+ +grid-system(12)
12
12
 
13
13
  // But most compass users prefer to construct semantic layouts like so (two column layout with header and footer):
14
14
  !vgrid_columns = 16
15
15
  #wrap
16
- +grid_container
16
+ +grid-container
17
17
  #header, #footer
18
18
  +grid(16)
19
19
  #left-nav
20
20
  +grid(5)
21
21
  #main-content
22
- +grid_prefix(1)
22
+ +grid-prefix(1)
23
23
  +grid(10)
24
24
 
25
25
  // When in doubt, try a +clearfix mixin ;)
@@ -8,18 +8,18 @@
8
8
  @import vgrid/fixed.sass
9
9
 
10
10
  // The following generates the default grids provided by the css version of Variable Grid System
11
- +grid_system(12)
11
+ +grid-system(12)
12
12
 
13
13
  // But most compass users prefer to construct semantic layouts like so (two column layout with header and footer):
14
14
  !vgrid_columns = 16
15
15
  #wrap
16
- +grid_container
16
+ +grid-container
17
17
  #header, #footer
18
18
  +grid(16)
19
19
  #left-nav
20
20
  +grid(5)
21
21
  #main-content
22
- +grid_prefix(1)
22
+ +grid-prefix(1)
23
23
  +grid(10)
24
24
 
25
25
  // When in doubt, try a +clearfix mixin ;)
@@ -8,18 +8,18 @@
8
8
  @import vgrid/fluid.sass
9
9
 
10
10
  // The following generates the default grids provided by the css version of Variable Grid System
11
- +grid_system(12)
11
+ +grid-system(12)
12
12
 
13
13
  // But most compass users prefer to construct semantic layouts like so (two column layout with header and footer):
14
14
  !vgrid_columns = 16
15
15
  #wrap
16
- +grid_container
16
+ +grid-container
17
17
  #header, #footer
18
18
  +grid(16)
19
19
  #left-nav
20
20
  +grid(5)
21
21
  #main-content
22
- +grid_prefix(1)
22
+ +grid-prefix(1)
23
23
  +grid(10)
24
24
 
25
25
  // When in doubt, try a +clearfix mixin ;)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-vgrid-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Russell
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-10 00:00:00 +00:00
12
+ date: 2010-01-12 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency