dropcloth 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjgyNjZjZTM2M2Y0NjM4NGU5NmU0MTNjMWY3NGQyM2ZkY2NhMDM1NA==
4
+ OTk2ZDJkYmI2NDdhNzM2MzI3ZmUxMDkyZGU5NTg4MTc2MjU0MTUxOA==
5
5
  data.tar.gz: !binary |-
6
- MjUwMjllZGI2NWY5NTRiZjkzYTIxZGU1NzNkMWEzOWNhNWEzMjIyZQ==
6
+ MmUyNzEwZGIxYjg0NzQ4ZTNjNDNkN2Q0MDUyMWU2OTJlN2EzMTNiYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2I5MGM0ZWI0N2IzYmE2Y2ZhMWNhZDRhNzQwZmRmMTE0NWIzYjViMDk4NmU4
10
- MTZlYjdmMzNiZTE2M2M5MjY1NjQ0YmMzNTFmNThhOTM5OWQ3NDQ5Zjk5ZDdh
11
- ODViMGFmMzViZDg1MDAyZWNjZTIyOGI5MTc3MDFlMGQ3NzBlMmM=
9
+ ZDM2ZjkzOTk3NzdiN2QyNzEwZjJmYWU0NGFhODdiMWU1NTQ4OGFmMzhjMGVh
10
+ NGRhOWUxMTY3Yzc1NDNhMDZiM2EzMjQ5MTU0MzEyYjEyOGY3MDY5NjkwODE0
11
+ YzhjMDgxZDg4YjEyYTJlZWYxZGY0MTU5OTBmYWM4ZDhjZDllZDY=
12
12
  data.tar.gz: !binary |-
13
- M2E2MThiOWI5NThlYTg0ZGZiZjA0ZDk4ODdkZDZlMzQ1NDY0MDc0MjdiNjU0
14
- N2U0ZDRlOWE0YjEwMWE4NzVkZGFjOWIzMzc3NDA3ZGVmN2IwNjJkM2JhOWVm
15
- ZjA0NGY0ZTE5MGRkODdkZjA2MDZjMTc3NWU2OTQ0NjJkMTRjNTM=
13
+ OWIyOTJkMDYxZDFhMmEyNzQ0ZGI5MjI0YTUwOGU4OWRmYmFkMzEzYTQzNjYz
14
+ YzM3YzZkMGE5YTA4ZWQxNDUxMzUyMDE5YzdlZGVmNDlhMTQ5MDY3NDM5NzJi
15
+ N2NkYTAyNTZmM2Q5ZGZhYmI4ZTVmN2ZhZTRjNWRkZjllM2MxZmM=
data/README.md CHANGED
@@ -80,6 +80,13 @@ Sass Mixins & Placeholders
80
80
  * *@requires* compass/css3
81
81
 
82
82
 
83
+ ### @extend %fullcolor;
84
+
85
+ * Removes effects added by %grayscale.
86
+
87
+ * *@requires* compass/css3
88
+
89
+
83
90
  ### @extend %element-invisible;
84
91
 
85
92
  * Hides an element the way Drupal does a la .element-invisble.
data/dropcloth.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.homepage = 'https://github.com/kaidjohnson/dropcloth'
10
10
  s.rubyforge_project =
11
11
 
12
- s.version = '0.1.7'
12
+ s.version = '0.1.8'
13
13
  s.date = '2013-10-20'
14
14
  s.license = 'GPL-2'
15
15
 
@@ -1,4 +1,4 @@
1
- // Hover shortcut
1
+ // Hover shortcut.
2
2
  @mixin onhover{
3
3
  &.hover,
4
4
  &:hover,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
 
10
- // Style placeholders
10
+ // Style placeholders.
11
11
  @mixin placeholder($opacity: 1) {
12
12
  &.placeholder { @include opacity($opacity); @content; }
13
13
  &:-ms-input-placeholder { @include opacity($opacity); @content; }
@@ -16,7 +16,7 @@
16
16
  &::-webkit-input-placeholder { @include opacity($opacity); @content; }
17
17
  }
18
18
 
19
- // Style ::selection
19
+ // Style ::selection.
20
20
  @mixin selection{
21
21
  ::selection{ @content; }
22
22
  ::-moz-selection{ @content; }
@@ -29,7 +29,7 @@
29
29
  }
30
30
  }
31
31
 
32
- // Standard Links
32
+ // Standard Links.
33
33
  %stdlink{
34
34
  text-decoration: underline;
35
35
  @include onhover{
@@ -37,7 +37,7 @@
37
37
  }
38
38
  }
39
39
 
40
- // Reverse Links
40
+ // Reverse Links.
41
41
  %revlink{
42
42
  text-decoration: none;
43
43
  @include onhover{
@@ -45,13 +45,19 @@
45
45
  }
46
46
  }
47
47
 
48
- // More x-browser grayscale filter
48
+ // More x-browser grayscale filter.
49
49
  %grayscale {
50
50
  @include filter(grayscale(1));
51
51
  filter: gray; /* IE6-9 */
52
52
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
53
53
  }
54
54
 
55
+ // Undo the grayscale filter.
56
+ %fullcolor {
57
+ @include filter(grayscale(0));
58
+ filter: none;
59
+ }
60
+
55
61
  // Hides an element from view, the Drupal way.
56
62
  %element-invisible {
57
63
  position: absolute !important;
@@ -80,7 +86,7 @@
80
86
  }
81
87
  }
82
88
 
83
- // Links within a container
89
+ // Links within a container.
84
90
  @mixin linkify($rev: false) {
85
91
  a{
86
92
  @if $rev == true {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dropcloth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kai Johnson
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubyforge_project: 0.1.7
79
+ rubyforge_project: 0.1.8
80
80
  rubygems_version: 2.1.5
81
81
  signing_key:
82
82
  specification_version: 4