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 +4 -4
- data/lib/assets/stylesheets/semantic-mixins/_image.sass +11 -23
- data/semantic-mixins.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac3e7151863c0286fed1cf79a27f31b710a7231d
|
4
|
+
data.tar.gz: 7d2567a7fea8ec9a326fddb0839bb4d51f090506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
45
|
+
background-position: right center
|
46
46
|
text-align: right
|
47
47
|
@else
|
48
|
-
background-position: left
|
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
|
-
|
56
|
-
|
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
|
-
|
64
|
-
|
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
|
74
|
-
@if $legacy
|
75
|
-
|
76
|
-
|
77
|
-
|
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))
|
data/semantic-mixins.gemspec
CHANGED
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.
|
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-
|
13
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|