compass-griddle 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,10 +47,18 @@ $grid-gutter: 20px !default; // can be px, em, or %
47
47
  margin: 0 -0.5 * $grid-gutter; /* 1 */
48
48
  text-align: $grid-direction; /* 2 */
49
49
  letter-spacing: -0.31em; /* 3 */
50
- word-spacing: -0.43em; /* 3 */
51
50
  text-rendering: optimizespeed; /* 4 */
52
51
  }
53
52
 
53
+ /**
54
+ * Opera hack
55
+ */
56
+
57
+ .opera:-o-prefocus,
58
+ .grid {
59
+ word-spacing: -0.43em; /* 3 */
60
+ }
61
+
54
62
  /**
55
63
  * Child `grid` object adjustments
56
64
  * Used for more complex fixed-fluid hybrid grids.
@@ -40,8 +40,8 @@
40
40
 
41
41
  @for $i from 1 through $x {
42
42
  // Initialize variables
43
- $i-r: ();
44
- $n-r: ();
43
+ $i-r: 0;
44
+ $n-r: 0;
45
45
 
46
46
  // Find the greatest common factor
47
47
  $g: gcf($i, $n);
@@ -59,8 +59,8 @@
59
59
 
60
60
  // Create units based on fractions
61
61
  .unit-#{$i}-#{$n}#{$modifier} {
62
- // Ff this unit can be reduced then extend the previous rule
63
- @if $i-r and $canreduce {
62
+ // If this unit can be reduced then extend the previous rule
63
+ @if $canreduce {
64
64
  @extend .unit-#{$i-r}-#{$n-r}#{$modifier};
65
65
  }
66
66
  // Otherwise create a new % width
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-griddle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-19 00:00:00.000000000 Z
12
+ date: 2013-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass