cactu 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a633d3218d93f2a829f7a40975ac28393c77dc0
|
4
|
+
data.tar.gz: e8cb975a4ee059f05c82cc75a84f086cb0e82447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651bda78c05e7190c159be46ca938439e70f67bb347535e825b1e9e408d3b525ab1b4f4ba0c01ac0ca83cd32f99921baac518c5dd08c41801c37e666ce518f84
|
7
|
+
data.tar.gz: e011481423409a35fa17dd0898a146d72872e3603a0bb9de884743c49922417fc18d662afb4d11bd413551592dd4c9b87ca79a14dadf6661fa4dc716b074fdb8
|
@@ -11,7 +11,7 @@
|
|
11
11
|
@return ($column * $max_cols) + ($gutter * $max_cols);
|
12
12
|
}
|
13
13
|
|
14
|
-
@function fluid_width_column($num, $size, $gutter, $max_cols:
|
14
|
+
@function fluid_width_column($num, $size, $gutter, $max_cols: $max-cols) {
|
15
15
|
$col_width: width_column($num, $size, $gutter);
|
16
16
|
$sizer: grid_size($size, $gutter, $max_cols);
|
17
17
|
|
@@ -19,10 +19,7 @@
|
|
19
19
|
}
|
20
20
|
|
21
21
|
@function gutter_columns($column, $gutter, $max_cols) {
|
22
|
-
|
23
|
-
$gs: 1200px;
|
24
|
-
|
25
|
-
@return percentage($gt / $gs);
|
22
|
+
@return percentage(($gutter / 2) / grid_size($size, $gutter, $max_cols));
|
26
23
|
}
|
27
24
|
|
28
25
|
@function numbers($number) {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
// --------------------------------------------------
|
4
4
|
|
5
5
|
|
6
|
-
@mixin grid_generator($size_col: 0, $gutter: 0, $max_cols:
|
6
|
+
@mixin grid_generator($size_col: 0, $gutter: 0, $max_cols: $max-cols) {
|
7
7
|
@if $size_col == 0 and $gutter == 0 {
|
8
8
|
.row {
|
9
9
|
margin: 0 5%;
|
@@ -61,7 +61,7 @@
|
|
61
61
|
}
|
62
62
|
}
|
63
63
|
|
64
|
-
@mixin grid_offset($size_col, $gutter, $max_cols:
|
64
|
+
@mixin grid_offset($size_col, $gutter, $max_cols: $max-cols) {
|
65
65
|
@for $i from 1 through $max_cols - 1 {
|
66
66
|
$offset: ($i * $size_col) + ($i * $gutter) + ($gutter / 2);
|
67
67
|
$sizer: grid_size($size_col, $gutter, $max_cols);
|
@@ -69,7 +69,7 @@
|
|
69
69
|
}
|
70
70
|
}
|
71
71
|
|
72
|
-
@mixin grid_centered($size_col, $gutter, $max_cols:
|
72
|
+
@mixin grid_centered($size_col, $gutter, $max_cols: $max-cols) {
|
73
73
|
@for $i from 1 through $max_cols - 1 {
|
74
74
|
$col_width: width_column($i, $size_col, $gutter);
|
75
75
|
$sizer: grid_size($size_col, $gutter, $max_cols);
|
data/lib/cactu/version.rb
CHANGED