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
- group :assets do
17
- gem 'sass-rails', '~> 3.2.3'
18
- gem 'compass-rails'
19
- gem 'semantic-mixins'
20
- end
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
- And in your stylesheet:
28
+ You might need to restart your server after the `bundle` command
29
+ Then in your stylesheet:
27
30
 
28
- @import semantic-mixins
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
- @import semantic-mixins/main // This one is always needed
33
- @import semantic-mixins/css3-support
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
 
@@ -22,7 +22,4 @@
22
22
  = legacy-inline-block
23
23
  display: inline-block
24
24
  *display: inline
25
- +has-layout
26
-
27
- = has-layout
28
25
  zoom: 1
@@ -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(top bottom, $color1, $color2), $color1, $color2)
65
+ +legacy-background-image(linear-gradient(color-stops($color1, $color2)), $color1, $color2)
66
66
  @else
67
- +legacy-background-image(linear-gradient(top bottom, $color1, $color2), $color1)
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(left right, $color1, $color2), $color1, $color2)
71
+ +legacy-background-image(linear-gradient(color-stops($color1, $color2), left), $color1, $color2)
72
72
  @else
73
- +legacy-background-image(linear-gradient(left right, $color1, $color2), $color1)
73
+ +legacy-background-image(linear-gradient(color-stops($color1, $color2), left), $color1)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{semantic-mixins}
3
- s.version = "0.1.2.2"
3
+ s.version = "0.1.2.3"
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.2.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-19 00:00:00.000000000 Z
14
+ date: 2012-11-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails