semantic-mixins 0.1.2.2 → 0.1.2.3
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -13,24 +13,31 @@ Install
|
|
13
13
|
|
14
14
|
First add it to your Gemfile:
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
16
|
+
```ruby
|
17
|
+
group :assets do
|
18
|
+
gem 'sass-rails', '~> 3.2.3'
|
19
|
+
gem 'compass-rails'
|
20
|
+
gem 'semantic-mixins'
|
21
|
+
end
|
22
|
+
```
|
21
23
|
|
22
24
|
Then run:
|
23
25
|
|
24
26
|
bundle install
|
25
27
|
|
26
|
-
|
28
|
+
You might need to restart your server after the `bundle` command
|
29
|
+
Then in your stylesheet:
|
27
30
|
|
28
|
-
|
31
|
+
```sass
|
32
|
+
@import semantic-mixins
|
33
|
+
```
|
29
34
|
|
30
35
|
Or you can add the mixins on demand - but be careful, some mixins may depend on other files:
|
31
36
|
|
32
|
-
|
33
|
-
|
37
|
+
```sass
|
38
|
+
@import semantic-mixins/main // This one is always needed
|
39
|
+
@import semantic-mixins/css3-support
|
40
|
+
```
|
34
41
|
|
35
42
|
This gem is in its initial phase, so keep tracking and updating yours at least till 2013 =)
|
36
43
|
|
@@ -62,12 +62,12 @@
|
|
62
62
|
|
63
63
|
= vertical-gradient($color1, $color2, $legacy-mix-color: true)
|
64
64
|
@if $legacy-mix-color
|
65
|
-
+legacy-background-image(linear-gradient(
|
65
|
+
+legacy-background-image(linear-gradient(color-stops($color1, $color2)), $color1, $color2)
|
66
66
|
@else
|
67
|
-
+legacy-background-image(linear-gradient(
|
67
|
+
+legacy-background-image(linear-gradient(color-stops($color1, $color2)), $color1)
|
68
68
|
|
69
69
|
= horizontal-gradient($color1, $color2, $legacy-mix-color: true)
|
70
70
|
@if $legacy-mix-color
|
71
|
-
+legacy-background-image(linear-gradient(
|
71
|
+
+legacy-background-image(linear-gradient(color-stops($color1, $color2), left), $color1, $color2)
|
72
72
|
@else
|
73
|
-
+legacy-background-image(linear-gradient(
|
73
|
+
+legacy-background-image(linear-gradient(color-stops($color1, $color2), left), $color1)
|
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.2.
|
4
|
+
version: 0.1.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-11-
|
14
|
+
date: 2012-11-20 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|