cactu 0.0.10 → 0.0.11

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6add833ea9c5114279db229d16715a2f676a5b2
4
- data.tar.gz: 5176d8268ebabf3950689857a7dc73b95acb6487
3
+ metadata.gz: 797bfea966f35c26d8a78fc9b20a54617dd9a5f3
4
+ data.tar.gz: 84ecefcaf32e158e3cfd615c109ba67ef3453e03
5
5
  SHA512:
6
- metadata.gz: 703153884cc9b8586982e8d9beaa0ade50d1f22d580c540f3facd3ecb11a9a26423d39165d792135df136e4543a36ac71ea01a1a78fcfcdd7eb74181803156a5
7
- data.tar.gz: 71321e07a85c30b8dea0a64de630995b034b3ccc320524fd591d6f6017f6c9d4241533bbfe0b2cccaed31e1062ffbee88cad64c8548bc694c4cd54110ba33a17
6
+ metadata.gz: 3de8ad0abec7507e509f137575ff4729f6d0fd609049b65dbef4a2d1b067b81be6294f84e81167d89f59135239368caf63c07abc1af2386c98fc50746cbfb1a2
7
+ data.tar.gz: 3c474d0f09f9b488369f27a40c33f5b6a30085d41a0c26490be9796ab58ff1f8880b9f95ee7aca8df751dc43f4801c07d526c8480846f5a034c5905bea137fad
@@ -20,7 +20,7 @@
20
20
 
21
21
  @function gutter_columns($column, $gutter, $max_cols) {
22
22
  $gt: $gutter / 2;
23
- $gs: grid_size($column, $gutter, $max_cols);
23
+ $gs: 1200px;
24
24
 
25
25
  @return percentage($gt / $gs);
26
26
  }
@@ -4,6 +4,8 @@
4
4
 
5
5
 
6
6
  @mixin grid_generator($size_col: 0, $gutter: 0, $max_cols: 12) {
7
+ $gd_margin: gutter_columns($size_col, $gutter, $max_cols);
8
+
7
9
  @if $size_col == 0 and $gutter == 0 {
8
10
  .row {
9
11
  margin: 0 5%;
@@ -40,8 +42,6 @@
40
42
  }
41
43
 
42
44
  @else {
43
- $gl_margin: gutter_columns($size_col, $gutter, $max_cols);
44
-
45
45
  .row {
46
46
  width: grid_size($size_col, $gutter, $max_cols);
47
47
  }
@@ -49,8 +49,8 @@
49
49
  [class *= "-column"] {
50
50
  overflow: hidden;
51
51
  float: left;
52
- margin-left: $gl_margin;
53
- margin-right: $gl_margin;
52
+ margin-left: $gd_margin;
53
+ margin-right: $gd_margin;
54
54
  }
55
55
 
56
56
  @for $i from 1 through $max_cols {
data/lib/cactu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cactu
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cactu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Mendoza
@@ -104,8 +104,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project: cactu
107
- rubygems_version: 2.0.0
107
+ rubygems_version: 2.0.2
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Cactu is a CSS library to help us to create webs easily
111
111
  test_files: []
112
+ has_rdoc: