compass-extension-mesh 1.0 → 1.0.5

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/lib/mesh.rb CHANGED
File without changes
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Mesh v1.0.0
2
+ * Mesh v1.0.5
3
3
  *
4
4
  * Copyright 2011 Maxwell Barvian
5
5
  * Licensed under the GNU General Public License
@@ -55,14 +55,6 @@ $_allColumns: "";
55
55
  body {
56
56
  font-size: 100%
57
57
  }
58
-
59
- #{$_allColumns} {
60
- // The things we do for older browsers
61
- display: block;
62
- float: left;
63
-
64
- margin-right: $gutter-width;
65
- }
66
58
 
67
59
  @for $col from 1 to ($number-of-columns + 1) {
68
60
  .colSpan#{$col} {
@@ -70,13 +62,25 @@ $_allColumns: "";
70
62
  }
71
63
  }
72
64
 
73
- .lastCol {
74
- margin-right: 0;
65
+ #{$_allColumns} {
66
+ // The things we do for older browsers
67
+ display: inline;
68
+ float: left;
69
+
70
+ margin-left: $gutter-width;
71
+
72
+ &:first-child {
73
+ margin-left: 0;
74
+ }
75
75
  }
76
76
 
77
77
  @for $col from 1 to $number-of-columns {
78
78
  .offset#{$col} {
79
- margin-left: ($col * ((100.0 - (($number-of-columns - 1) * $gutter-width)) / $number-of-columns)) + (($col - 1) * $gutter-width) + $gutter-width;
79
+ margin-left: ($col * ((100.0 - (($number-of-columns - 1) * $gutter-width)) / $number-of-columns)) + (($col - 1) * $gutter-width) + ($gutter-width * 2) !important;
80
+
81
+ &:first-child {
82
+ margin-left: ($col * ((100.0 - (($number-of-columns - 1) * $gutter-width)) / $number-of-columns)) + (($col - 1) * $gutter-width) + $gutter-width !important
83
+ }
80
84
  }
81
85
  }
82
86
 
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-extension-mesh
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-15 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass
16
- requirement: &70361506601640 !ruby/object:Gem::Requirement
16
+ requirement: &70321258090080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0.11'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70361506601640
24
+ version_requirements: *70321258090080
25
25
  description: a dynamic grid system for SASS (and Compass)
26
26
  email: mbarvian@gmail.com
27
27
  executables: []