semantic-mixins 0.1.8 → 0.1.9

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: 93f5d40de3a6fbdb5abb32ea611b2be1325b85ee
4
- data.tar.gz: 9aa225141bdadc8e43004c3764937d4e2f4a8ee8
3
+ metadata.gz: ac3e7151863c0286fed1cf79a27f31b710a7231d
4
+ data.tar.gz: 7d2567a7fea8ec9a326fddb0839bb4d51f090506
5
5
  SHA512:
6
- metadata.gz: ebe756ab2a220722719951e6ee4b95d61d913a6d5d5faccaff666d3d0f939a70c1629ec1e3b08a2f8a7d88389ea957eaa75b2ef557e37d7d25bdc2f14302690f
7
- data.tar.gz: 16f713f06e93ec765ff51574ac38ff3664b2ea8d8d922c0c10f890261746c3b9937f6308c02d05dd70384d6d1b2f43077054d482815b3f7054f68b1d8a8847bf
6
+ metadata.gz: c0274ad6ca26b4e5899772c8cf65cb245d65e96bcb65d5196108b483e48b7ee35a8463e2d3dd8e3bf16c435308c22057c45d6ee881761e6edc3500fbcfe4ba24
7
+ data.tar.gz: 3bb178f280637bb9f21c7ad0495d78d5d2a07c14b379bd747f0dd7c4d82af3091b378dbc039b39d281582a5559181da760c64b40a24907b937527c77f3a17642
@@ -42,36 +42,24 @@
42
42
  background-image: image-url($img)
43
43
  background-repeat: no-repeat
44
44
  @if $pos == right
45
- background-position: right top
45
+ background-position: right center
46
46
  text-align: right
47
47
  @else
48
- background-position: left top
48
+ background-position: left center
49
49
  text-align: left
50
50
  line-height: image-height($img)
51
51
  padding: $padding
52
52
  padding-#{$pos}: image-width($img) + $gap
53
53
 
54
54
  // COLOR MIXINS
55
- // Use this mixin instead of default compass +background-image mixin.
56
- // Use the first argument is the same as you use in the compass mixin
57
- // The second and third arguments are colors (probably the colors that you use at the end and start of tha gradient),
58
- // then compass is gonna mix the colors and support the old f***ing browsers.
59
- // If you use just one color it'll be the solid color
60
- = legacy-background-image($options, $color1, $color2: false)
61
- @if $color2
55
+ = vertical-gradient($color1, $color2, $legacy: true)
56
+ @if $legacy
62
57
  background-color: mix($color1, $color2)
63
- @else
64
- background-color: $color1
65
- +background-image($options)
66
-
67
- = vertical-gradient($color1, $color2, $legacy-mix-color: true)
68
- @if $legacy-mix-color
69
- +legacy-background-image(linear-gradient(color-stops($color1, $color2)), $color1, $color2)
70
- @else
71
- +legacy-background-image(linear-gradient(color-stops($color1, $color2)), $color1)
58
+ +filter-gradient($color1, $color2, vertical)
59
+ +background-image(linear-gradient(top, $color1, $color2))
72
60
 
73
- = horizontal-gradient($color1, $color2, $legacy-mix-color: true)
74
- @if $legacy-mix-color
75
- +legacy-background-image(linear-gradient(color-stops($color1, $color2), left), $color1, $color2)
76
- @else
77
- +legacy-background-image(linear-gradient(color-stops($color1, $color2), left), $color1)
61
+ = horizontal-gradient($color1, $color2, $legacy: true)
62
+ @if $legacy
63
+ background-color: mix($color1, $color2)
64
+ +filter-gradient($color1, $color2, horizontal)
65
+ +background-image(linear-gradient(left, $color1, $color2))
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{semantic-mixins}
3
- s.version = "0.1.8"
3
+ s.version = "0.1.9"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
6
6
  s.authors = ["Gustavo Guichard", "Josemar David Luedke", "Rafael Barboza"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic-mixins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Guichard
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-03-19 00:00:00.000000000 Z
13
+ date: 2013-03-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails