bourbon-compass 3.1.0 → 3.1.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.
@@ -65,7 +65,7 @@
65
65
 
66
66
  border: 1px solid $border;
67
67
  border-radius: 3px;
68
- @include box-shadow (inset 0 1px 0 0 $inset-shadow);
68
+ box-shadow: inset 0 1px 0 0 $inset-shadow;
69
69
  color: $color;
70
70
  display: inline-block;
71
71
  font-size: 11px;
@@ -87,7 +87,7 @@
87
87
  $stop-gradient-hover: grayscale($stop-gradient-hover);
88
88
  }
89
89
 
90
- @include box-shadow (inset 0 1px 0 0 $inset-shadow-hover);
90
+ box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
91
91
  cursor: pointer;
92
92
  @include linear-gradient ($base-color-hover, $stop-gradient-hover);
93
93
  }
@@ -102,7 +102,7 @@
102
102
  }
103
103
 
104
104
  border: 1px solid $border-active;
105
- @include box-shadow (inset 0 0 8px 4px $inset-shadow-active, inset 0 0 8px 4px $inset-shadow-active, 0 1px 1px 0 #eee);
105
+ box-shadow: inset 0 0 8px 4px $inset-shadow-active, inset 0 0 8px 4px $inset-shadow-active, 0 1px 1px 0 #eee;
106
106
  }
107
107
  }
108
108
 
@@ -137,7 +137,7 @@
137
137
  border: 1px solid $border;
138
138
  border-bottom: 1px solid $border-bottom;
139
139
  border-radius: 5px;
140
- @include box-shadow(inset 0 1px 0 0 $inset-shadow);
140
+ box-shadow: inset 0 1px 0 0 $inset-shadow;
141
141
  color: $color;
142
142
  display: inline-block;
143
143
  font-size: 14px;
@@ -175,7 +175,7 @@
175
175
  $inset-shadow-active: grayscale($inset-shadow-active);
176
176
  }
177
177
 
178
- @include box-shadow(inset 0 0 20px 0 $inset-shadow-active, 0 1px 0 #fff);
178
+ box-shadow: inset 0 0 20px 0 $inset-shadow-active, 0 1px 0 #fff;
179
179
  }
180
180
  }
181
181
 
@@ -208,7 +208,7 @@
208
208
  border: 1px solid $border-top;
209
209
  border-color: $border-top $border-sides $border-bottom;
210
210
  border-radius: 16px;
211
- @include box-shadow(inset 0 1px 0 0 $inset-shadow, 0 1px 2px 0 #b3b3b3);
211
+ box-shadow: inset 0 1px 0 0 $inset-shadow, 0 1px 2px 0 #b3b3b3;
212
212
  color: $color;
213
213
  display: inline-block;
214
214
  font-size: 11px;
@@ -242,7 +242,7 @@
242
242
 
243
243
  border: 1px solid $border-top;
244
244
  border-color: $border-top $border-sides $border-bottom;
245
- @include box-shadow(inset 0 1px 0 0 $inset-shadow-hover);
245
+ box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
246
246
  cursor: pointer;
247
247
  @include linear-gradient ($base-color-hover, $stop-gradient-hover);
248
248
  text-shadow: 0 -1px 1px $text-shadow-hover;
@@ -267,7 +267,7 @@
267
267
  background: $active-color;
268
268
  border: 1px solid $border-active;
269
269
  border-bottom: 1px solid $border-bottom-active;
270
- @include box-shadow(inset 0 0 6px 3px $inset-shadow-active, 0 1px 0 0 #fff);
270
+ box-shadow: inset 0 0 6px 3px $inset-shadow-active, 0 1px 0 0 #fff;
271
271
  text-shadow: 0 -1px 1px $text-shadow-active;
272
272
  }
273
273
  }
@@ -1,6 +1,4 @@
1
1
  @mixin hide-text {
2
- background-color: transparent;
3
- border: 0;
4
2
  color: transparent;
5
3
  font: 0/0 a;
6
4
  text-shadow: none;
@@ -1,5 +1,10 @@
1
1
  @mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $asset-pipeline: false) {
2
- background-image: url($filename + "." + $extension);
2
+ @if $asset-pipeline {
3
+ background-image: image_url($filename + "." + $extension);
4
+ }
5
+ @else {
6
+ background-image: url($filename + "." + $extension);
7
+ }
3
8
 
4
9
  @include hidpi {
5
10
 
@@ -9,3 +9,7 @@
9
9
  // z-axis - length
10
10
  @include prefixer(transform-origin, $axes, webkit moz ms o spec);
11
11
  }
12
+
13
+ @mixin transform-style ($style: flat) {
14
+ @include prefixer(transform-style, $style, webkit moz ms o spec);
15
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bourbon-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
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-08 00:00:00.000000000 Z
12
+ date: 2013-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass