semantic-mixins 0.1.9 → 0.2.0

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: ac3e7151863c0286fed1cf79a27f31b710a7231d
4
- data.tar.gz: 7d2567a7fea8ec9a326fddb0839bb4d51f090506
3
+ metadata.gz: 9989c1220960bb0f62c7f84726ccd31b526469bb
4
+ data.tar.gz: 2f4291c509e8c4364b4ce2ee7ae7d2fb1f4999cd
5
5
  SHA512:
6
- metadata.gz: c0274ad6ca26b4e5899772c8cf65cb245d65e96bcb65d5196108b483e48b7ee35a8463e2d3dd8e3bf16c435308c22057c45d6ee881761e6edc3500fbcfe4ba24
7
- data.tar.gz: 3bb178f280637bb9f21c7ad0495d78d5d2a07c14b379bd747f0dd7c4d82af3091b378dbc039b39d281582a5559181da760c64b40a24907b937527c77f3a17642
6
+ metadata.gz: 3d15622594676dd731bf41faa707acdc2789ddc315535f524c51b662c0072a8ec125abafd7a88dff3a9fd24f2b97b1cf01382b67495c2851dd25e5ad35518411
7
+ data.tar.gz: b76bef40690f117ad976be83c4f7ea1565751dd4a8c89495f6ad4328bccbc1f34df7943a5366e3954905eb7aa6ec656a703d51f2611e8a739330489f1308b110
@@ -20,12 +20,25 @@
20
20
  +boilerplate-image-replace
21
21
  @else
22
22
  +hide-text
23
+ +image-block($img)
24
+
25
+ = image-block($img)
23
26
  display: block
24
27
  background-repeat: no-repeat
25
28
  height: image-height($img)
26
29
  width: image-width($img)
27
30
  background-image: image-url($img)
28
31
 
32
+ = prepend-image($img, $absolute: true)
33
+ +decorative-content(before, $absolute)
34
+ +image-block($img)
35
+ @content
36
+
37
+ = append-image($img, $absolute: true)
38
+ +decorative-content(after, $absolute)
39
+ +image-block($img)
40
+ @content
41
+
29
42
  // Don't use this technique if you are stylizing an pseudo element (e.g. decorative-content)
30
43
  = boilerplate-image-replace
31
44
  background-color: transparent
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{semantic-mixins}
3
- s.version = "0.1.9"
3
+ s.version = "0.2.0"
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.9
4
+ version: 0.2.0
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-26 00:00:00.000000000 Z
13
+ date: 2013-04-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails